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

Skip to content

Commit 154ed2c

Browse files
committed
Minor patch
1 parent 89dfe4e commit 154ed2c

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from lib.core.revision import getRevisionNumber
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.0.5.85"
22+
VERSION = "1.0.5.86"
2323
REVISION = getRevisionNumber()
2424
STABLE = VERSION.count('.') <= 2
2525
VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")

lib/request/connect.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -832,9 +832,13 @@ def queryPage(value=None, place=None, content=False, getRatioValue=False, silent
832832

833833
if PLACE.GET in conf.parameters:
834834
get = conf.parameters[PLACE.GET] if place != PLACE.GET or not value else value
835+
elif place == PLACE.GET: # Note: for (e.g.) checkWaf() when there are no GET parameters
836+
get = value
835837

836838
if PLACE.POST in conf.parameters:
837839
post = conf.parameters[PLACE.POST] if place != PLACE.POST or not value else value
840+
elif place == PLACE.POST:
841+
post = value
838842

839843
if PLACE.CUSTOM_POST in conf.parameters:
840844
post = conf.parameters[PLACE.CUSTOM_POST].replace(CUSTOM_INJECTION_MARK_CHAR, "") if place != PLACE.CUSTOM_POST or not value else value

0 commit comments

Comments
 (0)