DEV Community

hwangs12
hwangs12

Posted on

telnet: the fun part

Accessing remote's shell

  1. nmap to find the open port
  2. start telnet session: telnet [ip][port]
  3. start tcp dumper listener
  4. ping my own machine and check if my machine is reachable from the remote machine
  5. if pinged, that means my machine is listening to the command from remote's command
  6. msfvenom to generate command for command payload
  7. start netcat: nc -lvp [myport-that-is-eavesdropping-on-the-machine]
  8. run payload command on telnet session

Top comments (0)