mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 05:01:30 +00:00
Added new switch --union-char to be able to provide the character used in union-test and exploit (default is still NULL, but can be any)
This commit is contained in:
@@ -243,9 +243,12 @@ def cmdLineParser():
|
||||
techniques.add_option("--union-tech", dest="uTech",
|
||||
help="Technique to test for UNION query SQL injection")
|
||||
|
||||
techniques.add_option("--union-cols", dest="uCols", type="int", default=50,
|
||||
techniques.add_option("--union-cols", dest="uCols", type="int", default=20,
|
||||
help="Maximum number of columns to test for")
|
||||
|
||||
techniques.add_option("--union-char", dest="uChar", default="NULL",
|
||||
help="Character to use to bruteforce number of columns")
|
||||
|
||||
# Fingerprint options
|
||||
fingerprint = OptionGroup(parser, "Fingerprint")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user