Watch Http/Https/WebSocket data via Http Proxy
Java8+ required To build this project.
Bazahe use javafx maven plugin to distribute.
Create executable java jar:
mvn jfx:jar
The jar file can be found at target/app/bazahe.jar. Use
java -jar target/app/bazahe.jar
to run the program.
Also, you can use mvn jfx:native
to create platform-dependent native routine(and installer), you will find them under path target/native.
Bazahe use mitm to capture https traffics, This need a self signed certificate installed. When Bazahe start at the first time,it will create a new CA Root Certificate and private key, save to $HOME/.bazahe/bazahe.p12.
Then you need to import the CA Root Certificate into you operation system. Open you browser, and enter the address you proxy listened on, you will see a certificate export page. Download the certificate and import.
Different system may required different certificate format, some os accept them all. Usually, use crt for macOS/iOS, pem for Linux/Android.