Update kickthemout.py

This commit is contained in:
k4m4 2017-01-03 00:45:30 +02:00
parent b29631b9a4
commit 89e3943cfa

View File

@ -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.'