This commit is contained in:
Rich
2021-07-10 11:19:22 +01:00
parent 60fac4f814
commit 6c02604ed5
9 changed files with 246 additions and 114 deletions

View File

@@ -6,7 +6,7 @@ from flask_login import current_user, login_required, login_user, logout_user
from app import app
from app.forms import LoginForm, WPAForm
from app.models import User
from app.models import User, Passwords
CMD_SCAN = "sudo nmcli -t -f SSID,SIGNAL,IN-USE,SECURITY -e yes -m tab device wifi list ifname wlxf81a6719febb --rescan yes"
CMD_JOIN = "sudo nmcli device wifi connect *SSID* ifname wlxf81a6719febb"