You've already forked greyhack
fixed privesc no arguments print message, added library name in loop
This commit is contained in:
@@ -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