mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
minor fix for socks proxy issues
This commit is contained in:
parent
0baf931669
commit
915c206e3d
|
@ -17,6 +17,7 @@ import urlparse
|
|||
import traceback
|
||||
|
||||
from extra.multipart import multipartpost
|
||||
from extra.socks.socks import GeneralProxyError
|
||||
from lib.core.agent import agent
|
||||
from lib.core.common import average
|
||||
from lib.core.common import calculateDeltaSeconds
|
||||
|
@ -361,7 +362,7 @@ class Connect:
|
|||
page = processResponse(page, responseHeaders)
|
||||
return page, responseHeaders
|
||||
|
||||
except (urllib2.URLError, socket.error, socket.timeout, httplib.BadStatusLine, httplib.IncompleteRead), e:
|
||||
except (urllib2.URLError, socket.error, socket.timeout, httplib.BadStatusLine, httplib.IncompleteRead, GeneralProxyError), e:
|
||||
tbMsg = traceback.format_exc()
|
||||
|
||||
if "no host given" in tbMsg:
|
||||
|
|
Loading…
Reference in New Issue
Block a user