mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 19:13:48 +03:00
minor bug fix
This commit is contained in:
parent
2842c13d75
commit
3cd8f47686
|
@ -15,7 +15,7 @@ import urllib2
|
|||
import urlparse
|
||||
import traceback
|
||||
|
||||
from extra.socks.socks import GeneralProxyError
|
||||
from extra.socks.socks import ProxyError
|
||||
from extra.multipart import multipartpost
|
||||
|
||||
from lib.core.agent import agent
|
||||
|
@ -452,7 +452,7 @@ class Connect:
|
|||
processResponse(page, responseHeaders)
|
||||
return page, responseHeaders, code
|
||||
|
||||
except (urllib2.URLError, socket.error, socket.timeout, httplib.BadStatusLine, httplib.IncompleteRead, GeneralProxyError), e:
|
||||
except (urllib2.URLError, socket.error, socket.timeout, httplib.BadStatusLine, httplib.IncompleteRead, ProxyError), e:
|
||||
tbMsg = traceback.format_exc()
|
||||
|
||||
if "no host given" in tbMsg:
|
||||
|
|
Loading…
Reference in New Issue
Block a user