Added initialization of RHOST value prior to calling child check() functions
parent
1362bc9bd1
commit
b0bb5b5806
|
@ -47,6 +47,7 @@ end
|
||||||
|
|
||||||
def check
|
def check
|
||||||
nmod = replicant
|
nmod = replicant
|
||||||
|
nmod.datastore['RHOST'] = @original_rhost
|
||||||
begin
|
begin
|
||||||
nmod.check_host(datastore['RHOST'])
|
nmod.check_host(datastore['RHOST'])
|
||||||
rescue NoMethodError
|
rescue NoMethodError
|
||||||
|
|
Loading…
Reference in New Issue