Skip to content

Instantly share code, notes, and snippets.

View root-ali's full-sized avatar
:octocat:

Ali Soltani root-ali

:octocat:
View GitHub Profile
@root-ali
root-ali / tcpproxy.js
Last active February 19, 2020 07:16 — forked from kfox/tcpproxy.js
A basic TCP proxy written in node.js with dynamic remote host
#!/usr/bin/env node
const net = require('net');
process.on('uncaughtException', function(error) {
console.error(error);
});
const localPortHttp = process.argv[2];
const localPortHttps = process.argv[3];
@root-ali
root-ali / command-line-hero.MD
Created October 2, 2020 15:55 — forked from mthri/command-line-hero.MD
Command Line Hero (Part Software)

Command Line Hero (Part Software)


echo

Display a line of text/string on standard output or a file.

Syntax

echo [Options] [Strings]

Options: