|
|
1 settimana fa | |
|---|---|---|
| static | 1 settimana fa | |
| templates | 1 settimana fa | |
| .codex | 1 settimana fa | |
| .gitignore | 1 settimana fa | |
| Dockerfile | 1 settimana fa | |
| README.md | 1 settimana fa | |
| go.mod | 1 settimana fa | |
| go.sum | 1 settimana fa | |
| main.go | 1 settimana fa | |
| main_test.go | 1 settimana fa | |
| publish.sh | 1 settimana fa |
A small Go web app built with Gin that provides a browser-based toolkit for:
Start the app over HTTP on the default port:
go run .
The app listens on PORT if it is set, otherwise it uses 8080.
PORT=9090 go run .
If both TLS_CERT_FILE and TLS_KEY_FILE are provided, the server starts with HTTPS:
PORT=8443 TLS_CERT_FILE=server.crt TLS_KEY_FILE=server.key go run .
If only one of TLS_CERT_FILE or TLS_KEY_FILE is set, startup fails.
Generate an RSA private key, public key, CSR, and self-signed certificate.
2048, 3072, and 4096Look up common DNS records for a hostname:
A / AAAACNAMEMXNSTXTEnter a URL and the app connects to the remote server over TLS and displays:
Paste PEM blocks directly into the UI to inspect:
The UI uses these JSON endpoints:
POST /api/tls/generatePOST /api/dns/lookupPOST /api/tsl/checkPOST /api/pem/checkgo test ./...
go build ./...
Build the image manually:
docker build -t bmallenxs/tools:latest .
Or use the helper script:
./publish.sh
The script builds the Docker image with the tag bmallenxs/tools:latest.