2 Commits

Author SHA1 Message Date
69512ba605 Update install.sh
Fixed password comparison
2023-06-26 14:00:12 +03:00
0dafbf63a2 Update requirements.txt (#139)
Use only fixed versions for dependencies
2023-06-26 13:59:03 +03:00
2 changed files with 16 additions and 16 deletions

View File

@ -1,17 +1,17 @@
pymisp==2.4.165.1
sqlalchemy==1.4.48
ipwhois
pydig
netaddr
pyyaml
flask
flask_httpauth
pyjwt
psutil
pyudev
wifi
qrcode
netifaces
weasyprint
python-whois
six
ipwhois==1.2.0
netaddr==0.8.0
flask==1.1.2
flask_httpauth==4.8.0
pyjwt==1.7.1
psutil==5.8.0
pydig==0.4.0
pyudev==0.24.0
pyyaml==5.3.1
wifi==0.3.8
qrcode==7.3.1
netifaces==0.11.0
weasyprint==59.0
python-whois==0.8.0
six==1.16.0

View File

@ -69,7 +69,7 @@ set_credentials() {
read -s password2
echo ""
if [ $password1 = $password2 ]; then
if [ "$password1" == "$password2" ]; then
password=$(echo -n "$password1" | sha256sum | cut -d" " -f1)
sed -i "s/userlogin/$login/g" /usr/share/tinycheck/config.yaml
sed -i "s/userpassword/$password/g" /usr/share/tinycheck/config.yaml