You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 22, 2023. It is now read-only.
htracr is a packet sniffer and visualisation tool for HTTP. It does not give
you a score, grade, or hold your hand when you're crying because your site
is so damn slow, but it will give you unparalleled insight into what's
actually happening on the wire between your browser and the Web.
Installing htracr
First you'll need Node and its package manager,
npm. You'll also need a modern Web browser
(known to work: Safari 5, FireFox 4, and Chrome).
Then, htracr can be installed with npm like this:
sudo npm -g install htracr
which will install dependencies automatically.
See 'Installation Problems?' below if you have any issues getting htracr
onto your system.
htracr is designed for use on the same machine your web browser or other
client runs on; while it's possible to run it on a server, it'll be difficult
to make sense of all of the traffic coming to a normal server.
To use htracr, start it up like this:
htracr [listen-port]
where listen_port is the port you'd like htracr to be available on. Then,
point your browser at it; e.g.:
because my pcap headers are in a non-standard place (thanks to MacPorts).
YMMV.
npm
Older versions of npm interact strangely with optimist and htracr. If you
have other issues installing npm, try upgrading npm, then re-installing
htracr.