Skip to content

Commit 2f8d17b

Browse files
committed
Appendix to last commit
1 parent 75279ea commit 2f8d17b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/request/inject.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
def _goDns(payload, expression):
5656
value = None
5757

58-
if conf.dnsName and kb.dnsTest is not False:
58+
if conf.dnsName and kb.dnsTest is not False and not kb.testMode and Backend.getDbms() is not None:
5959
if kb.dnsTest is None:
6060
dnsTest(payload)
6161

0 commit comments

Comments
 (0)