From fc9c626f9ee9ac327a21a8b8fd349066d3ea504f Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sun, 30 Jan 2011 17:03:06 +0000 Subject: [PATCH] minor refactoring (removed URL_ENCODE_PAYLOAD) --- lib/core/settings.py | 3 --- lib/request/connect.py | 1 - 2 files changed, 4 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index 497c728c5..576e6436a 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -206,8 +206,5 @@ WEBSCARAB_SPLITTER = "### Conversation" # Splitter used between requests in BURP log files BURP_SPLITTER = "======================================================" -# Do the url-encoding based on parameter place -URL_ENCODE_PAYLOAD = { PLACE.GET: True, PLACE.POST: True, PLACE.COOKIE: False, PLACE.UA: True, PLACE.URI: False } - # Encoding used for Unicode data UNICODE_ENCODING = "utf8" diff --git a/lib/request/connect.py b/lib/request/connect.py index 5386b9e9c..b658600b7 100644 --- a/lib/request/connect.py +++ b/lib/request/connect.py @@ -40,7 +40,6 @@ from lib.core.enums import PLACE from lib.core.exception import sqlmapConnectionException from lib.core.exception import sqlmapSyntaxException from lib.core.settings import MIN_TIME_RESPONSES -from lib.core.settings import URL_ENCODE_PAYLOAD from lib.core.threads import getCurrentThreadData from lib.request.basic import decodePage from lib.request.basic import forgeHeaders