From 0485298af7a8da092769780138199b679288c4c9 Mon Sep 17 00:00:00 2001 From: Bryan Joshua Pedini Date: Sun, 23 Aug 2026 23:47:14 +0200 Subject: [PATCH] fixed privesc no arguments print message, added library name in loop --- source/privesc.src | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/source/privesc.src b/source/privesc.src index 096f11f..473183d 100644 --- a/source/privesc.src +++ b/source/privesc.src @@ -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| [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