Until they figure out what "delta updates" are for people who don't have infinite bandwidth.
-
Hardlinker
- Store start date
- Scan %temp% for new folders
- Scan each of these folders for a new aamdownload file
- Eample: AdobeIllustrator25-Core.zip.aamdownload
- If found:
- Hardlink that download to a safe folder
- Rename the hardlink to end in zip
- Save filename to dictionary so we don't repeat
- Wait one second; repeat.
-
Cache
- Move files from (1) to a shared cache accessible by the HTTP server and mitmproxy
- Mitmproxy and the HTTP server should be on the same endpoint.
- Due to a bug(?) with Adobe, once a proxy is chosen for an endpoint that proxy will be used even if a redirect would send it to another proxy.
- Must add a proxy.pac file to only redirect ccmdls.adobe.com to local cache
-
Proxy
- Given: Folder of cached ZIP downloads
- Need
- Test if file:/// is accepted as a 301 redirect; NOPE
- Mitmproxy
- Make sure stream_large_bodies is set to '1m' in the config.yaml file
- Cannot use "map_local" this crashes due to size of file. MUST be a manual redirect
- Python script to redirect to a local HTTP server
-
OS Config
- Apache 2.4
- Download from https://www.apachelounge.com/download/
- Extract to C:\
- In C:\apache24\htdocs, this is the web folder
- Run C:\apache24\bin\httpd
- Proxy PAC file
- Contents in repo
- Move to C:\apache24\htdocs
- Windows search for "Proxy settings"
- Set setup script to "http://127.0.0.1/proxy.pac"
- Mitmproxy
- Download from https://mitmproxy.org/
- Extract anywhere
- Run initially
- Download MITMPROXY for windows
- Run it once
- Manually load the proxy
- Go to mitm.it
- Download the cert
- Install into trusted certs (requires ADMIN)
- Copy config.yaml > ~/.mitmproxy
- Run mitmproxy
- Apache 2.4
-
Done