mirror of
https://github.com/k4m4/kickthemout.git
synced 2024-11-22 21:14:25 +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:
|
except KeyboardInterrupt:
|
||||||
return
|
return
|
||||||
except:
|
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 = ""
|
one_target_mac = ""
|
||||||
for host in hostsList:
|
for host in hostsList:
|
||||||
@ -135,7 +135,7 @@ def kicksomeoff():
|
|||||||
some_targets = choice.split(",")
|
some_targets = choice.split(",")
|
||||||
canBreak = True
|
canBreak = True
|
||||||
else:
|
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:
|
except KeyboardInterrupt:
|
||||||
return
|
return
|
||||||
|
|
||||||
@ -286,7 +286,7 @@ def main():
|
|||||||
elif choice.upper() == 'CLEAR':
|
elif choice.upper() == 'CLEAR':
|
||||||
os.system("clear||cls")
|
os.system("clear||cls")
|
||||||
else:
|
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:
|
except KeyboardInterrupt:
|
||||||
print('\n\n{0}Thanks for dropping by.'
|
print('\n\n{0}Thanks for dropping by.'
|
||||||
|
Loading…
Reference in New Issue
Block a user