WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Wowfunhappy/AquaProxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Based on code from https://codeload.github.com/kr/mitm.

To build:

  1. Install Go 1.19 on High Sierra.
  2. In /usr/local/go/src/crypto/x509/root_darwin.go, change:
-	policies := macOS.CFArrayCreateMutable()
-	defer macOS.ReleaseCFArray(policies)
 	sslPolicy := macOS.SecPolicyCreateSSL(opts.DNSName)
-	macOS.CFArrayAppendValue(policies, sslPolicy)
+	defer macOS.CFRelease(sslPolicy)
+	trustObj, err := macOS.SecTrustCreateWithCertificates(certs, sslPolicy)
-	trustObj, err := macOS.SecTrustCreateWithCertificates(certs, policies)
  1. Build normally with go build legacy_proxy.go
  2. Inject the MacPorts Legacy Support library and https://trac.macports.org/ticket/66749#comment:2 to make the binary run on Legacy OS X.

About

A mitm proxy which can be used to fix https connection issues in legacy versions of Mac OS X.

Resources

License

Stars

Watchers

Forks

Packages

No packages published