mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-03-03 19:55:47 +03:00
just in case..
This commit is contained in:
parent
03d2c9c818
commit
4736d46677
|
@ -22,14 +22,14 @@ from lib.core.settings import UNICODE_ENCODING
|
||||||
from lib.core.subprocessng import pollProcess
|
from lib.core.subprocessng import pollProcess
|
||||||
|
|
||||||
def update():
|
def update():
|
||||||
|
if not conf.updateAll:
|
||||||
|
return
|
||||||
|
|
||||||
errMsg = "sqlmap is now hosted on GitHub at https://github.com/sqlmapproject/sqlmap. "
|
errMsg = "sqlmap is now hosted on GitHub at https://github.com/sqlmapproject/sqlmap. "
|
||||||
errMsg += "The --update switch is currently outdated and not working. Please, "
|
errMsg += "The --update switch is currently outdated and not working. Please, "
|
||||||
errMsg += "update sqlmap running 'git pull' for the time being"
|
errMsg += "update sqlmap running 'git pull' for the time being"
|
||||||
raise sqlmapUnsupportedFeatureException, errMsg
|
raise sqlmapUnsupportedFeatureException, errMsg
|
||||||
|
|
||||||
if not conf.updateAll:
|
|
||||||
return
|
|
||||||
|
|
||||||
rootDir = paths.SQLMAP_ROOT_PATH
|
rootDir = paths.SQLMAP_ROOT_PATH
|
||||||
|
|
||||||
infoMsg = "updating sqlmap to latest development version from the "
|
infoMsg = "updating sqlmap to latest development version from the "
|
||||||
|
|
Loading…
Reference in New Issue
Block a user