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,12 +1,12 @@
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+" <library path> [library path...]")
exit "Usage: " + current_program.name + " <library path> [library path...]"
end if
mx = include_lib("/lib/metaxploit.so")
for lib_path in params
lib = mx.load(lib_path)
if not lib then
print("Unable to load library "+lib_path)
print "Unable to load library " + lib_path
end if
print("Library "+lib.lib_name+" - "+lib.version)
print "Library " + lib.lib_name + " - " + lib.version
end for