mirror of
https://github.com/k4m4/kickthemout.git
synced 2024-11-22 13:04:25 +01:00
Update kickthemout.py, scan.py, spoof.py
This commit is contained in:
parent
89e3943cfa
commit
d89627ab80
@ -60,7 +60,7 @@ def scanNetwork():
|
|||||||
regenOnlineIPs()
|
regenOnlineIPs()
|
||||||
|
|
||||||
|
|
||||||
def kickoneoff(): # TODO: do not allow only one device!!
|
def kickoneoff():
|
||||||
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)
|
||||||
@ -94,7 +94,6 @@ def kickoneoff(): # TODO: do not allow only one device!!
|
|||||||
print("\nIP address is not up. Please try again.")
|
print("\nIP address is not up. Please try again.")
|
||||||
return
|
return
|
||||||
|
|
||||||
# print("\n{0}Target mac => '{1}" + one_target_mac + "{2}'{3}\n").format(GREEN, RED, GREEN, END) # {TESTING}
|
|
||||||
print("\n{0}Target: {1}" + one_target_ip).format(GREEN, END)
|
print("\n{0}Target: {1}" + one_target_ip).format(GREEN, END)
|
||||||
|
|
||||||
print("\n{0}Spoofing started... {1}").format(GREEN, END)
|
print("\n{0}Spoofing started... {1}").format(GREEN, END)
|
||||||
@ -276,13 +275,10 @@ def main():
|
|||||||
raise SystemExit
|
raise SystemExit
|
||||||
elif choice == '1':
|
elif choice == '1':
|
||||||
kickoneoff()
|
kickoneoff()
|
||||||
# EXECUTE kickoneoff FUNCTION (SCAN & PARSE)
|
|
||||||
elif choice == '2':
|
elif choice == '2':
|
||||||
kicksomeoff()
|
kicksomeoff()
|
||||||
# EXECUTE kicksomeoff FUNCTION
|
|
||||||
elif choice == '3':
|
elif choice == '3':
|
||||||
kickalloff()
|
kickalloff()
|
||||||
# EXECUTE kickalloff FUNCTION (FF:FF:FF:FF:FF:FF)
|
|
||||||
elif choice.upper() == 'CLEAR':
|
elif choice.upper() == 'CLEAR':
|
||||||
os.system("clear||cls")
|
os.system("clear||cls")
|
||||||
else:
|
else:
|
||||||
|
4
scan.py
4
scan.py
@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
# -.- coding: utf-8 -.-
|
# -.- coding: utf-8 -.-
|
||||||
# scan.py
|
# scan.py
|
||||||
# author: Benedikt Waldvogel
|
# author: Benedikt Waldvogel (MIT Licensed)
|
||||||
# edited by: k4m4 & xdavidhu
|
# edited by: k4m4 & xdavidhu
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
@ -61,4 +61,4 @@ def scanNetwork():
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
if net:
|
if net:
|
||||||
return scan_and_print_neighbors(net, interface)
|
return scan_and_print_neighbors(net, interface)
|
Loading…
Reference in New Issue
Block a user