From b0bb5b5806847852a2f631b44a57adc4f123a35f Mon Sep 17 00:00:00 2001 From: Brendan Date: Tue, 20 Sep 2016 18:18:52 -0500 Subject: [PATCH] Added initialization of RHOST value prior to calling child check() functions --- lib/msf/core/auxiliary/scanner.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/msf/core/auxiliary/scanner.rb b/lib/msf/core/auxiliary/scanner.rb index 18612cb926..30caf33745 100644 --- a/lib/msf/core/auxiliary/scanner.rb +++ b/lib/msf/core/auxiliary/scanner.rb @@ -47,6 +47,7 @@ end def check nmod = replicant + nmod.datastore['RHOST'] = @original_rhost begin nmod.check_host(datastore['RHOST']) rescue NoMethodError