------------------------------------------------------------------------------------- / _ \ \_\(_)/_/ _//"\\_ JOHLEM.net / \ https://johlem.net/ ------------------------------------------------------------------------------------- Usefull netcat command to know: Port scanning: nc -v -n -z -w 1 1-65535 File transfer: nc -l -p > (to receive) and nc < (to send) Remote shell: nc -l -p -e /bin/bash (to start a listener) and nc (to connect and get a shell) Network sniffing: nc -l -p | tee Port redirection: nc -l -c and nc Chatting: nc -l (to start a listener) and nc (to connect and chat) Checking a service availability: nc -v HTTP requests: nc (then type the request and press enter twice) Note: netcat is a powerful and versatile command-line tool that can be used for a wide range of network-related tasks. The commands listed above are just examples of what you can do with netcat, but it has many more capabilities.