summaryrefslogtreecommitdiffstats
path: root/Reaktor/repos/consolidate_dns/index
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2013-04-24 20:44:30 +0200
committermakefu <github@syntax-fehler.de>2013-04-24 20:44:30 +0200
commit7fdb1fca9089f400a7938573cb4398db78c6628d (patch)
tree248d2626a379d931a7b52c30a81384fc11b7dfc7 /Reaktor/repos/consolidate_dns/index
parent9f38a2b96abb3fdc4cce5ef23c791728268b7b6f (diff)
parent57fb05c0512f9c12ff56924cdc0d835f1999754a (diff)
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'Reaktor/repos/consolidate_dns/index')
-rwxr-xr-xReaktor/repos/consolidate_dns/index5
1 files changed, 3 insertions, 2 deletions
diff --git a/Reaktor/repos/consolidate_dns/index b/Reaktor/repos/consolidate_dns/index
index 1a0dd81e..3dd42fbd 100755
--- a/Reaktor/repos/consolidate_dns/index
+++ b/Reaktor/repos/consolidate_dns/index
@@ -9,7 +9,7 @@ import tempfile
os.chdir (os.path.dirname (os.path.realpath (sys.argv[0])))
dnsrecon_enabled = False
DNSRECON = "../dnsrecon/dnsrecon.py"
-dnsrecon_wordlist="namelist.txt"
+dnsrecon_wordlist="../dnsrecon/namelist.txt"
silent=open("/dev/null","w")
gxfr_enabled = False
GXFR = "../gxfr/gxfr.py"
@@ -42,7 +42,8 @@ else:
if dnsrecon_enabled:
dnsrecon_tmp = tempfile.NamedTemporaryFile(delete=False).name
print ("Starting dnsrecon, this may take some time")
- p = Popen([DNSRECON,"-d",DOMAIN,"--csv",dnsrecon_tmp,'-D',dnsrecon_wordlist,"-t","brt,srv,axfr","--skip"],stdout=silent,stderr=silent)
+ #print (" ".join([DNSRECON,"-d",DOMAIN,"--csv",dnsrecon_tmp,'-D',dnsrecon_wordlist,"-t","brt,srv,axfr","--skip"]))
+ p = Popen([DNSRECON,"-d",DOMAIN,"--csv",dnsrecon_tmp,'-D',dnsrecon_wordlist,"-t","brt,srv,axfr"] ,stdout=silent,stderr=silent)
p.wait()
reader = csv.reader(open(dnsrecon_tmp))
for row in reader: