mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
making --no-cast unhidden and renaming --negative-logic to --logical-negate to prevent confusion with stuff used in OR boolean based injection
This commit is contained in:
parent
79c3d6f2aa
commit
56638f9e95
5 changed files with 16 additions and 11 deletions
|
|
@ -87,7 +87,7 @@ class Agent:
|
|||
if where == PAYLOAD.WHERE.ORIGINAL:
|
||||
value = origValue
|
||||
elif where == PAYLOAD.WHERE.NEGATIVE:
|
||||
if not conf.logicNegative:
|
||||
if not conf.logicalNegate:
|
||||
if newValue.startswith("-"):
|
||||
value = ""
|
||||
else:
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ optDict = {
|
|||
"os": "string",
|
||||
"prefix": "string",
|
||||
"suffix": "string",
|
||||
"logicNegative": "boolean",
|
||||
"logicalNegate": "boolean",
|
||||
"skip": "string",
|
||||
"tamper": "string"
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue