diff options
author | EUcancER <root@euer.krebsco.de> | 2012-05-02 13:24:47 +0200 |
---|---|---|
committer | EUcancER <root@euer.krebsco.de> | 2012-05-02 13:24:47 +0200 |
commit | f0424c09231f2b3b24fdf319c6e030968629af3a (patch) | |
tree | 373882890c6474be363b9323479a450468c9ffe7 /repos/consolidate_dns/index | |
parent | 1eba19a8ff3841a450f626b58988ec5b13b81aa4 (diff) |
Reaktor: replace dnsrecon for dnsmap
update init script
add supervisor config
Diffstat (limited to 'repos/consolidate_dns/index')
-rwxr-xr-x | repos/consolidate_dns/index | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/repos/consolidate_dns/index b/repos/consolidate_dns/index index 7336f21..c66e54b 100755 --- a/repos/consolidate_dns/index +++ b/repos/consolidate_dns/index @@ -44,10 +44,7 @@ if dnsrecon_enabled: p.wait() reader = csv.reader(open(dnsrecon_tmp)) for row in reader: - if row[1] in domains: - domains[row[1]] += row[2:] - else: - domains[row[1]] = row[2:] + domains[row[1]] += row[2:] print ("...finished with [%d] domains" %reader.line_num) os.unlink(dnsrecon_tmp) @@ -58,7 +55,7 @@ if gxfr_enabled: p.wait() reader = csv.reader(open(gxfr_tmp)) for row in reader: - domains[row[0]] = row[1:] + domains[row[0]] += row[1:] print ("...finished with [%d] domains" %reader.line_num) os.unlink(gxfr_tmp) if bxfr_enabled: @@ -68,7 +65,7 @@ if bxfr_enabled: p.wait() reader = csv.reader(open(bxfr_tmp)) for row in reader: - domains[row[0]] = row[1:] + domains[row[0]] += row[1:] print ("...finished with [%d] domains" %reader.line_num) os.unlink(bxfr_tmp) |