Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c3c1b9e

Browse files
committed
Minor restyling
1 parent 7ad6697 commit c3c1b9e

5 files changed

Lines changed: 8 additions & 4 deletions

File tree

lib/core/common.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@
9191
from lib.core.settings import NULL
9292
from lib.core.settings import HASHDB_MILESTONE_VALUE
9393
from lib.core.settings import IS_WIN
94+
from lib.core.settings import ISSUES_PAGE
9495
from lib.core.settings import PLATFORM
9596
from lib.core.settings import PYVERSION
9697
from lib.core.settings import VERSION
@@ -2485,7 +2486,7 @@ def unhandledExceptionMessage():
24852486
errMsg = "unhandled exception in %s, retry your " % VERSION_STRING
24862487
errMsg += "run with the latest development version from the Subversion "
24872488
errMsg += "repository. If the exception persists, please send by e-mail "
2488-
errMsg += "to %s the following text " % ML
2489+
errMsg += "to '%s' or open a new issue at '%s' with the following text " % (ML, ISSUES_PAGE)
24892490
errMsg += "and any information required to reproduce the bug. The "
24902491
errMsg += "developers will try to reproduce the bug, fix it accordingly "
24912492
errMsg += "and get back to you.\n"

lib/core/settings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
VERSION_STRING = "sqlmap/%s%s" % (VERSION, "-%s" % REVISION if REVISION else "")
2424
DESCRIPTION = "automatic SQL injection and database takeover tool"
2525
SITE = "http://sqlmap.org"
26+
ISSUES_PAGE = "https://github.com/sqlmapproject/sqlmap/issues"
2627
2728

2829
# minimum distance of ratio from kb.matchRatio to result in True

lib/core/update.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ def update():
5656
if IS_WIN:
5757
infoMsg = "for Windows platform it's recommended "
5858
infoMsg += "to use a GitHub for Windows client for updating "
59-
infoMsg += "purposes (http://windows.github.com/)"
59+
infoMsg += "purposes (http://windows.github.com/) or just "
60+
infoMsg += "download the latest snapshot from "
61+
infoMsg += "https://github.com/sqlmapproject/sqlmap/downloads"
6062
else:
6163
infoMsg = "for Linux platform it's required "
6264
infoMsg += "to install a standard 'git' package (e.g.: 'sudo apt-get install git')"

lib/parse/cmdline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ def cmdLineParser():
531531

532532
general.add_option("--flush-session", dest="flushSession",
533533
action="store_true",
534-
help="Flush session file for current target")
534+
help="Flush session files for current target")
535535

536536
general.add_option("--forms", dest="forms",
537537
action="store_true",

sqlmap.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ dCred =
580580
# Valid: True or False
581581
eta = False
582582

583-
# Flush session file for current target.
583+
# Flush session files for current target.
584584
# Valid: True or False
585585
flushSession = False
586586

0 commit comments

Comments
 (0)