aboutsummaryrefslogtreecommitdiff
path: root/adobe-magic.py
diff options
context:
space:
mode:
Diffstat (limited to 'adobe-magic.py')
-rw-r--r--adobe-magic.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/adobe-magic.py b/adobe-magic.py
new file mode 100644
index 0000000..b40e243
--- /dev/null
+++ b/adobe-magic.py
@@ -0,0 +1,10 @@
+import json
+
+from mitmproxy import http
+
+
+def response(flow: http.HTTPFlow) -> None:
+ if flow.request.path.startswith("/asnp/nud/v") and flow.response and flow.response.content:
+ data = json.loads(flow.response.content)
+ data['workflow'] = {}
+ flow.response.text = json.dumps(data, separators=(',', ':')) \ No newline at end of file