Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6bdef1b

Browse files
committed
Minor update
1 parent 8b4367d commit 6bdef1b

4 files changed

Lines changed: 5 additions & 7 deletions

File tree

lib/core/session.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
import re
99

10-
from lib.core.common import aliasToDbmsEnum
1110
from lib.core.common import Backend
1211
from lib.core.common import Format
1312
from lib.core.common import hashDBWrite

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from lib.core.revision import getRevisionNumber
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.0.6.59"
22+
VERSION = "1.0.6.60"
2323
REVISION = getRevisionNumber()
2424
STABLE = VERSION.count('.') <= 2
2525
VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")

lib/request/basic.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -358,10 +358,10 @@ def processResponse(page, responseHeaders):
358358
for match in re.finditer(r"(?si)<form.+?</form>", page):
359359
if re.search(r"(?i)captcha", match.group(0)):
360360
kb.captchaDetected = True
361-
errMsg = "potential CAPTCHA protection mechanism detected"
362-
singleTimeLogMessage(errMsg, logging.ERROR)
361+
warnMsg = "potential CAPTCHA protection mechanism detected"
362+
singleTimeWarnMessage(warnMsg)
363363
break
364364

365365
if re.search(BLOCKED_IP_REGEX, page):
366-
errMsg = "it appears that you have been blocked by the target server"
367-
singleTimeLogMessage(errMsg, logging.ERROR)
366+
warnMsg = "it appears that you have been blocked by the target server"
367+
singleTimeWarnMessage(warnMsg)

waf/cloudfront.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
import re
99

10-
from lib.core.enums import HTTP_HEADER
1110
from lib.core.settings import WAF_ATTACK_VECTORS
1211

1312
__product__ = "CloudFront (Amazon)"

0 commit comments

Comments
 (0)