mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Accept [RANDNUM] as <char> in payloads.xml and handle it accordingly
This commit is contained in:
@@ -94,6 +94,9 @@ def checkSqlInjection(place, parameter, value):
|
||||
if "[CHAR]" in title:
|
||||
title = title.replace("[CHAR]", conf.uChar)
|
||||
|
||||
if "[RANDNUM]" in title:
|
||||
title = title.replace("[RANDNUM]", "random number")
|
||||
|
||||
# Skip test if the user's wants to test only for a specific
|
||||
# technique
|
||||
if conf.tech and isinstance(conf.tech, list) and stype not in conf.tech:
|
||||
|
||||
Reference in New Issue
Block a user