Mergded database function. Scanner now function. nmap added to util. Commands.src created.
This commit is contained in:
@@ -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])
|
||||
Reference in New Issue
Block a user