Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7b89613

Browse files
committed
Minor improvement for --forms
1 parent f382443 commit 7b89613

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

lib/core/common.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@
130130
from lib.core.settings import HASHDB_MILESTONE_VALUE
131131
from lib.core.settings import HOST_ALIASES
132132
from lib.core.settings import HTTP_CHUNKED_SPLIT_KEYWORDS
133+
from lib.core.settings import IGNORE_PARAMETERS
133134
from lib.core.settings import IGNORE_SAVE_OPTIONS
134135
from lib.core.settings import INFERENCE_UNKNOWN_CHAR
135136
from lib.core.settings import IP_ADDRESS_REGEX
@@ -4482,6 +4483,8 @@ def geturl(self):
44824483
if conf.scope:
44834484
if not re.search(conf.scope, url, re.I):
44844485
continue
4486+
elif not re.sub(r"(%s)=[^&]*&?" % '|'.join(IGNORE_PARAMETERS), "", data):
4487+
continue
44854488
elif not _:
44864489
continue
44874490
else:

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from thirdparty.six import unichr as _unichr
1919

2020
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21-
VERSION = "1.3.11.33"
21+
VERSION = "1.3.11.34"
2222
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2323
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2424
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

0 commit comments

Comments
 (0)