mirror of
https://github.com/k4m4/kickthemout.git
synced 2024-11-22 04:54:26 +01:00
minor fixes
This commit is contained in:
parent
271f2af93e
commit
93cd437f15
@ -101,7 +101,7 @@ def kickoneoff(): # TODO: do not allow only one device!!
|
||||
try:
|
||||
while True:
|
||||
spoof.sendPacket(defaultInterfaceMac, defaultGatewayIP, one_target_ip, one_target_mac)
|
||||
time.sleep(15)
|
||||
time.sleep(10)
|
||||
except KeyboardInterrupt:
|
||||
print("\n{0}Re-arping{1} target...{2}").format(RED, GREEN, END)
|
||||
reArp = 1
|
||||
@ -160,7 +160,7 @@ def kicksomeoff():
|
||||
for host in hostsList:
|
||||
if host[0] == ip:
|
||||
spoof.sendPacket(defaultInterfaceMac, defaultGatewayIP, host[0], host[1])
|
||||
time.sleep(15)
|
||||
time.sleep(10)
|
||||
except KeyboardInterrupt:
|
||||
print("\n{0}Re-arping{1} targets...{2}").format(RED, GREEN, END)
|
||||
reArp = 1
|
||||
@ -189,8 +189,6 @@ def kickalloff():
|
||||
vendor = resolveMac(mac)
|
||||
print(str(" {0}"+ str(onlineIPs[i]) + "{1}\t" + vendor + "{2}").format(RED, GREEN, END))
|
||||
|
||||
print("\n{0}Targets: {1}" + ', '.join(onlineIPs)).format(GREEN, END) # {TESTING}
|
||||
|
||||
print("\n{0}Spoofing started... {1}\n").format(GREEN, END)
|
||||
try:
|
||||
reScan = 0
|
||||
@ -202,7 +200,7 @@ def kickalloff():
|
||||
if reScan == 4:
|
||||
reScan = 0
|
||||
scanNetwork()
|
||||
time.sleep(15)
|
||||
time.sleep(10)
|
||||
except KeyboardInterrupt:
|
||||
print("\n{0}Re-arping{1} targets...{2}").format(RED, GREEN, END)
|
||||
reArp = 1
|
||||
|
Loading…
Reference in New Issue
Block a user