mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-23 15:54:24 +03:00
Minor patch
This commit is contained in:
parent
e519ed2e18
commit
e53e4dddf1
|
@ -2254,9 +2254,6 @@ def _setTorSocksProxySettings():
|
|||
socks.wrapmodule(urllib2)
|
||||
|
||||
def _checkWebSocket():
|
||||
infoMsg = "checking for WebSocket"
|
||||
logger.debug(infoMsg)
|
||||
|
||||
if conf.url and (conf.url.startswith("ws:/") or conf.url.startswith("wss:/")):
|
||||
try:
|
||||
from websocket import ABNF
|
||||
|
|
|
@ -75,7 +75,7 @@ def _oneShotErrorUse(expression, field=None, chunkTest=False):
|
|||
testQuery = "SELECT %s('%s',%d)" % ("REPEAT" if Backend.isDbms(DBMS.MYSQL) else "REPLICATE", testChar, current)
|
||||
result = unArrayizeValue(_oneShotErrorUse(testQuery, chunkTest=True))
|
||||
|
||||
if result and testChar in result:
|
||||
if (result or "").startswith(testChar):
|
||||
if result == testChar * current:
|
||||
kb.errorChunkLength = current
|
||||
break
|
||||
|
|
Loading…
Reference in New Issue
Block a user