Skip to content

Instantly share code, notes, and snippets.

View ResearcherOne's full-sized avatar
👨‍💻
Creating

Birkan Kolcu ResearcherOne

👨‍💻
Creating
View GitHub Profile
@ResearcherOne
ResearcherOne / tcpproxy.js
Created December 19, 2019 23:52 — forked from kfox/tcpproxy.js
A basic TCP proxy written in node.js
var net = require("net");
process.on("uncaughtException", function(error) {
console.error(error);
});
if (process.argv.length != 5) {
console.log("usage: %s <localport> <remotehost> <remoteport>", process.argv[1]);
process.exit();
}