enablind DNS server for DNS data exfiltration

This commit is contained in:
Miroslav Stampar
2012-03-31 12:08:27 +00:00
parent 8be9cd4ac4
commit f7a664b120
3 changed files with 25 additions and 3 deletions

View File

@@ -126,5 +126,5 @@ def main():
dumper.flush()
# Reference: http://stackoverflow.com/questions/1635080/terminate-a-multi-thread-python-program
if hasattr(conf, "threads") and conf.threads > 1:
if conf.get("threads", 0) > 1 or conf.get("dnsServer", None):
os._exit(0)