Added --union-cols switch to specify the max number of columns to test for UNION query sql injection.

Now stores/resumes also the exact UNION payload to session file.
This commit is contained in:
Bernardo Damele
2010-11-13 23:24:41 +00:00
parent df5dc10111
commit 8d07272c82
6 changed files with 36 additions and 10 deletions

View File

@@ -243,6 +243,9 @@ 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,
help="Maximum number of columns to test for")
# Fingerprint options
fingerprint = OptionGroup(parser, "Fingerprint")