Repository navigation
v1.99.0
Which file do I need?
| You want | Download |
|---|---|
| The desktop app | ApiTester.App.exe |
| The command line | certapi.exe |
HTTP/3 (--http3) with either |
msquic.dll, saved in the same folder |
Both are self-contained: nothing else to install, no .NET needed. Keep them in one folder and the app's update prompt, or certapi update, keeps them current.
With Scoop: scoop install https://github.com/Real-Fruit-Snacks/certapi/releases/download/v1.99.0/certapi.json
Every file's SHA-256 is in SHA256SUMS.txt. The rest are for building from source (the source at this tag, and a dev kit that builds and tests with no network) and a copy of the fuzz wordlist built into certapi.exe.
What's new
CORS, checked the way a browser checks it. cors now follows redirects hop by hop, checks Private
Network Access, grades a loose policy with --audit (WebSockets too), judges a whole browser
capture with --from-har, and prints the server fix with --suggest. Suites, doctor and the app
can check CORS as they go. mock and serve can answer with a strict, a public or a deliberately
broken CORS policy. Nothing that worked before needs changing.
Added
cors --audit: probes for the CORS mistakes that let another site read an API's answers — any
origin reflected,nulltrusted, look-alike domains that pass a substring or regular-expression
check, plain http trusted, every subdomain trusted, preflights that grant anything — graded high
to info, high when credentials are allowed too. Only GET and OPTIONS are sent; exit 1 on a high
or medium finding.cors --private-network: checks Private Network Access (Access-Control-Request-Private-Network
on the preflight,Access-Control-Allow-Private-Networkin the answer). A public page calling a
private or loopback address is pointed out either way.mock --corsgrants it.corsfollows redirects as a browser does: each hop CORS-checked, a new preflight where needed,
POST to GET on 301/302/303,Authorizationdropped across origins, andOrigin: nullafter a
cross-origin redirect.--max-redirsand--no-redirectapply; the hops are reported.corstakes several--originand-Xvalues (repeated or comma-separated) and prints a table.- A
cors <origin> allowed|credentials|blockedassertion forsend --assert, saved requests and
run, and a CORS target on the app's Tests tab. The request is sent with thatOrigin. doctor --origin <o>: a final cors stage.- The app's Diagnostics view shows the CORS verdict for a request sent with an
Originheader. mcpcors_check:auditandprivateNetworkarguments; redirects are followed with every
hop checked against the allowlist.cors --from-har <file>: every cross-origin request in a browser capture, judged from the
recorded preflight and response;--originjudges them as if from another page,--live
re-checks each against the server now.run --origin <o>(and--cors-credentials): a CORS check on every request of a suite, in its
table, JUnit and markdown reports. Nothing is written to the collection.cors --suggest [<framework>]: the server configuration that grants what was checked, as an
allow-list, for ASP.NET Core, nginx, Express, Spring, IIS and AWS API Gateway.cors --preflight-without-cert: sends the preflight without the client certificate, as the Fetch
standard does, to catch a server that demands the certificate in the TLS handshake.- WebSockets:
cors ws(s)://… --origintries a handshake from each origin;--auditgrades
cross-site WebSocket hijacking (any origin, null, look-alikes, plain http accepted).ws --origin
sends anOriginheader. - The app: a CORS… button opens a full check of the current request — preflight, redirects,
audit, WebSocket origins, and the fix for a chosen server. mock --cors-headers,--cors-methods,--cors-exposeand--cors-max-age: a fixed CORS policy
instead of granting whatever a preflight asks.--cors-staranswers*without credentials.mock --cors-fault: deliberately broken CORS —double-origin,preflight-401,
preflight-redirect,preflight-only,no-vary.- A
--routesroute can carry its own"cors"policy (false,true, or an object), replacing
--corsfor that route. serve --cors-methodsand--cors-no-credentials, and profile keyscorsHeaders,corsExpose,
corsMethods,corsMaxAgeandcorsCredentials.serve --corslogs, once per site, when it replaces an upstream's own CORS headers.
Full Changelog: v1.98.0...v1.99.0