From 29314f425ec8f24355bb72eca50190a5ff53ff1e Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 20 Jun 2011 13:42:31 +0000 Subject: [PATCH] minor fix --- lib/controller/controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/controller/controller.py b/lib/controller/controller.py index 7de870a22..30ece28a4 100644 --- a/lib/controller/controller.py +++ b/lib/controller/controller.py @@ -210,7 +210,7 @@ def start(): action() return True - if conf.url and not conf.forms: + if conf.url and not any([conf.forms, conf.crawl]): kb.targetUrls.add(( conf.url, conf.method, conf.data, conf.cookie )) if conf.configFile and not kb.targetUrls: