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:
32
scanner/database_export.src
Normal file
32
scanner/database_export.src
Normal file
@@ -0,0 +1,32 @@
|
||||
import_code("/dev/scanner/libbindb.src")
|
||||
import_code("/dev/scanner/database.src")
|
||||
|
||||
export = "/database/export"
|
||||
|
||||
computer = get_shell.host_computer
|
||||
|
||||
file = computer.File(export + "/export.txt")
|
||||
if(file) then file.delete
|
||||
|
||||
kernel = myDB.fetch("kernel_router.so")
|
||||
ssh = myDB.fetch("libssh.so")
|
||||
ftp = myDB.fetch("libftp.so")
|
||||
sql = myDB.fetch("libsql.so")
|
||||
smtp = myDB.fetch("libsmtp.so")
|
||||
http = myDB.fetch("libhttp.so")
|
||||
cam = myDB.fetch("libcam.so")
|
||||
repo = myDB.fetch("librepository.so")
|
||||
|
||||
touch(computer,export,"export.txt")
|
||||
file = computer.File(export + "/export.txt")
|
||||
|
||||
|
||||
|
||||
file.set_content(file.get_content() + "kernel: " + kernel + char(10))
|
||||
file.set_content(file.get_content() + "ssh: " + ssh + char(10))
|
||||
file.set_content(file.get_content() + "ftp: " + ftp + char(10))
|
||||
file.set_content(file.get_content() + "sql: " + sql + char(10))
|
||||
file.set_content(file.get_content() + "smtp: " + smtp + char(10))
|
||||
file.set_content(file.get_content() + "http: " + http + char(10))
|
||||
file.set_content(file.get_content() + "cam: " + cam + char(10))
|
||||
file.set_content(file.get_content() + "repo: " + repo + char(10))
|
||||
Reference in New Issue
Block a user