From 2f8d17bcb7a702799dc7678028aa2d2a5d1457bc Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 27 Jun 2014 13:45:40 +0200 Subject: [PATCH] Appendix to last commit --- lib/request/inject.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/request/inject.py b/lib/request/inject.py index 27caeaa87..96efcae6a 100644 --- a/lib/request/inject.py +++ b/lib/request/inject.py @@ -55,7 +55,7 @@ from lib.techniques.union.use import unionUse def _goDns(payload, expression): value = None - if conf.dnsName and kb.dnsTest is not False: + if conf.dnsName and kb.dnsTest is not False and not kb.testMode and Backend.getDbms() is not None: if kb.dnsTest is None: dnsTest(payload)