Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ignaciomolinaportoles/swiftyproxy

SwiftyProxy is a lightweigth Network Logger for MacOS written in Swift
https://github.com/ignaciomolinaportoles/swiftyproxy

ios logging macos mitm networking proxy swift

Last synced: about 1 month ago
JSON representation

SwiftyProxy is a lightweigth Network Logger for MacOS written in Swift

Awesome Lists containing this project

README

        

Screenshot 2024-08-26 at 9 58 54 PM

## Features
- [x] Network Interception: Capture HTTP/HTTPS requests and responses.
- [x] Detailed Logging: View all intercepted network traffic, including headers and body.
- [x] User-Friendly Interface: Simple and intuitive interface to monitor network activity.

## Todos
- [ ] Brotli Decryption: Automatically decompress Brotli-encoded responses to display human-readable content.
- [ ] Request Modification: Allow users to edit and resend intercepted network requests.
- [ ] Improve UI

## Basic Usage


Screenshot 2024-08-26 at 10 04 07 PM

1. Create certificates (See below)
2. Install cerificates in Mac and iOS Simulator
3. Configure certificates in SwiftyProxy
4. Start server (First button) and set wifi proxy (Second button)
5. Start watching your network traffic!

### Creating certificates

### Generate the Root Certificate (Root CA)
This certificate will be used to sign the server and client certificates. It must be installed on both the Mac and the simulator.

Generate the private key for the Root CA
```
openssl genrsa -out nacho-root-key.pem 4096
```

Generate the Root CA certificate
```
openssl req -x509 -new -nodes -key nacho-root-key.pem -sha256 -days 825 -out nacho-root-ca.pem -subj "/C=US/ST=Delaware/L=Wilmington/O=Nacho LLC/CN=Nacho Root CA"
```
### Generate Certificates for the Server
This certificate will be used by the MITM proxy.

Generate the server's private key
```
openssl genrsa -out nacho-server-key.pem 4096
```

### Create a configuration file for the server certificate (nacho-server.conf)
```
cat > nacho-server.conf <