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:
Miroslav Stampar
2012-03-30 10:50:01 +00:00
parent 79c3d6f2aa
commit 56638f9e95
5 changed files with 16 additions and 11 deletions

View File

@@ -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:

View File

@@ -65,7 +65,7 @@ optDict = {
"os": "string",
"prefix": "string",
"suffix": "string",
"logicNegative": "boolean",
"logicalNegate": "boolean",
"skip": "string",
"tamper": "string"
},