Untitled

 avatar
unknown
plain_text
2 years ago
4.4 kB
4
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: 
// =========================================================================
computer = get_shell.host_computer
networks = computer.wifi_networks("wlan0")
info = "BSSID PWR ESSID"
// =========================================================================

// INTRO FUNCTION HERE:
intro = function()
clear_screen + wait
print "PLEASE RUN THE TERMINAL IN-FULLSCREEN."
wait(6)
clear_screen
print("---=================================================================================================================================================---")
print("            __     __        ______         ______                        ______  ______  ______         ________  ______   ______  __")      
print("            |  \  |  \      |      \       /      \                      /      \|      \/      \       |        \/      \ /      \|  \")      
print("            | $$\ | $$       \$$$$$$      |  $$$$$$\                    |  $$$$$$\\$$$$$|  $$$$$$\       \$$$$$$$|  $$$$$$|  $$$$$$| $$")      
print("            | $$$\| $$        | $$        | $$__| $$       ______       | $$__| $$ | $$ | $$  | $$         | $$  | $$  | $| $$  | $| $$")      
print("            | $$$$\ $$        | $$        | $$    $$      |      \      | $$    $$ | $$ | $$  | $$         | $$  | $$  | $| $$  | $| $$")     
print("            | $$\$$ $$        | $$        | $$$$$$$$       \$$$$$$      | $$$$$$$$ | $$ | $$  | $$         | $$  | $$  | $| $$  | $| $$")      
print("            | $$ \$$$$       _| $$_       | $$  | $$                    | $$  | $$_| $$_| $$__/ $$         | $$  | $$__/ $| $$__/ $| $$_____")
print("            | $$  \$$$      |   $$ \      | $$  | $$                    | $$  | $|   $$ \\$$    $$         | $$   \$$    $$\$$    $| $$     \")
print("             \$$   \$$       \$$$$$$       \$$   \$$                     \$$   \$$\$$$$$$ \$$$$$$           \$$    \$$$$$$  \$$$$$$ \$$$$$$$$")
print("---==================================================================================================================================================---")                                                                                                                                                                                                                                           
end function

// OPTIONS FUNCTION HERE: 
options = function()
print("                                                 =================================")
print("                                                          NIA - AIO TOOL:")
print("                                                 =================================")
print("                                                     0. MONITOR MODE OPTIONS: ")
print("                                                     1. SCAN LOCAL NETWORKS: ")
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")
else if input2 == "2" then
get_shell.launch("/bin/airmon", "start wlan0") + clear_screen + get_shell.launch("/bin/airmon")
else if input2 == "3" then 
menu
end if
end function
	
// OPTION 1 FUNCTION (2 Parts) HERE:
net = function() // CALL BEFORE SO THE SCRIPT KNOWS TO LOAD IT
for network in networks
info = info + char(10) + network
end for
print(format_columns(info))
end function

choice1 = function()
print ("1.Load Network information: " + "2.Return to menu: ")
input3 = user_input("Select an option: ")
if input3 == "1" then
clear_screen + net
else if input3 == "2" then 
menu
end if
end function

// MAIN MENU FUNCTION HERE:
menu = function()
intro
options
print(char(10))
input = user_input("select a option: ")
if input == "0" then
choice0
if input == "1" then
choice1
end if
end if
end function

// BEGINNING OF SCRIPT HERE:
menu
                                                                                  
Editor is loading...