File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff 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
11481149def _setSafeVisit ():
Original file line number Diff line number Diff line change 1717from 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 "
2121TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2222TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2323VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
You can’t perform that action at this time.
0 commit comments