We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03d2c9c commit 4736d46Copy full SHA for 4736d46
1 file changed
lib/core/update.py
@@ -22,14 +22,14 @@
22
from lib.core.subprocessng import pollProcess
23
24
def update():
25
+ if not conf.updateAll:
26
+ return
27
+
28
errMsg = "sqlmap is now hosted on GitHub at https://github.com/sqlmapproject/sqlmap. "
29
errMsg += "The --update switch is currently outdated and not working. Please, "
30
errMsg += "update sqlmap running 'git pull' for the time being"
31
raise sqlmapUnsupportedFeatureException, errMsg
32
- if not conf.updateAll:
- return
-
33
rootDir = paths.SQLMAP_ROOT_PATH
34
35
infoMsg = "updating sqlmap to latest development version from the "
0 commit comments