Merge and update stretchoid IPs
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@ -48,7 +48,7 @@ cat found_ranges.txt | xargs -I {} grep -F "{}" digitalocean_announced_ips.txt |
|
|||||||
# Re scan
|
# Re scan
|
||||||
dig -4 +noauthority +noadditional +nostats -x 107.170.202.77 @1.0.0.1
|
dig -4 +noauthority +noadditional +nostats -x 107.170.202.77 @1.0.0.1
|
||||||
|
|
||||||
cat stretchoid_ranges.txt | xargs -n1 prips | uniq | sort -V > stretchoid_digitalocean_possible_ips.txt
|
cat stretchoid_ranges.txt | xargs -n1 prips | uniq | sort -V > stretchoid_possible_ips.txt
|
||||||
cat binaryedge_ranges.txt | xargs -n1 prips | uniq | sort -V > binaryedge_digitalocean_possible_ips.txt
|
cat binaryedge_ranges.txt | xargs -n1 prips | uniq | sort -V > binaryedge_digitalocean_possible_ips.txt
|
||||||
|
|
||||||
# With failure handling
|
# With failure handling
|
||||||
@ -73,4 +73,4 @@ cat stretchoid_revisions/v*-reversed.txt | sort | uniq | awk -F'#' '{print $2" #
|
|||||||
# Find missing CIDRs from the IPS found in the revisions using the announced prefix list
|
# Find missing CIDRs from the IPS found in the revisions using the announced prefix list
|
||||||
cat binaryedge_revisions/v*-reversed.txt | LC_ALL=C.UTF-8 sort -t "-" -n | uniq | cut -d ' ' -f 3 | sort -V | cut -d " " -f 1 | cut -d '.' -f -3 | sort | uniq | xargs -I {} grep -E "^{}\.0" digitalocean_announced_ips_simpler.txt | sort -V -t# | uniq | cut -d ' ' -f 3 | sort -V | uniq | grep -v -F -f ./binaryedge_ranges.txt
|
cat binaryedge_revisions/v*-reversed.txt | LC_ALL=C.UTF-8 sort -t "-" -n | uniq | cut -d ' ' -f 3 | sort -V | cut -d " " -f 1 | cut -d '.' -f -3 | sort | uniq | xargs -I {} grep -E "^{}\.0" digitalocean_announced_ips_simpler.txt | sort -V -t# | uniq | cut -d ' ' -f 3 | sort -V | uniq | grep -v -F -f ./binaryedge_ranges.txt
|
||||||
|
|
||||||
cat binaryedge-full-possible-names_with_ips_clean_ips.txt | sort -V | cut -d " " -f 1 | cut -d '.' -f -3 | sort | uniq | xargs -I {} grep -E "^{}\.0" digitalocean_announced_ips_simpler.txt | sort -V -t# | uniq | cut -d ' ' -f 3 | sort -V | uniq | grep -v -F -f ./binaryedge_ranges.txt
|
cat binaryedge-full-possible-names_with_ips_clean_ips.txt | sort -V | cut -d " " -f 1 | cut -d '.' -f -3 | sort | uniq | xargs -I {} grep -E "^{}\.0" digitalocean_announced_ips_simpler.txt | sort -V -t# | uniq | cut -d ' ' -f 3 | sort -V | uniq | grep -v -F -f ./binaryedge_ranges.txt
|
||||||
|
@ -20,7 +20,7 @@ if [ ! -d ./reverse_revisions/ ]; then
|
|||||||
mkdir ./reverse_revisions
|
mkdir ./reverse_revisions
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dns-ptr-resolver $PWD/stretchoid_digitalocean_possible_ips.txt 1> stretchoid_revisions/$REV.txt
|
dns-ptr-resolver $PWD/stretchoid_possible_ips.txt 1> stretchoid_revisions/$REV.txt
|
||||||
|
|
||||||
grep -F "stretchoid" stretchoid_revisions/$REV.txt | sort -V > stretchoid_revisions/$REV.sorted.txt
|
grep -F "stretchoid" stretchoid_revisions/$REV.txt | sort -V > stretchoid_revisions/$REV.sorted.txt
|
||||||
grep -v -F "stretchoid" stretchoid_revisions/$REV.txt | sort -V > reverse_revisions/$REV.sorted.txt
|
grep -v -F "stretchoid" stretchoid_revisions/$REV.txt | sort -V > reverse_revisions/$REV.sorted.txt
|
||||||
|
0
stretchoid_possible_ips.txt
Normal file
0
stretchoid_possible_ips.txt
Normal file
Reference in New Issue
Block a user