Skip to content

Commit e53e4dd

Browse files
committed
Minor patch
1 parent e519ed2 commit e53e4dd

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

lib/core/option.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2254,9 +2254,6 @@ def _setTorSocksProxySettings():
22542254
socks.wrapmodule(urllib2)
22552255

22562256
def _checkWebSocket():
2257-
infoMsg = "checking for WebSocket"
2258-
logger.debug(infoMsg)
2259-
22602257
if conf.url and (conf.url.startswith("ws:/") or conf.url.startswith("wss:/")):
22612258
try:
22622259
from websocket import ABNF

lib/techniques/error/use.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def _oneShotErrorUse(expression, field=None, chunkTest=False):
7575
testQuery = "SELECT %s('%s',%d)" % ("REPEAT" if Backend.isDbms(DBMS.MYSQL) else "REPLICATE", testChar, current)
7676
result = unArrayizeValue(_oneShotErrorUse(testQuery, chunkTest=True))
7777

78-
if result and testChar in result:
78+
if (result or "").startswith(testChar):
7979
if result == testChar * current:
8080
kb.errorChunkLength = current
8181
break

0 commit comments

Comments
 (0)