《Nmap渗透测试指南》—第1章1.3节LinuxUnix源码编译安装Nmap

    xiaoxiao2023-12-25  154

    本节书摘来自异步社区《Nmap渗透测试指南》一书中的第1章1.3节Linux/Unix源码编译安装Nmap,作者 商广明,更多章节内容可以访问云栖社区“异步社区”公众号查看。

    1.3 Linux/Unix源码编译安装Nmap在Linux/Unix中我们可以很方便地通过源码编译安装Nmap,首先在“http://nmap.org/ download.html”中选择源码进行下载。下载完毕后首先解压压缩包。

    root@ubuntu:/home# bzip2 -cd nmap-6.46.tar.bz2 | tar xvf - nmap-6.46/zenmap/zenmapCore/I18N.py nmap-6.46/zenmap/zenmapCore/Version.py nmap-6.46/zenmap/zenmapCore/Paths.py nmap-6.46/zenmap/COPYING_HIGWIDGETS …省略… root@ubuntu:/home# 切换到Nmap目录进行编译。 root@ubuntu:/home# cd nmap-6.46 root@ubuntu:/home/nmap-6.46# ./configure …省略… checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no no configure: creating ./config.status config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status: creating config.h       .    .       \`-"'"-'/        } 6 6 {       ==. Y ,==        /^^^\ .        /   \ ) Ncat: A modern interpretation of classic Netcat       ( )-( )/       -""---""---  /       /  Ncat  \_/      (   ____       \_.=|____E Configuration complete.   ( )  /\  _         (   \ | ( \ ( \.(        )           _____  \ \ \ ` `  ) \       ( ___         / _  \ (_`  \+  . x ( .\      \/  \____-----------/ (o)  \_ - .-        \+ ;     ( O              \____ (__        +- .( -'.- <.  \_____________ `       \ / (_____      ._._: <_ - <- _- _ VVVVVVV VV V\        \/  .  /./.+- . .- / +-- - .  (--_AAAAAAA__A_/        |  (__ ' /x / x _/ (        \______________//_       \_______ , x / ( ' . / . /                 \___'     \   /   / / _/ /  +                    |      \  /   ' (__/                        /       \/                             /         \        NMAP IS A POWERFUL TOOL -- USE CAREFULLY AND RESPONSIBLY Configuration complete. Type make (or gmake on some *BSD machines) to compile. root@ubuntu:/home/nmap-6.46# make root@ubuntu:/home/nmap-6.46# make install

    编译完成后就可以使用Nmap进行渗透测试。

    最新回复(0)