mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 08:14:24 +03:00
Renaming --binary to --binary-fields
This commit is contained in:
parent
dd6f50a00e
commit
6314d64a70
|
@ -344,7 +344,7 @@ class Agent(object):
|
||||||
else:
|
else:
|
||||||
nulledCastedField = rootQuery.isnull.query % nulledCastedField
|
nulledCastedField = rootQuery.isnull.query % nulledCastedField
|
||||||
|
|
||||||
if conf.hexConvert or conf.binary and field in conf.binary.split(','):
|
if conf.hexConvert or conf.binaryFields and field in conf.binaryFields.split(','):
|
||||||
nulledCastedField = self.hexConvertField(nulledCastedField)
|
nulledCastedField = self.hexConvertField(nulledCastedField)
|
||||||
|
|
||||||
return nulledCastedField
|
return nulledCastedField
|
||||||
|
|
|
@ -205,6 +205,7 @@ POST_HINT_CONTENT_TYPES = {
|
||||||
DEPRECATED_OPTIONS = {
|
DEPRECATED_OPTIONS = {
|
||||||
"--replicate": "use '--dump-format=SQLITE' instead",
|
"--replicate": "use '--dump-format=SQLITE' instead",
|
||||||
"--no-unescape": "use '--no-escape' instead",
|
"--no-unescape": "use '--no-escape' instead",
|
||||||
|
"--binary": "use '--binary-fields' instead",
|
||||||
"--check-payload": None,
|
"--check-payload": None,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -665,7 +665,7 @@ def cmdLineParser():
|
||||||
parser.add_option("--profile", dest="profile", action="store_true",
|
parser.add_option("--profile", dest="profile", action="store_true",
|
||||||
help=SUPPRESS_HELP)
|
help=SUPPRESS_HELP)
|
||||||
|
|
||||||
parser.add_option("--binary", dest="binary",
|
parser.add_option("--binary-fields", dest="binaryFields",
|
||||||
help=SUPPRESS_HELP)
|
help=SUPPRESS_HELP)
|
||||||
|
|
||||||
parser.add_option("--cpu-throttle", dest="cpuThrottle", type="int",
|
parser.add_option("--cpu-throttle", dest="cpuThrottle", type="int",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user