mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-20 22:49:01 +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:
@@ -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"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user