mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-09 06:01:29 +00: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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user