Saturday, August 31, 2019

Netcat (communincation channel and Banner grabbing)

Communication channel
----------------

builtin for linux.windows need to download.

Below one will open a port:
nc -lvp 5555

From the other machine connect to above one:
nc <machine1_ip>

it will open communication channel and you can send messages at both ends.

netstat -an : to verify whether the connection took place.


Banner grabbing
----------------


nc <machine1_ip> <any_port>

will give the info of what is running at that port if it is open and running.

A banner will be shown about the app running as the console output.

No comments:

Post a Comment