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

Skip to content

Commit f6857d4

Browse files
committed
Bug fix (304 not modified as original response)
1 parent a1342e0 commit f6857d4

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

lib/core/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5297,7 +5297,7 @@ def _parseBurpLog(content):
52975297
params = True
52985298

52995299
# Avoid proxy and connection type related headers
5300-
elif key not in (HTTP_HEADER.PROXY_CONNECTION, HTTP_HEADER.CONNECTION):
5300+
elif key not in (HTTP_HEADER.PROXY_CONNECTION, HTTP_HEADER.CONNECTION, HTTP_HEADER.IF_MODIFIED_SINCE, HTTP_HEADER.IF_NONE_MATCH):
53015301
headers.append((getUnicode(key), getUnicode(value)))
53025302

53035303
if kb.customInjectionMark in re.sub(PROBLEMATIC_CUSTOM_INJECTION_PATTERNS, "", value or ""):

lib/core/enums.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ class HTTP_HEADER(object):
239239
EXPIRES = "Expires"
240240
HOST = "Host"
241241
IF_MODIFIED_SINCE = "If-Modified-Since"
242+
IF_NONE_MATCH = "If-None-Match"
242243
LAST_MODIFIED = "Last-Modified"
243244
LOCATION = "Location"
244245
PRAGMA = "Pragma"

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.4.9.10"
21+
VERSION = "1.4.9.11"
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)