Dont default to global, breaks in-module threading of send_request_cgi

git-svn-id: file:///home/svn/framework3/trunk@6620 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2009-06-03 05:05:29 +00:00
parent 1e1d8124f0
commit 1c11bbb12d
1 changed files with 3 additions and 4 deletions

View File

@ -110,15 +110,14 @@ module Exploit::Remote::HttpClient
)
# If this connection is global, persist it
# No reason for the socket not to be global and it allows findsock to
# work.
#if (opts['global'])
# Required for findsock on these sockets
if (opts['global'])
if (self.client)
disconnect
end
self.client = nclient
#end
end
return nclient
end