Skip to content

Instantly share code, notes, and snippets.

@droidScriptKiddy
Created September 6, 2020 18:07
Show Gist options
  • Save droidScriptKiddy/004ffb9788f30723dbae5dd9cfeaa9e2 to your computer and use it in GitHub Desktop.
Save droidScriptKiddy/004ffb9788f30723dbae5dd9cfeaa9e2 to your computer and use it in GitHub Desktop.
Google-App-Engine IP-Pool Lookup Shell Script
#!/bin/sh
for R in echo $(for X in $(nslookup -q=TXT _cloud-netblocks.googleusercontent.com 8.8.8.8|grep 'text ='|cut -d\" -f2);do nslookup -q=TXT $(echo $X | grep 'include:' | cut -d\: -f2) 8.8.8.8 | grep 'text =' | cut -d\" -f2;done); do echo $R|grep 'ip'|cut -d\: -f2-;done
#SOURCE https://cloud.google.com/appengine/kb/#static-ip
#RESULT So 6. Sep 20:06:10 CEST 2020
#
#2600:1900::/35
#8.34.208.0/20
#8.35.192.0/21
#8.35.200.0/23
#23.236.48.0/20
#23.251.128.0/19
#34.64.0.0/11
#34.96.0.0/14
#
#34.100.0.0/16
#34.102.0.0/15
#34.104.0.0/14
#34.124.0.0/18
#34.124.64.0/20
#34.124.80.0/23
#34.124.84.0/22
#34.124.88.0/23
#34.124.92.0/22
#34.125.0.0/16
#35.184.0.0/14
#35.188.0.0/15
#35.190.0.0/17
#
#35.190.128.0/18
#35.190.192.0/19
#35.190.224.0/20
#35.190.240.0/22
#35.192.0.0/14
#35.196.0.0/15
#35.198.0.0/16
#35.199.0.0/17
#35.199.128.0/18
#35.200.0.0/13
#35.208.0.0/13
#35.216.0.0/15
#
#35.219.192.0/24
#35.220.0.0/14
#35.224.0.0/13
#35.232.0.0/15
#35.234.0.0/16
#35.235.0.0/17
#35.235.192.0/20
#35.235.216.0/21
#35.235.224.0/20
#35.236.0.0/14
#35.240.0.0/13
#104.154.0.0/15
#104.196.0.0/14
#
#107.167.160.0/19
#107.178.192.0/18
#108.59.80.0/20
#108.170.192.0/20
#108.170.208.0/21
#108.170.216.0/22
#108.170.220.0/23
#108.170.222.0/24
#130.211.4.0/22
#130.211.8.0/21
#130.211.16.0/20
#130.211.32.0/19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment