Untitled
unknown
plain_text
2 years ago
5.8 kB
3
Indexable
// NIA - NETWORK INTRUSION ALPHA: BEGINNING OF AUTOMATION // Concept/Usage - This tool is designed to list and attack local networks near the user. Any unauthorized usage of this tool is solely by the discretion of the user. // // VARIABLES HERE: // ========================================================================= graphic1 = "___=================================================================================================================================================___" graphic2 = " =================================" graphic3 = "___====================================___" graphic4 = "___=================================================================================================================___" graphic5 = " -------------------------------- " computer = get_shell.host_computer networks = computer.wifi_networks("wlan0") info = char(10) + "BSSID: " + "PWR: " + "ESSID: " // ========================================================================= // INTRO FUNCTION HERE: intro = function() clear_screen print(graphic1) print(" __ __ ______ ______ ______ ______ ______ ________ ______ ______ __") print(" | \ | \ | \ / \ / \| \/ \ | \/ \ / \| \") print(" | $$\ | $$ \$$$$$$ | $$$$$$\ | $$$$$$\\$$$$$| $$$$$$\ \$$$$$$$| $$$$$$| $$$$$$| $$") print(" | $$$\| $$ | $$ | $$__| $$ ______ | $$__| $$ | $$ | $$ | $$ | $$ | $$ | $| $$ | $| $$") print(" | $$$$\ $$ | $$ | $$ $$ | \ | $$ $$ | $$ | $$ | $$ | $$ | $$ | $| $$ | $| $$") print(" | $$\$$ $$ | $$ | $$$$$$$$ \$$$$$$ | $$$$$$$$ | $$ | $$ | $$ | $$ | $$ | $| $$ | $| $$") print(" | $$ \$$$$ _| $$_ | $$ | $$ | $$ | $$_| $$_| $$__/ $$ | $$ | $$__/ $| $$__/ $| $$_____") print(" | $$ \$$$ | $$ \ | $$ | $$ | $$ | $| $$ \\$$ $$ | $$ \$$ $$\$$ $| $$ \") print(" \$$ \$$ \$$$$$$ \$$ \$$ \$$ \$$\$$$$$$ \$$$$$$ \$$ \$$$$$$ \$$$$$$ \$$$$$$$$") print(graphic1) end function // MENU OPTIONS FUNCTION HERE: options = function() print(graphic2) print(" NIA - AIO TOOL:") print(graphic2) print(" 0. MONITOR MODE OPTIONS: ") print(" 1. LOAD NETWORKS & AIR-TOOLS: ") end function // WIFI LIST - (FOR CHOICE 1:) (NEEDS TO BE LOADED FIRST.) wifi = function() clear_screen print(" POWERED BY NIA: ") print("=====================================") print(" WIFI - NETWORKS: ") print("=====================================") end function // OPTION 1 FUNCTION (2 Parts) HERE: net = function() for network in networks info = info + char(10) + network end for print(format_columns(info)) end function airePlay = function() clear_screen + wifi + char(10) + net + print(char(10) + graphic4 + char(10) + " *ATTENTION: You'll need to restart NIA if you wish to continue using this program after you exit aireplay!" + char(10) + graphic4 + char(10)) bssid = user_input("BSSID: ") essid = user_input("ESSID: ") print(char(10) + graphic4 + char(10) + " *PRESS CTRL + C WHEN ACKs REACHES 7000 or MORE: " + char(10) + graphic4 + char(10)) + get_shell.launch("/bin/aireplay", "-b " + bssid + " -e " + essid) end function airCrack = function () get_shell.launch("/bin/aircrack", "file.cap") end function // CHOICE 1 - PART 2 HERE (FOR LOADING AIREPLAY, AIRCRACK AND RETURNING TO MENU.) (NEEDS TO BE LOADED FIRST.) air = function() input4 = user_input(char(10) + graphic5 + char(10) + " OPTIONS: " + char(10) + graphic5 + char(10) + "1. Aireplay: " + char(10) + "2. Aircrack: " + char(10) + "3. Return to menu: " + char(10) + char(10) + "Select an option: ") + char(10) if input4 == "1" then airePlay end if if input4 == "2" then airCrack end if end function // OPTION 0 FUNCTION HERE: choice0 = function() clear_screen + get_shell.launch("/bin/airmon") + char(10) + print("1. STOP MONITOR MODE:" + char(10) + "2. START MONITOR MODE:" + char(10) + "3. RELOAD MENU:" + char(10)) input2 = user_input("Select an option: ") if input2 == "1" then get_shell.launch("/bin/airmon", "stop wlan0") + clear_screen + get_shell.launch("/bin/airmon") + print(char(10) + "RETURNING TO MENU IN 5 SECONDS.") wait(5) + menu else if input2 == "2" then get_shell.launch("/bin/airmon", "start wlan0") + clear_screen + get_shell.launch("/bin/airmon") + print(char(10) + "RETURNING TO MENU IN 5 SECONDS.") wait(5) + menu else if input2 == "3" then menu end if end function choice1 = function() wifi + char(10) + net + char(10) + char(10) + air end function // MAIN MENU FUNCTION HERE: menu = function() intro options print(char(10)) input = user_input("Select a option: ") if input == "0" then choice0 end if if input == "1" then choice1 end if end function // BEGINNING OF SCRIPT HERE: menu
Editor is loading...