Skip to content

Instantly share code, notes, and snippets.

View ShakataGaNai's full-sized avatar
🐍
Can Has Status! Working on the Pythons

Jon Davis ShakataGaNai

🐍
Can Has Status! Working on the Pythons
View GitHub Profile
@ShakataGaNai
ShakataGaNai / list_gcp_iprange.py
Last active January 21, 2020 15:56 — forked from n0531m/list_gcp_iprange.sh
Google Cloud Platform : ip address range
#!/usr/local/bin/python3.6
import dns.resolver
import re
def main():
v4 = []
v6 = []
v4, v6 = que('_cloud-netblocks.googleusercontent.com')
for o4 in v4:
print(o4)