diff --git a/.DS_Store b/.DS_Store index a1f6037..b99dc7a 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/config_file/humam.conf b/config_file/humam.conf index c14f958..4ee00a0 100644 --- a/config_file/humam.conf +++ b/config_file/humam.conf @@ -2,7 +2,7 @@ Address = 10.10.11.103/24 PrivateKey = qAGUiA1gIa7uvxIUMol0DPYoxp5udMn920qkIT8R0U8= [Peer] -PublicKey = w3qegSSuqFTFrGk4XJaWBSwGDOiqbnnAIR9MzwjYVA8= +PublicKey = iEVq4lvvKFfqjcoYYyNkA0MS8rcSGaDfPwQGN3C7+D0= Endpoint = 45.158.40.162:18900 AllowedIPs= 10.10.11.0/24 PersistentKeepalive = 25 diff --git a/data.py b/data.py new file mode 100644 index 0000000..f762091 --- /dev/null +++ b/data.py @@ -0,0 +1,20 @@ +import sqlite3 + +create = sqlite3.connect("db") +connect = create.cursor() +connect.execute(""" CREATE TABLE IPS + ( + ips text + ) +""") +connect.execute(""" CREATE TABLE USERS +( + users text +) +""") + + +create.commit() +create.close() + + diff --git a/db b/db new file mode 100644 index 0000000..efca662 Binary files /dev/null and b/db differ diff --git a/gen.sh b/gen.sh index 5e33758..28525ac 100755 --- a/gen.sh +++ b/gen.sh @@ -86,7 +86,7 @@ echo -ne '################ (60%)\n' sleep 1 echo "Adding peer......";sleep 2 echo "[Peer]">>$file_name; -echo "PublicKey = w3qegSSuqFTFrGk4XJaWBSwGDOiqbnnAIR9MzwjYVA8=">> $file_name +echo "PublicKey = iEVq4lvvKFfqjcoYYyNkA0MS8rcSGaDfPwQGN3C7+D0=">> $file_name echo "Endpoint = 45.158.40.162:18900">> $file_name if [ $allow -eq 1 ];then