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

简介:

本节书摘来自异步社区《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进行渗透测试。

相关文章
|
10天前
|
缓存 Linux 测试技术
安装【银河麒麟V10】linux系统--并挂载镜像
安装【银河麒麟V10】linux系统--并挂载镜像
61 0
|
10天前
|
Linux C语言
linux yum安装ffmpeg 图文详解
linux yum安装ffmpeg 图文详解
28 0
|
10天前
|
NoSQL Linux Redis
linux 下和win下安装redis 并添加开机自启 图文详解
linux 下和win下安装redis 并添加开机自启 图文详解
15 0
|
10天前
|
Linux
linux yum 安装rar和unrar
linux yum 安装rar和unrar
35 0
|
3天前
|
关系型数据库 MySQL Linux
Linux联网安装MySQL Server
Linux联网安装MySQL Server
13 0
|
10天前
|
Java Linux 开发工具
linux jdk的安装
linux jdk的安装
16 0
|
18天前
|
Ubuntu Linux 虚拟化
【Linux】ubuntu安装samba服务器
【Linux】ubuntu安装samba服务器
|
18天前
|
NoSQL Linux Redis
Linux安装Redis
Linux安装Redis
26 0
|
18天前
|
Linux
Linux安装bind9搭建自己的域名服务器
Linux安装bind9搭建自己的域名服务器
11 0
|
21天前
|
应用服务中间件 Linux PHP
Linux下安装php环境并且配置Nginx支持php-fpm模块
Linux下安装php环境并且配置Nginx支持php-fpm模块
18 0