@ -6,3 +6,4 @@ admin-key.ppk
token.txt
*.zip
output.log
@ -24,5 +24,10 @@ def login(config, user, password, sysid):
else:
return False
fprint(type(output))
if str(output).find("admin") >= 0 or str(output).find("Admin") >= 0:
fprint("Authorized as admin!")
return True
fprint(output)
fprint("Not admin")
Proudly self-hosted by Cole Deck. Fast loading powered by Turbo.