源码安装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安装方式: 优点 : 提供快速安装,减少编译安装侦错.困扰. 缺点 : 因为相关设定需考量普遍性之 ...
最新文章
- 李飞飞出任推特董事会成员:将利用AI技术持续推动变革
- ASP .NET 如何在 SQL 查询层面实现分页
- 最近在弄ionic3的时候遇到的一些问题(遇到就更新)
- arcgis怎么运行python_在arcgis上用python脚本(arcpy)做数据批处理
- 开发工具使用技巧和插件大总结
- 红米android版本,微信红米低版本下载
- Mysql 零距离-入门(六)数据唯一约束性
- python怎么另起一行阅读答案_一行代码将Pandas加速4倍
- django学习笔记03
- ctags 的最简单使用
- 预训练模型的技术演进:乘风破浪的PTM
- 空间换时间,轻松提高性能100倍
- 使用python的视频处理
- scp远程传输文件之权限被拒绝解决方案
- go语言中的换行和分号
- 在键盘上怎么点出来上下居中的点?
- openscad螺栓数据生成2
- 线性表之线性表与数组的区别
- 网络篇 谈谈对学习网络的看法
- mysql 开源入门_入门教程:安装配置新版MySQL 8开源数据库
热门文章
- Android自定义Button样式(水平滑动多个Button)
- linux scp 隐藏文件,scp 客户端发现了隐藏 35 年的漏洞
- 用python如何制作表格步骤_Python中用xlwt制作表格实例讲解
- 变位齿轮重合度计算公式_渐开线圆柱齿轮传动的重合度计算.pdf
- wxpython嵌入图片_将图片文件嵌入到wxpython代码中的实现方法
- Siri在苹果继续活着、蠢着、没落着,现在它最后一个创始人也走了
- 科技部:推进人工智能和实体经济深度融合 壮大智能经济
- 问答Goodfellow:没有样例能不能训练机器学习算法?
- go 的基本数据类型
- 制造-销售”模式正在消亡,传统大型企业的上云之路要如何举步?