Closed zszszsz closed 8 years ago
actually i am trying to use this as http/https mitm proxy
Mitm.js hooks into Node.js in its outgoing TCP connection layers, so no real TCP connections are involved. You could get the sent data and proxy it to another real host I imagine. You'd have to ensure you call bypass
(an example is in the README) on the real host when proxying, though!
By no real TCP connections I mean it captures everything — every host, every port.
thanks a lot for pointing out my misunderstanding of this project
so it is the mitm of all the node scripts running instead of all the processes of the machine, which means it can not be the mitm of the browser, have I got it right?
Yep. It intercepts connections only from within the same Node.js process its running in. It's mostly a tool for testing JavaScript.
Anything else I can help with?
thank you very much. I was afk several days ago and sorry for not replying that(>_<)
and can I change this?