Skip to content

Instantly share code, notes, and snippets.

@ksc91u
Created December 21, 2020 15:29
Show Gist options
  • Save ksc91u/47c12872695a47c4315ff6b9d40fcb95 to your computer and use it in GitHub Desktop.
Save ksc91u/47c12872695a47c4315ff6b9d40fcb95 to your computer and use it in GitHub Desktop.
netflix
www.us-east-1.internal.dradis.netflix.com.
www.us-east-2.internal.dradis.netflix.com.
www.us-west-1.internal.dradis.netflix.com.
www.us-west-2.internal.dradis.netflix.com.
www.eu-west-1.internal.dradis.netflix.com.
www.netflix.com
netflix.com
/sbin/ipset restore </config/user-data/as-nflx
for n in `cat /config/user-data/netflix`
do
for i in `host $n|grep IPv4|cut -d " " -f 5 `
do
echo "Add nflx $i"
/sbin/ipset add AS_nflx $i
done
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment