Minor restyling

This commit is contained in:
Miroslav Stampar 2012-07-04 20:28:18 +02:00
parent 7ad6697446
commit c3c1b9e957
5 changed files with 8 additions and 4 deletions

View File

@ -91,6 +91,7 @@ from lib.core.settings import FORMATTER
from lib.core.settings import NULL from lib.core.settings import NULL
from lib.core.settings import HASHDB_MILESTONE_VALUE from lib.core.settings import HASHDB_MILESTONE_VALUE
from lib.core.settings import IS_WIN from lib.core.settings import IS_WIN
from lib.core.settings import ISSUES_PAGE
from lib.core.settings import PLATFORM from lib.core.settings import PLATFORM
from lib.core.settings import PYVERSION from lib.core.settings import PYVERSION
from lib.core.settings import VERSION from lib.core.settings import VERSION
@ -2485,7 +2486,7 @@ def unhandledExceptionMessage():
errMsg = "unhandled exception in %s, retry your " % VERSION_STRING errMsg = "unhandled exception in %s, retry your " % VERSION_STRING
errMsg += "run with the latest development version from the Subversion " errMsg += "run with the latest development version from the Subversion "
errMsg += "repository. If the exception persists, please send by e-mail " errMsg += "repository. If the exception persists, please send by e-mail "
errMsg += "to %s the following text " % ML errMsg += "to '%s' or open a new issue at '%s' with the following text " % (ML, ISSUES_PAGE)
errMsg += "and any information required to reproduce the bug. The " errMsg += "and any information required to reproduce the bug. The "
errMsg += "developers will try to reproduce the bug, fix it accordingly " errMsg += "developers will try to reproduce the bug, fix it accordingly "
errMsg += "and get back to you.\n" errMsg += "and get back to you.\n"

View File

@ -23,6 +23,7 @@ REVISION = getRevisionNumber()
VERSION_STRING = "sqlmap/%s%s" % (VERSION, "-%s" % REVISION if REVISION else "") VERSION_STRING = "sqlmap/%s%s" % (VERSION, "-%s" % REVISION if REVISION else "")
DESCRIPTION = "automatic SQL injection and database takeover tool" DESCRIPTION = "automatic SQL injection and database takeover tool"
SITE = "http://sqlmap.org" SITE = "http://sqlmap.org"
ISSUES_PAGE = "https://github.com/sqlmapproject/sqlmap/issues"
ML = "sqlmap-users@lists.sourceforge.net" ML = "sqlmap-users@lists.sourceforge.net"
# minimum distance of ratio from kb.matchRatio to result in True # minimum distance of ratio from kb.matchRatio to result in True

View File

@ -56,7 +56,9 @@ def update():
if IS_WIN: if IS_WIN:
infoMsg = "for Windows platform it's recommended " infoMsg = "for Windows platform it's recommended "
infoMsg += "to use a GitHub for Windows client for updating " infoMsg += "to use a GitHub for Windows client for updating "
infoMsg += "purposes (http://windows.github.com/)" infoMsg += "purposes (http://windows.github.com/) or just "
infoMsg += "download the latest snapshot from "
infoMsg += "https://github.com/sqlmapproject/sqlmap/downloads"
else: else:
infoMsg = "for Linux platform it's required " infoMsg = "for Linux platform it's required "
infoMsg += "to install a standard 'git' package (e.g.: 'sudo apt-get install git')" infoMsg += "to install a standard 'git' package (e.g.: 'sudo apt-get install git')"

View File

@ -531,7 +531,7 @@ def cmdLineParser():
general.add_option("--flush-session", dest="flushSession", general.add_option("--flush-session", dest="flushSession",
action="store_true", action="store_true",
help="Flush session file for current target") help="Flush session files for current target")
general.add_option("--forms", dest="forms", general.add_option("--forms", dest="forms",
action="store_true", action="store_true",

View File

@ -580,7 +580,7 @@ dCred =
# Valid: True or False # Valid: True or False
eta = False eta = False
# Flush session file for current target. # Flush session files for current target.
# Valid: True or False # Valid: True or False
flushSession = False flushSession = False