4 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
bfbb76c55a Update requirements.txt (#136)
Duplicated
2023-06-26 13:44:53 +03:00
e2a040798a Ablesov/fix tinycheck installation (#135)
* Update requirements.txt

Fix:
pymisp - use older version to keep code compatibility
sqlalchemy - use 1.4 latest build (api 2.0 incompatible with codebase)

M2Crypto - removed (not used)
pyOpenSSL - removed (not used)

* Update scheme.sql

pymisp warning fix

* Update main.py

Unused reference to pyOpenSSL removed
2023-05-30 15:20:09 +03:00
2 changed files with 16 additions and 17 deletions

View File

@ -1,18 +1,17 @@
pymisp==2.4.165.1
sqlalchemy==1.4.48
ipwhois
pydig
pymisp
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