Intercept and mock outgoing Node.js network TCP connections and HTTP requests for testing.
Questions tagged [node-mitm]
2 questions
0
votes
1 answer
Getting body content from request in node-mitm
I have the following node-mitm code.
mitm = Mitm();
mitm.on("request", function(req, res) {
const body = req.body; //body is null
})
I feel this has to do with reading node's IncomingMessage events, but I don't know how to do it.

alayor
- 4,537
- 6
- 27
- 47
-3
votes
1 answer
perform MITM attack in HTTPS traffic
As we know, we can successfully capture login credentials over unencrypted HTTP traffic. Although HTTPS enforces end-to-end encryption, it is still possible to perform it over HTTPS. But i'm a little confused about the detailed steps. Can someoneā¦