mirror of
https://github.com/k4m4/kickthemout.git
synced 2024-11-22 13:04:25 +01:00
minor fixes
This commit is contained in:
parent
2fd78cde78
commit
6615cc9162
@ -79,13 +79,13 @@ def kickoneoff(): # TODO: do not allow only one device!!
|
|||||||
while not canBreak:
|
while not canBreak:
|
||||||
try:
|
try:
|
||||||
choice = int(raw_input("\nChoose a target: "))
|
choice = int(raw_input("\nChoose a target: "))
|
||||||
|
one_target_ip = onlineIPs[choice]
|
||||||
canBreak = True
|
canBreak = True
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
return
|
return
|
||||||
except:
|
except:
|
||||||
print("{0}[!] Please enter a number!{1}").format(RED, END)
|
print("{0}[!] Please enter a number from the list!{1}").format(RED, END)
|
||||||
|
|
||||||
one_target_ip = onlineIPs[choice]
|
|
||||||
one_target_mac = ""
|
one_target_mac = ""
|
||||||
for host in hostsList:
|
for host in hostsList:
|
||||||
if host[0] == one_target_ip:
|
if host[0] == one_target_ip:
|
||||||
|
Loading…
Reference in New Issue
Block a user