nc icon indicating copy to clipboard operation
nc copied to clipboard

Netcat as a proxy

Open roccomuso opened this issue 7 years ago • 0 comments

Netcat as a Proxy

$ mkfifo /tmp/fifo
$ nc -l -k -p 8080 </tmp/fifo | nc website.com 80 >/tmp/fifo

Raise:

events.js:472
function arrayClone(arr, i) {
                   ^

RangeError: Maximum call stack size exceeded
    at arrayClone (events.js:472:20)
    at emitOne (events.js:99:21)
    at Socket.emit (events.js:188:7)
    at onwriteError (_stream_writable.js:319:10)
    at onwrite (_stream_writable.js:337:5)
    at WritableState.onwrite (_stream_writable.js:89:5)
    at fireErrorCallbacks (net.js:462:13)
    at Socket._destroy (net.js:471:5)
    at Socket._writeGeneric (net.js:672:10)
    at Socket._write (net.js:724:8)

roccomuso avatar Jun 23 '17 20:06 roccomuso