mnot / htracr

HTTP sniffing and low-level visualisation
MIT License
531 stars 37 forks source link

Now works with 0.8.x nodejs #15

Closed wolfeidau closed 11 years ago

wolfeidau commented 11 years ago

Gday

I have done a quick fix to get this working on current version of node.

Plan on hacking a bit more to update it and tweak some of the code.

Great tool BTW!

mnot commented 11 years ago

Hey,

Thanks. htracr works with Nodejs 0.8 fine for me; did you install it with -g?

wolfeidau commented 11 years ago

The require in htracr.js means that it can only be run when installed, as it assumes there is a module htracr.

Sort of a chicken and egg problem, initially I assumed this was an artifact of an old node require version.. my bad.

So although my change works in either case, installed or run from the directory it is entirely up to you if you merge it, was as much to see if it was still alive as to get it updated.

Cheers.

mnot commented 11 years ago

No worries.