diff --git a/doc/THANKS b/doc/THANKS index cddce6e70..2039b2799 100644 --- a/doc/THANKS +++ b/doc/THANKS @@ -326,6 +326,10 @@ Antonio Riva Ethan Robish for reporting a bug +Andrea Rossi + for reporting a minor bug + for suggesting a feature + Richard Safran for donating the sqlmap.org domain control diff --git a/lib/core/update.py b/lib/core/update.py index b957ed06a..6c1f2150f 100644 --- a/lib/core/update.py +++ b/lib/core/update.py @@ -25,6 +25,7 @@ from lib.core.data import conf from lib.core.data import logger from lib.core.data import paths from lib.core.exception import sqlmapFilePathException +from lib.core.settings import IS_WIN from lib.core.settings import UNICODE_ENCODING from lib.core.subprocessng import pollProcess from lib.request.connect import Connect as Request @@ -83,6 +84,12 @@ def update(): errMsg = getUnicode(svnStderr, system=True).strip() logger.error(errMsg) + if IS_WIN: + infoMsg = "for Windows platform it's recommended " + infoMsg += "to use a TortoiseSVN GUI client for updating " + infoMsg += "purposes (http://tortoisesvn.net/)" + logger.info(infoMsg) + elif svnStdout: revision = re.search("revision\s+([\d]+)", svnStdout, re.I)