源码安装natcat
下载源码包:http://netcat.sourceforge.net/download.php
# tar -xzvf netcat-0.7.1.tar.gz [root@znode02 netcat-0.7.1]# ls ABOUT-NLS config.guess configure INSTALL Makefile.am NEWS TODO aclocal.m4 config.h.in configure.ac install-sh Makefile.in po AUTHORS config.rpath COPYING lib missing README ChangeLog config.sub doc m4 mkinstalldirs src # mkdir /apps # ./configure --prefix=/apps/nc [root@znode02 netcat-0.7.1]# ls ABOUT-NLS config.h config.sub INSTALL Makefile.am po aclocal.m4 config.h.in configure install-sh Makefile.in README AUTHORS config.log configure.ac lib missing src ChangeLog config.rpath COPYING m4 mkinstalldirs stamp-h1 config.guess config.status doc Makefile NEWS TODO ]# make && make install # tree /apps/nc /apps/nc ├── bin │ ├── nc -> netcat │ └── netcat ├── info │ ├── dir │ └── netcat.info ├── man │ └── man1 │ └── netcat.1 └── share└── locale├── it│ └── LC_MESSAGES│ └── netcat.mo└── sk└── LC_MESSAGES└── netcat.mo10 directories, 7 files
增加环境变量:
# cat /root/.bash_profile # .bash_profile# Get the aliases and functions if [ -f ~/.bashrc ]; then. ~/.bashrc fi# User specific environment and startup programsPATH=$PATH:$HOME/bin NC=/apps/nc PATH=$PATH:$NC/bin export PATH
# source ~/.bash_profile
验证:
# nc -h GNU netcat 0.7.1, a rewrite of the famous networking tool. Basic usages: connect to somewhere: nc [options] hostname port [port] ... listen for inbound: nc -l -p port [options] [hostname] [port] ... tunnel to somewhere: nc -L hostname:port -p port [options]Mandatory arguments to long options are mandatory for short options too. Options:-c, --close close connection on EOF from stdin-e, --exec=PROGRAM program to exec after connect-g, --gateway=LIST source-routing hop point[s], up to 8-G, --pointer=NUM source-routing pointer: 4, 8, 12, ...-h, --help display this help and exit-i, --interval=SECS delay interval for lines sent, ports scanned-l, --listen listen mode, for inbound connects-L, --tunnel=ADDRESS:PORT forward local port to remote address-n, --dont-resolve numeric-only IP addresses, no DNS-o, --output=FILE output hexdump traffic to FILE (implies -x)-p, --local-port=NUM local port number-r, --randomize randomize local and remote ports-s, --source=ADDRESS local source address (ip or hostname)-t, --tcp TCP mode (default)-T, --telnet answer using TELNET negotiation-u, --udp UDP mode-v, --verbose verbose (use twice to be more verbose)-V, --version output version information and exit-x, --hexdump hexdump incoming and outgoing traffic-w, --wait=SECS timeout for connects and final net reads-z, --zero zero-I/O mode (used for scanning)Remote port number can also be specified as range. Example: '1-1024'
源码安装natcat相关推荐
- autoware源码安装与运行ROSBAG示例(二)
autoware入门教程-源码安装autoware1.12.0 说明:介绍如何安装autoware1.12.0 步骤: 安装系统依赖: $ sudo apt-get update $ sudo apt ...
- 源码安装tensorflow
因为官网上的源码安装教程基本也是使用的Python2,所以我这里使用Python3来安装 操作系统:xubuntu17.04 64位 下载bazel,下载页面为https://github.com/b ...
- 在CentOS 6.6 64bit上基于源码安装全功能的vim 7.4实录
CentOS 6.6 64bit上默认的vim版本是7.2 minimal,通过下面的命令查看 yum list installed | grep vim 我打算将其卸载并重新安装官网最新版vim 7 ...
- saltstack源码安装nrpe
最近弄saltstack弄上瘾了,今天又弄了saltstack源码安装nrpe,安装nrpe之前需要安装nagios-plugins,首先是top.sls文件: [root@cacti salt]# ...
- glib 2.0 arm linux,glib源码安装使用方法
glib库是GTK+和GNOME工程的基础底层核心程序库,是一个综合用途的实用的轻量级的C程序库,它提供C语言的常用的数据结构的定义.相关的处理函数,有趣而实用的宏,可移植的封装和一些运行时机能,如事 ...
- Centos 7环境下源码安装PostgreSQL数据库
马上就要去实习了,工作内容是搞数据仓库方面的,用的是postgresql关系型数据库,于是自己先来了解下这种数据的用法,之后说说这个数据库和MySQL的关系和区别. 1.Postgresql简介 看了 ...
- 在 Linux 和 Windows 下源码安装 Perl
Perl 是一种功能丰富的计算机程序语言,运行在超过 100 种计算机平台上,适用广泛,从大型机到便携设备,从快速原型创建到大规模可扩展开发.在生物信息分析领域,Perl 主要是做数据预处理.文本处理 ...
- 生物信息学 Python 入门之源码安装
编程,作为生物信息学的一个基础性技能,是任何一个生信工程师都无法绕开话题.也许有些人还在纠结 Perl 和 Python 到底应该学习哪一个,但作为目前最火最流行的编程语言 Python 还是非常值得 ...
- 源码安装apache实例
在Redhat/Centos系统中一个软件包的安装一般分为两种方式RPM与compile安装. RPM安装方式: 优点 : 提供快速安装,减少编译安装侦错.困扰. 缺点 : 因为相关设定需考量普遍性之 ...
最新文章
- 马莉 - 人神共愤的处女座
- 维秘天使超模美女Romee Strijd性感运动照片
- sql 无法删除当前数据库,因为当前数据库正在使用
- [Abp 源码分析]多租户体系与权限验证
- ArcGIS 10.7如何获取矢量多边形所有折点的坐标(平面坐标和经纬度坐标)?
- c语言函数大全 chm,【oeasy丨c语言丨函数】C语言库函数使用大全CHM版
- Python中通常不应该犯的7个错误
- toast弹窗_一个弹窗的设计思考
- Struts里面的拦截器(针对的是外部调用本系统里面的接口方法)
- Java语言程序设计(基础篇)
- 站库网案例 B宝塔面板怎么建手机版子目录
- 工业智能网关,数据采集网关
- 【傻瓜教程】Ubuntu18.04LTS安装NVIDIA驱动详细完整过程
- 「冰羚」— 撑起自动驾驶未来的“中间件”
- 64匹马8个跑道需要多少轮才能选出最快的四匹
- Java练习题第十九期:另类加法
- UDP实现简单通讯(夕佳佳)
- repo manifest文件
- 负载均衡器技术Nginx和F5的优缺点对比
- 我的世界32位红石计算机,我的世界4个超棒的红石作品 最后红石计算机看后要跪键盘...
热门文章
- java io读取文件_java io读取文件操作代码实例
- 20200926:(leetcode207周周赛题解(上))
- 20190910:(leetcode习题)FizzBuzz
- 化工计算机软件基础考试题,化工原理模拟试题(一)及答案.doc
- pyspark的ALS协同过滤推荐算法-小结1
- PWM级联方案。UART接口的单总线控制多个PWM输出。数字舵机,舵机级联方案
- 英语总结系列(十八):六月一波三折的英语
- 计算机中那些事儿(三):我与Dos的不解情缘---初识篇
- 特斯拉两高管被爆离职,股价狂跌超过10%,马斯克宣布高层大换血
- AI大牛发起神秘字母接龙,起因竟然是……