mirror of
https://github.com/k4m4/kickthemout.git
synced 2024-11-25 14:34:23 +01:00
Update kickthemout.py
This commit is contained in:
parent
b29631b9a4
commit
89e3943cfa
@ -84,7 +84,7 @@ def kickoneoff(): # TODO: do not allow only one device!!
|
||||
except KeyboardInterrupt:
|
||||
return
|
||||
except:
|
||||
print("{0}[!] Please enter a number from the list!{1}").format(RED, END)
|
||||
print("\n{0}ERROR: Please enter a number from the list!{1}").format(RED, END)
|
||||
|
||||
one_target_mac = ""
|
||||
for host in hostsList:
|
||||
@ -135,7 +135,7 @@ def kicksomeoff():
|
||||
some_targets = choice.split(",")
|
||||
canBreak = True
|
||||
else:
|
||||
print("\n{0}ERROR:{1} Please select more than 1 devices from the list.{2}\n").format(RED, RED, END)
|
||||
print("\n{0}ERROR: Please select more than 1 devices from the list.{2}\n").format(RED, END)
|
||||
except KeyboardInterrupt:
|
||||
return
|
||||
|
||||
@ -286,7 +286,7 @@ def main():
|
||||
elif choice.upper() == 'CLEAR':
|
||||
os.system("clear||cls")
|
||||
else:
|
||||
print("\n{0}ERROR:{1} Please select a valid option.{2}\n").format(RED, RED, END)
|
||||
print("\n{0}ERROR: Please select a valid option.{2}\n").format(RED, END)
|
||||
|
||||
except KeyboardInterrupt:
|
||||
print('\n\n{0}Thanks for dropping by.'
|
||||
|
Loading…
Reference in New Issue
Block a user