P E N C I L
Login
Netcat

  1. http://www.terminally-incoherent.com/blog/2007/08/07/few-useful-netcat-tricks

  2. Listen to a port

    1. Ubuntu 18
      nc -l -p 8000 
      Note that -p is important.. nc -l host port will listen to arbitrary port

    2. On Mac:
      nc -l 8000

  3. nc -l -p 8000 -q 1 < a.txt
    echo 'ping'  | nc -lp 8000 -q1
    Stop fter EOF + 1second

  4. nc host port
    Send data to host