Skip to content

Commit 614ede9

Browse files
committed
Land rapid7#7168, Improve Meterpreter ps -A experience
2 parents 160c497 + 4c12c2f commit 614ede9

File tree

1 file changed

+1
-1
lines changed
  • lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi

1 file changed

+1
-1
lines changed

lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/sys.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ def cmd_ps(*args)
448448
if val.nil? or val.empty?
449449
return false
450450
end
451-
searched_procs << proc if proc["arch"] == val
451+
searched_procs << proc if proc["arch"] == (val == 'x64' ? 'x86_64' : val)
452452
end
453453
processes = searched_procs
454454
when "-s"

0 commit comments

Comments
 (0)