Skip to content

Commit 552077f

Browse files
committed
Minor patch
1 parent 0f69741 commit 552077f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Diff for: lib/core/option.py

+1
Original file line numberDiff line numberDiff line change
@@ -1143,6 +1143,7 @@ def _setHTTPHandlers():
11431143
handlers.append(keepAliveHandler)
11441144

11451145
opener = _urllib.request.build_opener(*handlers)
1146+
opener.addheaders = [] # Note: clearing default "User-Agent: Python-urllib/X.Y"
11461147
_urllib.request.install_opener(opener)
11471148

11481149
def _setSafeVisit():

Diff for: lib/core/settings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from lib.core.enums import OS
1818

1919
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
20-
VERSION = "1.3.4.24"
20+
VERSION = "1.3.4.25"
2121
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2222
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2323
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)