Netcat Command In windows
Netcat (often abbreviated to nc) is a computer networking service for reading from and writing to network connections using TCP or UDP. Netcat is designed to be a dependable back-end that can be used directly or easily driven by other programs and scripts. At the same time, it is a feature-rich network debugging and investigation tool, since it can produce almost any kind of correlation its user could need and has a number of built-in capabilities.
Its list of features includes port scanning, transferring files, and port listening, and it can be used as a backdoor.
Features
netcat’s features include:[1]
Outbound or inbound connections, TCP or UDP, to or from any ports Full DNS forward/reverse checking, with appropriate warnings Ability to use any local source port Ability to use any locally configured network source address Built-in port-scanning capabilities, with randomization Built-in loose source-routing capability Can read command line arguments from standard input Slow-send mode, one line every N seconds Hex dump of transmitted and received data Optional ability to let another program service establish connections Optional telnet-options responder Featured tunneling mode which permits user-defined tunneling, e.g., UDP or TCP, with the possibility of specifying all network parameters (source port/interface, listening port/interface, and the remote host allowed to connect to the tunnel).
Its list of features includes port scanning, transferring files, and port listening, and it can be used as a backdoor.
Features
netcat’s features include:[1]
Outbound or inbound connections, TCP or UDP, to or from any ports Full DNS forward/reverse checking, with appropriate warnings Ability to use any local source port Ability to use any locally configured network source address Built-in port-scanning capabilities, with randomization Built-in loose source-routing capability Can read command line arguments from standard input Slow-send mode, one line every N seconds Hex dump of transmitted and received data Optional ability to let another program service establish connections Optional telnet-options responder Featured tunneling mode which permits user-defined tunneling, e.g., UDP or TCP, with the possibility of specifying all network parameters (source port/interface, listening port/interface, and the remote host allowed to connect to the tunnel).
To download netcat click here
now you have extract it or install it and set path in environment variable in
- Right click on This Pc (My computer)
- select properties
- click on Advanced system setting
- select Advance tab
- click on Environment variable at bottom
- create new if variable with name “Path” not exists and paste the directory path in variable value field.
- Now to check that netcat is configured or not type nc -h
now for communicating windows
type nc -L -p 1234 (Any port no >1023)
this will listen port 1234 forcefully in some cases nc -l portno not working so use above command
then open new cmd window and type nc 127.0.0.1 1234
that is nc localhost_ip port_no_active
you can use your ip address for to connect two machines
Comments
Post a Comment