-
-
Save FabulousCupcake/fca1dd331227759586e7b37ca649b695 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Captures Blue Archive account data and dumps it to a file""" | |
def tls_clienthello(data): | |
if not data.context.server.address[1] == 5000: | |
data.ignore_connection = True | |
return | |
def response(flow): | |
if not flow.request.pretty_host.endswith("nexon.com"): | |
return | |
if not flow.request.path == "/api/account/loginsync": | |
return | |
filename = "account-data.json" | |
with open(filename, "wb") as f: | |
f.write(flow.response.content) | |
print(f"Wrote: {filename}") | |
print("Ready!") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment