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

Skip to content

Commit e21d4ae

Browse files
committed
Minor update
1 parent 3af15fe commit e21d4ae

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

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.3.10.35"
21+
VERSION = "1.3.10.36"
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)

lib/request/basic.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
from lib.core.data import kb
3535
from lib.core.data import logger
3636
from lib.core.decorators import cachedmethod
37+
from lib.core.decorators import lockedmethod
3738
from lib.core.dicts import HTML_ENTITIES
3839
from lib.core.enums import DBMS
3940
from lib.core.enums import HTTP_HEADER
@@ -57,6 +58,7 @@
5758
from thirdparty.six import unichr as _unichr
5859
from thirdparty.six.moves import http_client as _http_client
5960

61+
@lockedmethod
6062
def forgeHeaders(items=None, base=None):
6163
"""
6264
Prepare HTTP Cookie, HTTP User-Agent and HTTP Referer headers to use when performing

0 commit comments

Comments
 (0)