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:
Bernardo Damele
2010-11-19 14:56:20 +00:00
parent c6545f5c9f
commit ad17e9ed2a
8 changed files with 33 additions and 12 deletions

View File

@@ -26,7 +26,7 @@ from lib.utils.resume import resume
reqCount = 0
def unionUse(expression, direct=False, unescape=True, resetCounter=False, nullChar="NULL", unpack=True, dump=False):
def unionUse(expression, direct=False, unescape=True, resetCounter=False, nullChar=None, unpack=True, dump=False):
"""
This function tests for an inband SQL injection on the target
url then call its subsidiary function to effectively perform an