mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
update regarding a feature request from andyroyalbattle@yahoo.it
This commit is contained in:
parent
00b9d85ffc
commit
36233fac42
|
@ -326,6 +326,10 @@ Antonio Riva <antonio.riva@gmail.com>
|
||||||
Ethan Robish <ethan.robish@gmail.com>
|
Ethan Robish <ethan.robish@gmail.com>
|
||||||
for reporting a bug
|
for reporting a bug
|
||||||
|
|
||||||
|
Andrea Rossi <andyroyalbattle@yahoo.it>
|
||||||
|
for reporting a minor bug
|
||||||
|
for suggesting a feature
|
||||||
|
|
||||||
Richard Safran <allapplyhere@yahoo.com>
|
Richard Safran <allapplyhere@yahoo.com>
|
||||||
for donating the sqlmap.org domain control
|
for donating the sqlmap.org domain control
|
||||||
|
|
||||||
|
|
|
@ -25,6 +25,7 @@ from lib.core.data import conf
|
||||||
from lib.core.data import logger
|
from lib.core.data import logger
|
||||||
from lib.core.data import paths
|
from lib.core.data import paths
|
||||||
from lib.core.exception import sqlmapFilePathException
|
from lib.core.exception import sqlmapFilePathException
|
||||||
|
from lib.core.settings import IS_WIN
|
||||||
from lib.core.settings import UNICODE_ENCODING
|
from lib.core.settings import UNICODE_ENCODING
|
||||||
from lib.core.subprocessng import pollProcess
|
from lib.core.subprocessng import pollProcess
|
||||||
from lib.request.connect import Connect as Request
|
from lib.request.connect import Connect as Request
|
||||||
|
@ -83,6 +84,12 @@ def update():
|
||||||
errMsg = getUnicode(svnStderr, system=True).strip()
|
errMsg = getUnicode(svnStderr, system=True).strip()
|
||||||
logger.error(errMsg)
|
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:
|
elif svnStdout:
|
||||||
revision = re.search("revision\s+([\d]+)", svnStdout, re.I)
|
revision = re.search("revision\s+([\d]+)", svnStdout, re.I)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user