Netcat is a tool capable of writing data across a network using TCP or UDP protocol but this simple capability allows it to perform many functionalities. Its capability to create almost any kind of connection makes it a simple and efficient network debugging and exploration tool. It has been built in such a manner that it can act as a client as well as a server, which elevates its utility to a higher level.
Common uses for Netcat:
- Chat/Messaging Server : By using Netcat, an operator can redirect simple text between two computers in a simplistic chat or in an instant message interface.
Machine B C:\> nc 192.168.118.130 123
- File Transfers : Netcat allows you to transfer files between computers without the need to install a full-blown FTP server
Machine A root@bt:- # nc –lv -p 123 > test.txt
Machine B C:\> nc 192.168.118.130 123 < test1.txt
- Banner Grabbing : Netcat allows an operator to establish a socket to a specific port to potentially identify the operating system, service, version, and other information necessary to enumerate the purpose and/or potential weaknesses in the service.
- Port Scanning: Netcat allows the operator to utilize a rudimentary port scanning function, whereby a port or series of ports can be interrogated to determine if the port is open or closed.
- Port Redirection: A simple technique used to transfer traffic from one port to another. It is utilized to access services which are restricted in any specific environment.
Machine B Browse 192.168.118.130:8008
No comments:
Post a Comment