mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-27 04:05:58 +00:00
Minor patches related to the #1206
This commit is contained in:
parent
91bc02e3ba
commit
e8f87bfa41
3 changed files with 8 additions and 6 deletions
|
|
@ -599,7 +599,7 @@ class Connect(object):
|
|||
warnMsg += "from the target URL"
|
||||
elif "Handshake status" in tbMsg:
|
||||
status = re.search("Handshake status ([\d]{3})", tbMsg)
|
||||
errMsg = "websocket handshake status %s" % status.group(1) if status else 'unknown'
|
||||
errMsg = "websocket handshake status %s" % status.group(1) if status else "unknown"
|
||||
raise SqlmapConnectionException(errMsg)
|
||||
else:
|
||||
warnMsg = "unable to connect to the target URL"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue