Netcat

  • TCP/IP Swiss Army Knife - we will use this tool alot

  • Can scan ports but can also be used for:

    • chatting between two computers

    • banner grabbing

    • file transfer

    • for shell

  • Traffic is not encrypted ( unless you use ncat)

nc -v google.com 80

it will connect nc to google server if port 80 is open and then we can query it manually for example

after connecting , we can use http parameters like GET, HEAD, OPTIONS etc to send the request and server will return the response

Netcat without -e flag

Port Scanning

Last updated