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

Skip to content

Commit bc19f40

Browse files
committed
Minor update
1 parent 7725695 commit bc19f40

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/core/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ def paramToDict(place, parameters=None):
562562
warnMsg += "('%s') with most probably leftover " % element
563563
warnMsg += "chars/statements from manual SQL injection test(s). "
564564
warnMsg += "Please, always use only valid parameter values "
565-
warnMsg += "so sqlmap could be able to properly run "
565+
warnMsg += "so sqlmap could be able to run properly"
566566
logger.warn(warnMsg)
567567

568568
message = "Are you sure you want to continue? [y/N] "

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@
377377
DUMMY_SQL_INJECTION_CHARS = ";()'"
378378

379379
# Simple check against dummy users
380-
DUMMY_USER_INJECTION = r"(?i)[^\w](AND|OR)\s+[^\s]+[=><]"
380+
DUMMY_USER_INJECTION = r"(?i)[^\w](AND|OR)\s+[^\s]+[=><]|\bUNION\b.+\bSELECT\b"
381381

382382
# Extensions skipped by crawler
383383
CRAWL_EXCLUDE_EXTENSIONS = ("gif", "jpg", "jpeg", "image", "jar", "tif", "bmp", "war", "ear", "mpg", "mpeg", "wmv", "mpeg", "scm", "iso", "dmp", "dll", "cab", "so", "avi", "mkv", "bin", "exe", "iso", "tar", "png", "pdf", "ps", "wav", "mp3", "mp4", "au", "aiff", "aac", "zip", "rar", "7z", "gz", "flv", "mov")

0 commit comments

Comments
 (0)