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:
@@ -19,6 +19,7 @@ get_bank = function(target_ip, local_ip, mem, key)
|
||||
|
||||
if(typeof(result) == "shell") then
|
||||
result = typeObject.host_computer
|
||||
end if
|
||||
|
||||
if(typeof(result) != "computer") then exit("Error: expected computer, obtained " + typeof(result))
|
||||
|
||||
|
||||
@@ -1,9 +1,5 @@
|
||||
//comment out if using a stand alone tool
|
||||
nmap = function(target_ip)
|
||||
|
||||
//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 target_ip = nslookup(target_ip)
|
||||
@@ -29,5 +25,4 @@ nmap = function(target_ip)
|
||||
|
||||
return router_data
|
||||
|
||||
//comment out if using a stand alone tool
|
||||
end function
|
||||
8
tool/randomIP.src
Normal file
8
tool/randomIP.src
Normal file
@@ -0,0 +1,8 @@
|
||||
randomIp = function()
|
||||
while true
|
||||
ip = floor((rnd * 255) + 1) + "." + floor((rnd * 255) + 1) + "." + floor((rnd * 255) + 1) + "." + floor((rnd * 255) + 1)
|
||||
if not is_valid_ip(ip) then continue
|
||||
if is_lan_ip(ip) then continue
|
||||
return ip
|
||||
end while
|
||||
end function
|
||||
Reference in New Issue
Block a user