当前位置:网站首页>NC basic usage
NC basic usage
2022-04-23 20:05:00 【franket】
Preface
nc (NetCat) It's a use TCP/IP A gadget to read and write network data .
Netcat is a featured networking utility which reads and writes data across network connections, using the TCP/IP protocol.
It is designed to be a reliable “back-end” tool 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 exploration tool, since it can create almost any kind of connection you would need and has several interesting built-in capabilities.
It provides access to the following main features:
- Outbound and inbound connections, TCP or UDP, to or from any ports.
- Featured tunneling mode which allows also special tunneling such as UDP to 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.
- Built-in port-scanning capabilities, with randomizer.
- Advanced usage options, such as buffered send-mode (one line every N seconds), and hexdump (to stderr or to a specified file) of trasmitted and received data.
- Optional RFC854 telnet codes parser and responder.
The GNU Netcat is distributed freely under the GNU General Public License (GPL).
Let's share its Basic usage
Tip: The official version is still 11 Jan 2004 year released Netcat 0.7.1 , Visiting the official website may have to climb the wall
Summary
install nc
[[email protected] ~]# yum -y install nc
Loaded plugins: dellsysid, fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
epel/metalink | 5.5 kB 00:00
* base: mirrors.163.com
* epel: ftp.riken.jp
* extras: mirrors.aliyun.com
* updates: mirrors.163.com
base | 3.7 kB 00:00
dell-omsa-indep | 1.9 kB 00:00
dell-omsa-specific | 1.9 kB 00:00
elasticsearch-1.5 | 2.9 kB 00:01
epel | 4.3 kB 00:00
epel/primary_db | 5.7 MB 02:11
extras | 3.4 kB 00:00
http://yum.theforeman.org/releases/1.8/el6/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://yum.theforeman.org/releases/1.8/el6/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
Trying other mirror.
foreman-plugins | 2.9 kB 00:02
mongodb-org-3.0 | 2.9 kB 00:00
percona-release-noarch | 951 B 00:00
percona-release-x86_64 | 951 B 00:00
puppetlabs-deps | 2.5 kB 00:00
puppetlabs-products | 2.5 kB 00:00
rabbitmq_rabbitmq-server/signature | 836 B 00:00
rabbitmq_rabbitmq-server/signature | 1.0 kB 00:00 ...
rabbitmq_rabbitmq-server-source/signature | 836 B 00:00
rabbitmq_rabbitmq-server-source/signature | 1.0 kB 00:00 ...
rhscl-ruby193-epel-6-x86_64 | 3.0 kB 00:00
rhscl-v8314-epel-6-x86_64 | 3.0 kB 00:00
updates | 3.4 kB 00:00
varnish-4.0 | 951 B 00:00
zabbix | 951 B 00:00
zabbix-non-supported | 951 B 00:00
Resolving Dependencies
--> Running transaction check
---> Package nc.x86_64 0:1.84-24.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
====================================================================================================================================
Package Arch Version Repository Size
====================================================================================================================================
Installing:
nc x86_64 1.84-24.el6 base 57 k
Transaction Summary
====================================================================================================================================
Install 1 Package(s)
Total download size: 57 k
Installed size: 109 k
Downloading Packages:
nc-1.84-24.el6.x86_64.rpm | 57 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
** Found 6 pre-existing rpmdb problem(s), 'yum check' output follows:
perl-DBD-MySQL-4.013-3.el6.x86_64 has missing requires of libmysqlclient.so.16()(64bit)
perl-DBD-MySQL-4.013-3.el6.x86_64 has missing requires of libmysqlclient.so.16(libmysqlclient_16)(64bit)
ruby-mysql-2.8.2-1.el6.x86_64 has missing requires of libmysqlclient.so.16()(64bit)
ruby-mysql-2.8.2-1.el6.x86_64 has missing requires of libmysqlclient.so.16(libmysqlclient_16)(64bit)
ruby193-rubygem-mysql2-0.3.11-4.el6.x86_64 has missing requires of libmysqlclient_r.so.16()(64bit)
ruby193-rubygem-mysql2-0.3.11-4.el6.x86_64 has missing requires of libmysqlclient_r.so.16(libmysqlclient_16)(64bit)
Installing : nc-1.84-24.el6.x86_64 1/1
Verifying : nc-1.84-24.el6.x86_64 1/1
Installed:
nc.x86_64 0:1.84-24.el6
Complete!
[[email protected] ~]#
版权声明
本文为[franket]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231947044872.html
边栏推荐
- MySQL syntax collation (5) -- functions, stored procedures and triggers
- [H264] hevc H264 parsing and frame rate setting of the old version of libvlc
- Compact CUDA tutorial - CUDA driver API
- C6748 软件仿真和硬件测试 ---附详细FFT硬件测量时间
- nc基础用法1
- php参考手册String(7.2千字)
- Electron入门教程3 ——进程通信
- Kubernetes入门到精通-在 Kubernetes 上安装 OpenELB
- Possible root causes include a too low setting for -Xss and illegal cyclic inheritance dependencies
- Unity创建超写实三维场景的一般步骤
猜你喜欢
The most detailed network counting experiment in history (2) -- rip experiment of layer 3 switch
Grafana 分享带可变参数的链接
山大网安靶场实验平台项目—个人记录(四)
命令-sudo
FFT物理意义: 1024点FFT就是1024个实数,实际进入fft的输入是1024个复数(虚部为0),输出也是1024个复数,有效的数据是前512个复数
C6748 软件仿真和硬件测试 ---附详细FFT硬件测量时间
Kubernetes入门到精通-裸机LoadBalence 80 443 端口暴露注意事项
No, some people can't do the National Day avatar applet (you can open the traffic master and earn pocket money)
Is meituan, a profit-making company with zero foundation, hungry? Coupon CPS applet (with source code)
程序设计语言基础(2)
随机推荐
nc基础用法1
Electron入门教程3 ——进程通信
The most detailed network counting experiment in history (2) -- rip experiment of layer 3 switch
MFC获取本机IP(网络通讯时用得多)
nc基础用法
MySQL syntax collation (4)
对普通bean进行Autowired字段注入
图书管理数据库系统设计
Garbage collector and memory allocation strategy
Lpc1768 optimization comparison of delay time and different levels
数据库查询 - 选课系统
Possible root causes include a too low setting for -Xss and illegal cyclic inheritance dependencies
Design of library management database system
深度分析数据恢复原理——那些数据可以恢复那些不可以数据恢复软件
高效的串口循环Buffer接收处理思路及代码2
[报告] Microsoft :Application of deep learning methods in speech enhancement
山东大学软件学院项目实训-创新实训-网络安全靶场实验平台(五)
Efficient serial port cyclic buffer receiving processing idea and code 2
[text classification cases] (4) RNN and LSTM film evaluation Tendency Classification, with tensorflow complete code attached
Grafana shares links with variable parameters