This commit is contained in:
Evgeny Zinoviev 2022-05-03 03:38:42 +03:00
commit 4f2d8bb287
2 changed files with 18 additions and 0 deletions

10
adobe-magic.py Normal file
View File

@ -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=(',', ':'))

8
proxy.pac Normal file
View File

@ -0,0 +1,8 @@
function FindProxyForURL(url, host) {
if ( shExpMatch(host, "*.adobe.com") || host == "adobe.com"
|| shExpMatch(host, "*.adobelogin.com") || host == "adobelogin.com"
|| shExpMatch(host, "*.adobe.io") || host == "adobe.io") {
return "SOCKS 127.0.0.1:56789";
}
return "DIRECT";
}