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

Skip to content

Commit fc9c626

Browse files
committed
minor refactoring (removed URL_ENCODE_PAYLOAD)
1 parent 21e7223 commit fc9c626

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

lib/core/settings.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,5 @@
206206
# Splitter used between requests in BURP log files
207207
BURP_SPLITTER = "======================================================"
208208

209-
# Do the url-encoding based on parameter place
210-
URL_ENCODE_PAYLOAD = { PLACE.GET: True, PLACE.POST: True, PLACE.COOKIE: False, PLACE.UA: True, PLACE.URI: False }
211-
212209
# Encoding used for Unicode data
213210
UNICODE_ENCODING = "utf8"

lib/request/connect.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
from lib.core.exception import sqlmapConnectionException
4141
from lib.core.exception import sqlmapSyntaxException
4242
from lib.core.settings import MIN_TIME_RESPONSES
43-
from lib.core.settings import URL_ENCODE_PAYLOAD
4443
from lib.core.threads import getCurrentThreadData
4544
from lib.request.basic import decodePage
4645
from lib.request.basic import forgeHeaders

0 commit comments

Comments
 (0)