first commit

This commit is contained in:
2026-05-19 20:10:37 +02:00
commit 4813376d59
10 changed files with 354 additions and 0 deletions

21
source/rscan.src Normal file
View File

@@ -0,0 +1,21 @@
if params.len < 2 or params[0] == "-h" or params[0] == "--help" then
current_program = get_shell.host_computer.File(program_path)
exit("Usage: "+current_program.name+" <remote ip> [remote port]")
end if
mx = include_lib("/lib/metaxploit.so")
ip = params[0]
port = params[1].to_int
if port == 0 then
sess = mx.net_use(ip)
else
sess = mx.net_use(ip, port)
end if
if not sess then
exit("Unable to establish session")
end if
lib = sess.dump_lib
adds = mx.scan(lib)
for add in adds
print("Address: " + add)
print(mx.scan_address(lib, add))
end for