diff options
author | EUcancER <root@euer.krebsco.de> | 2012-04-18 23:14:55 +0200 |
---|---|---|
committer | EUcancER <root@euer.krebsco.de> | 2012-04-18 23:14:55 +0200 |
commit | 3c52c7895c28e7f63e27680bd7ef533b93ec37ba (patch) | |
tree | c5acac4a10aa9a7cf0b5ed82c7e3ead39e823e24 /Reaktor/repos/dnsmap/dnsmap-bulk.sh | |
parent | 9917d1d3974cb156a434e6f3a518de3ac643163e (diff) |
Reaktor: add dnsmap-0.30
Diffstat (limited to 'Reaktor/repos/dnsmap/dnsmap-bulk.sh')
-rwxr-xr-x | Reaktor/repos/dnsmap/dnsmap-bulk.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Reaktor/repos/dnsmap/dnsmap-bulk.sh b/Reaktor/repos/dnsmap/dnsmap-bulk.sh new file mode 100755 index 00000000..574aba22 --- /dev/null +++ b/Reaktor/repos/dnsmap/dnsmap-bulk.sh @@ -0,0 +1,19 @@ +#!/bin/bash +if [[ $# -ne 1 && $# -ne 2 ]] +then + echo "usage: `basename $0` <domains-file> [results-path]"; + echo "e.g.:"; + echo "`basename $0` domains.txt"; + echo "`basename $0` domains.txt /tmp/"; + exit +fi +for i in `cat $1` +do + if [[ $# -eq 1 ]] + then + dnsmap $i + elif [[ $# -eq 2 ]] + then + dnsmap $i -r $2 + fi +done |