If default-beacontime is wrong return to startup after error

chunking
m0rv4i 2019-02-13 10:19:46 +00:00
parent c75016e506
commit fa3130ded6
1 changed files with 1 additions and 0 deletions

View File

@ -317,6 +317,7 @@ def startup(user, printhelp = ""):
print(Colours.RED) print(Colours.RED)
print("Invalid sleep command, please specify a time such as 50s, 10m or 1h") print("Invalid sleep command, please specify a time such as 50s, 10m or 1h")
print(Colours.GREEN) print(Colours.GREEN)
startup(user)
else: else:
update_item("DefaultSleep", "C2Server", new_sleep) update_item("DefaultSleep", "C2Server", new_sleep)
startup(user, "Updated set-defaultbeacon (Restart C2 Server): %s\r\n" % new_sleep) startup(user, "Updated set-defaultbeacon (Restart C2 Server): %s\r\n" % new_sleep)