mirror of
https://github.com/k4m4/kickthemout.git
synced 2024-11-25 22:44:25 +01:00
Update kickthemout.py
This commit is contained in:
parent
5881fe106f
commit
47e21e236b
@ -63,7 +63,7 @@ def regenOnlineIPs():
|
|||||||
defaultGatewayMac = host[1]
|
defaultGatewayMac = host[1]
|
||||||
|
|
||||||
|
|
||||||
def kickoneoff():
|
def kickoneoff(): # TODO: do not allow only one device!!
|
||||||
os.system("clear||cls")
|
os.system("clear||cls")
|
||||||
|
|
||||||
print("\n{0}kickONEOff{1} selected...{2}\n").format(RED, GREEN, END)
|
print("\n{0}kickONEOff{1} selected...{2}\n").format(RED, GREEN, END)
|
||||||
@ -111,7 +111,7 @@ def kickoneoff():
|
|||||||
spoof.sendPacket(defaultGatewayMac, defaultGatewayIP, one_target_ip, one_target_mac)
|
spoof.sendPacket(defaultGatewayMac, defaultGatewayIP, one_target_ip, one_target_mac)
|
||||||
rearp = rearp + 1
|
rearp = rearp + 1
|
||||||
time.sleep(0.5)
|
time.sleep(0.5)
|
||||||
print("{0}Re-arped{1} target.{2}").format(RED, GREEN, END)
|
print("{0}Re-arped{1} target successfully.{2}").format(RED, GREEN, END)
|
||||||
|
|
||||||
|
|
||||||
def kicksomeoff():
|
def kicksomeoff():
|
||||||
@ -173,7 +173,7 @@ def kicksomeoff():
|
|||||||
spoof.sendPacket(defaultGatewayMac, defaultGatewayIP, host[0], host[1])
|
spoof.sendPacket(defaultGatewayMac, defaultGatewayIP, host[0], host[1])
|
||||||
rearp = rearp + 1
|
rearp = rearp + 1
|
||||||
time.sleep(0.5)
|
time.sleep(0.5)
|
||||||
print("{0}Re-arped{1} targets.{2}").format(RED, GREEN, END)
|
print("{0}Re-arped{1} targets successfully.{2}").format(RED, GREEN, END)
|
||||||
|
|
||||||
def kickalloff():
|
def kickalloff():
|
||||||
os.system("clear||cls")
|
os.system("clear||cls")
|
||||||
@ -213,7 +213,7 @@ def kickalloff():
|
|||||||
spoof.sendPacket(defaultGatewayMac, defaultGatewayIP, host[0], host[1])
|
spoof.sendPacket(defaultGatewayMac, defaultGatewayIP, host[0], host[1])
|
||||||
rearp = rearp + 1
|
rearp = rearp + 1
|
||||||
time.sleep(0.5)
|
time.sleep(0.5)
|
||||||
print("{0}Re-arped{1} targets.{2}").format(RED, GREEN, END)
|
print("{0}Re-arped{1} targets successfully.{2}").format(RED, GREEN, END)
|
||||||
|
|
||||||
|
|
||||||
def getDefaultInterface():
|
def getDefaultInterface():
|
||||||
|
Loading…
Reference in New Issue
Block a user