From 2bd93ae72c33be1588f58baa234954660813f85d Mon Sep 17 00:00:00 2001 From: sjanusz-r7 Date: Mon, 22 Jan 2024 16:53:32 +0000 Subject: [PATCH] Use a glob for memory_search PROCESS_NAMES_GLOB --- modules/post/multi/gather/memory_search.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/post/multi/gather/memory_search.rb b/modules/post/multi/gather/memory_search.rb index 18aebd75a758..7f3832fd32da 100644 --- a/modules/post/multi/gather/memory_search.rb +++ b/modules/post/multi/gather/memory_search.rb @@ -37,7 +37,7 @@ def initialize(info = {}) register_options( [ - ::Msf::OptString.new('PROCESS_NAMES_GLOB', [false, 'Glob used to target processes', 'ssh.*']), + ::Msf::OptString.new('PROCESS_NAMES_GLOB', [false, 'Glob used to target processes', 'ssh*']), ::Msf::OptString.new('PROCESS_IDS', [false, 'Comma delimited process ID/IDs to search through']), ::Msf::OptString.new('REGEX', [true, 'Regular expression to search for within memory', 'publickey,password.*']), ::Msf::OptInt.new('MIN_MATCH_LEN', [true, 'The minimum number of bytes to match', 5]),