mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 08:14:24 +03:00
Adding (for now hidden) option --binary (works like -C but deliberately retrieves data in hex format and displays in hex format)
This commit is contained in:
parent
1d42aba01e
commit
8b4f72322a
|
@ -344,7 +344,7 @@ class Agent(object):
|
|||
else:
|
||||
nulledCastedField = rootQuery.isnull.query % nulledCastedField
|
||||
|
||||
if conf.hexConvert:
|
||||
if conf.hexConvert or conf.binary and field in conf.binary.split(','):
|
||||
nulledCastedField = self.hexConvertField(nulledCastedField)
|
||||
|
||||
return nulledCastedField
|
||||
|
|
|
@ -665,6 +665,9 @@ def cmdLineParser():
|
|||
parser.add_option("--profile", dest="profile", action="store_true",
|
||||
help=SUPPRESS_HELP)
|
||||
|
||||
parser.add_option("--binary", dest="binary",
|
||||
help=SUPPRESS_HELP)
|
||||
|
||||
parser.add_option("--cpu-throttle", dest="cpuThrottle", type="int",
|
||||
help=SUPPRESS_HELP)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user