diff options
author | Your Name <you@example.com> | 2013-05-03 23:44:58 +0200 |
---|---|---|
committer | Your Name <you@example.com> | 2013-05-03 23:44:58 +0200 |
commit | bdc1e03a956e560ab3373436bc54d119efeb5086 (patch) | |
tree | c476636a62950a9303d3d55ae9f903a3584dc940 /Reaktor/repos/consolidate_dns/index | |
parent | ab9954b0418e7473debd7fd311ed0c86bd599d59 (diff) | |
parent | bb2c3ab8682316583e6866200678494965f81719 (diff) |
Merge branch 'master' of https://github.com/krebscode/painload
Diffstat (limited to 'Reaktor/repos/consolidate_dns/index')
-rwxr-xr-x | Reaktor/repos/consolidate_dns/index | 5 |
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: |