diff --git a/lib/core/option.py b/lib/core/option.py index 41a4021f7..01e037e60 100644 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -60,10 +60,8 @@ from lib.core.optiondict import optDict from lib.core.settings import MSSQL_ALIASES from lib.core.settings import MYSQL_ALIASES from lib.core.settings import PLATFORM -from lib.core.settings import SITE from lib.core.settings import SUPPORTED_DBMS from lib.core.settings import SUPPORTED_OS -from lib.core.settings import VERSION_STRING from lib.core.update import update from lib.parse.configfile import configFileParser from lib.parse.queriesfile import queriesParser @@ -602,7 +600,9 @@ def __defaultHTTPUserAgent(): @rtype: C{str} """ - return "%s (%s)" % (VERSION_STRING, SITE) + # Internet Explorer 7.0 running on Windows 2003 Service Pack 2 english + # updated at March 2009 + return "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)" def __setHTTPUserAgent(): diff --git a/lib/core/settings.py b/lib/core/settings.py index 6debe367b..dda071654 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -30,7 +30,7 @@ import sys # sqlmap version and site -VERSION = "0.7rc1" +VERSION = "0.7rc2" VERSION_STRING = "sqlmap/%s" % VERSION SITE = "http://sqlmap.sourceforge.net"