Use the module-defined workspace if specified
git-svn-id: file:///home/svn/framework3/trunk@9676 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
1ab0237591
commit
5cff86cc1e
|
@ -354,7 +354,13 @@ module Exploit::Remote::HttpClient
|
|||
# Check to see if we already have a fingerprint before going out to
|
||||
# the network.
|
||||
if (framework.db.active)
|
||||
s = framework.db.get_service(framework.db.workspace, rhost, 'tcp', rport)
|
||||
|
||||
wspace = framework.db.workspace
|
||||
if datastore['WORKSPACE']
|
||||
wspace = framework.db.find_workspace(datastore['WORKSPACE'])
|
||||
end
|
||||
|
||||
s = framework.db.get_service(wspace, rhost, 'tcp', rport)
|
||||
if (s)
|
||||
return s.info
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue