added xploit payloads, move things to util folder, tool needs alot of work, scanner cleaned up, bunch of database features

This commit is contained in:
2025-02-16 02:01:53 +01:00
parent f62fd19482
commit 0f35791e01
18 changed files with 599 additions and 59 deletions

22
Util/nmap.src Normal file
View File

@@ -0,0 +1,22 @@
if params.len != 1 or params[0] == "-h" or params[0] == "--help" then exit("<b>Usage: "+program_path.split("/")[-1]+" [ip_address]</b>")
target_ip = params[0]
if not (is_valid_ip(target_ip)) then target_ip = nslookup(target_ip)
if not (is_valid_ip(target_ip)) then
exit("<color=red><b>That domain is not valid.</b></color>")
end if
target_router = get_router(target_ip)
target_ports = target_router.used_ports
column = "<b>Number Type Version IP</b>"
column = column + "\n" + "0" + " " + "kernel_router" + " " + target_router.kernel_version + " " + target_router.local_ip
for port in target_ports
column = column + "\n" + port.port_number + " " + target_router.port_info(port) + " " + port.get_lan_ip
end for
print("\nIP Address : " + target_ip)
print(format_columns(column))