Dette er en ældre version. Den nyeste version er 2.8.10. Mockzilla 2.8.10 · Udgivet:
Installationsfiler 2.7.3
| Arkitektur | Type | Omfang | Filstørrelse | Download | SHA256 |
|---|---|---|---|---|---|
| 64-bit | Portabel | — | — | github.com | VirusTotal |
| ARM64 | Portabel | — | — | github.com | VirusTotal |
Link og SHA256 stammer fra fællesskabets manifest i Windows Package Manager. Sammenlign hashen for den downloadede fil, før du kører den.
Udgivelsesnoter
Basic Auth for the API Explorer
Protect the Mockzilla API Explorer UI with HTTP Basic Auth. Only the explorer is gated (home, .services, .history, .replay, .config). Your mock API endpoints stay open.
Enable
Via environment variables:
MOCKZILLA_BASIC_AUTH_USER=alice
MOCKZILLA_BASIC_AUTH_PASSWORD=s3cret
or in app.yml:
basicAuth:
user: alice
password: s3cret
Leave them unset to keep the explorer open (the default).
Notes
- Pre-hashed passwords: set MOCKZILLA_BASIC_AUTH_PASSWORD_HASH (SHA-256 hex) instead of plaintext so the secret never travels in cleartext. The hash wins when both are set. Generate one with echo -n 's3cret' | shasum -a 256.
- Credentials are compared in constant time.
- Portable mode now reads .env from the working directory, so these variables (and any other config) can live in a .env next to the binary, matching server mode.