fixed privesc no arguments print message, added library name in loop
This commit is contained in:
1 parent
be18422a17
commit
0485298af7
1 file changed
+6
-1
+6
-1
@@ -1,4 +1,4 @@
|
||||
if params.len < 1 or params[0] == "-h" or params[0] == "--help" then
|
||||
if params.len > 0 and (params[0] == "-h" or params[0] == "--help") then
|
||||
current_program = get_shell.host_computer.File(program_path)
|
||||
print "Usage: " + current_program.name + " [-h|<library path> [extra]]"
|
||||
print " -h show this help message"
|
||||
@@ -168,6 +168,11 @@ end function
|
||||
|
||||
user_shell = null
|
||||
for item in libs
|
||||
if not target_lib then
|
||||
print "---"
|
||||
print item.name
|
||||
print "---"
|
||||
end if
|
||||
adds = mx.scan(item.lib)
|
||||
if not adds then continue
|
||||
for add in adds
|
||||
|
||||
Reference in new issue
Block a user