This commit is contained in:
2026-08-23 21:17:51 +02:00
parent 7807cf430c
commit 1a422196eb
8 changed files with 104 additions and 94 deletions

View File

@@ -1,6 +1,6 @@
if params.len < 1 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]")
exit "Usage: " + current_program.name + " <remote ip> [remote port]"
end if
mx = include_lib("/lib/metaxploit.so")
ip = params[0]
@@ -11,11 +11,11 @@ else
sess = mx.net_use(ip, port)
end if
if not sess then
exit("Unable to establish session")
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))
print "Address: " + add
print mx.scan_address(lib, add)
end for