fixed missing files/content

This commit is contained in:
Ricardo Knoop
2025-02-15 11:03:51 +01:00
parent e907da4b2d
commit f62fd19482
4 changed files with 118 additions and 4 deletions

View File

@@ -1,13 +1,14 @@
//comment out if using a stand alone tool
nmap = function(target_ip)
//uncomment is not using as import.
//uncomment if not using as import.
//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 exit(target_ip + " is not a valid ip")
if nslookup(target_ip) == "Not found" then
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