Skip to content

Instantly share code, notes, and snippets.

@ozuma
Created February 21, 2021 16:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ozuma/a563a4c8c6039bfb0b33cab74aaa9494 to your computer and use it in GitHub Desktop.
Save ozuma/a563a4c8c6039bfb0b33cab74aaa9494 to your computer and use it in GitHub Desktop.
TryHackMe, Advent of Cyber 1 [2019] Task14 Day9
#!/usr/bin/python3
import urllib.request
import json
baseurl="http://10.10.169.100:3000/"
str=""
for i in range(20):
with urllib.request.urlopen(baseurl + str) as f:
json_data = json.load(f)
str = json_data["next"]
print(json.dumps(json_data))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment