From a53823f9b7b349ce6f068a73d452a9040a9cd371 Mon Sep 17 00:00:00 2001 From: stamparm Date: Wed, 19 Jun 2013 10:59:26 +0200 Subject: [PATCH] Minor refactoring --- lib/request/basic.py | 2 +- lib/{core => utils}/htmlentities.py | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename lib/{core => utils}/htmlentities.py (100%) diff --git a/lib/request/basic.py b/lib/request/basic.py index 4f7bd35a9..7ccb0c926 100644 --- a/lib/request/basic.py +++ b/lib/request/basic.py @@ -26,7 +26,6 @@ from lib.core.data import logger from lib.core.enums import HTTP_HEADER from lib.core.enums import PLACE from lib.core.exception import SqlmapCompressionException -from lib.core.htmlentities import htmlEntities from lib.core.settings import DEFAULT_COOKIE_DELIMITER from lib.core.settings import EVENTVALIDATION_REGEX from lib.core.settings import MAX_CONNECTION_TOTAL_SIZE @@ -36,6 +35,7 @@ from lib.core.settings import PARSE_HEADERS_LIMIT from lib.core.settings import VIEWSTATE_REGEX from lib.parse.headers import headersParser from lib.parse.html import htmlParser +from lib.utils.htmlentities import htmlEntities from thirdparty.chardet import detect def forgeHeaders(items=None): diff --git a/lib/core/htmlentities.py b/lib/utils/htmlentities.py similarity index 100% rename from lib/core/htmlentities.py rename to lib/utils/htmlentities.py