File tree 2 files changed +2
-1
lines changed
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -1143,6 +1143,7 @@ def _setHTTPHandlers():
1143
1143
handlers .append (keepAliveHandler )
1144
1144
1145
1145
opener = _urllib .request .build_opener (* handlers )
1146
+ opener .addheaders = [] # Note: clearing default "User-Agent: Python-urllib/X.Y"
1146
1147
_urllib .request .install_opener (opener )
1147
1148
1148
1149
def _setSafeVisit ():
Original file line number Diff line number Diff line change 17
17
from lib .core .enums import OS
18
18
19
19
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
20
- VERSION = "1.3.4.24 "
20
+ VERSION = "1.3.4.25 "
21
21
TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
22
22
TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
23
23
VERSION_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