zookeeper python接口实例详解
313
2022-10-24
nmap编译
一、背景
因某些原因接触到nmap,觉得很有意思,功能强大,并且能学习到很多网络知识,所以决定去探索下nmap。从编译、使用、再到原理,一步一步的逐渐深入的学习。
二、环境说明
windows10 + VMware Workstation 14 Pro + Ubuntu18.04
nmap-7.80.tar.bz2
三、编译
tar xf nmap-7.80.tar.bz2 -C . cd nmap-7.80 ./configure
报错
configure: error: Neither flex nor lex was found. configure: error: ./configure failed for libpcap
安装bison
# https://mirrors.aliyun.com/gnu/bison/ tar xf bison-2.6.1.tar.xz -C . cd bison-2.6.1/ ./configure
报错
checking for GNU M4 that supports accurate traces... configure: error: no acceptable m4 could be found in $PATH. GNU M4 1.4.6 or later is required; 1.4.16 or newer is recommended. GNU M4 1.4.15 uses a buggy replacement strstr on some systems. Glibc 2.9 - 2.12 and GNU M4 1.4.11 - 1.4.15 have another strstr bug.
安装m4
# http://ftp.gnu.org/gnu/m4/ tar xf 4-1.4.18.tar.xz -C . cd m4-1.4.18/ ./configure make sudo make install
继续编译 bison
cd bison-2.6.1/ ./configure make sudo make install
安装flex
tar xf flex-2.6.0.tar.bz2 -C . cd flex-2.6.0 ./configure make sudo make install
继续编译nmap
cd nmap-7.80 ./configure make sudo make install
四、验证
nmap -v Starting Nmap 7.80 ( ) at 2020-08-05 13:16 CST Read data files from: /usr/local/bin/../share/nmap WARNING: No targets were specified, so 0 hosts scanned. Nmap done: 0 IP addresses (0 hosts up) scanned in 0.05 seconds
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~