mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 04:31:30 +00:00
just in case..
This commit is contained in:
@@ -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 "
|
||||||
|
|||||||
Reference in New Issue
Block a user