Mergded database function. Scanner now function. nmap added to util. Commands.src created.

This commit is contained in:
2025-02-21 19:02:58 +01:00
parent 5147628ecd
commit 13299b04bb
9 changed files with 146 additions and 17 deletions

View File

@@ -1,8 +1,6 @@
// import Database/functions
// comment out if importing
import_code("/dev/scanner/libbindb.src")
import_code("/dev/scanner/database.src")
import_code("/dev/scanner/util_import.src")
// import_code("/dev/scanner/libbindb.src")
// import_code("/dev/scanner/database.src")
// import_code("/dev/scanner/util_import.src")
// Trying to figure out what privileges the connected user has by checking what permissions are avaiable on commen files.
// TODO: Needs confirming, initial tests seem correct.
@@ -61,6 +59,7 @@ scanner = function(target_ip)
metaxploit = mxploit()
print(target_ip)
target_ip = webToIp(target_ip)
if(target_ip == 1) then exit("Invalid IP")
@@ -83,7 +82,6 @@ scanner = function(target_ip)
end function
//comment out if using as import
if params.len == 0 then exit("<b>Usage: </b>scanner [IP/WEB_Address]")
myDB = database()
scanner(params[0])
//if params.len == 0 then exit("<b>Usage: </b>scanner [IP/WEB_Address]")
//myDB = database()
//scanner(params[0])