minor fixes

This commit is contained in:
David Schütz 2017-01-02 23:30:16 +01:00 committed by GitHub
parent 271f2af93e
commit 93cd437f15
1 changed files with 3 additions and 5 deletions

View File

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