From 90a735e3daba93853da9b4df4380e74b29740f10 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 7 Jun 2019 00:55:36 +0200 Subject: [PATCH] Adding advice(s) in case of no provided parameters --- lib/controller/controller.py | 8 ++++++++ lib/core/settings.py | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/lib/controller/controller.py b/lib/controller/controller.py index 6a9941621..cabe5f76c 100644 --- a/lib/controller/controller.py +++ b/lib/controller/controller.py @@ -604,6 +604,14 @@ def start(): if kb.vainRun and not conf.multipleTargets: errMsg = "no parameter(s) found for testing in the provided data " errMsg += "(e.g. GET parameter 'id' in 'www.site.com/index.php?id=1')" + if kb.originalPage: + advice = [] + if not conf.forms and re.search(r"...) -VERSION = "1.3.6.30" +VERSION = "1.3.6.31" TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable" TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34} VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)