initial
This commit is contained in:
commit
4f2d8bb287
10
adobe-magic.py
Normal file
10
adobe-magic.py
Normal 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
8
proxy.pac
Normal 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";
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user