顯示具有 nmap 標籤的文章。 顯示所有文章
顯示具有 nmap 標籤的文章。 顯示所有文章

2014年2月19日 星期三

Namp Installation

$ wget http://nmap.org/dist/nmap-6.40.tar.bz2
$ bzip2 -cd nmap-6.40.tar.bz2 | tar xvf -
$ cd nmap-6.40
$ ./configure
   (  )   /\   _                 (
    \ |  (  \ ( \.(               )                      _____
  \  \ \  `  `   ) \             (  ___                 / _   \
 (_`    \+   . x  ( .\            \/   \____-----------/ (o)   \_
- .-               \+  ;          (  O                           \____
(__                +- .( -'.- <.   \_____________  `              \  /
(_____            ._._: <_ -="" _-="" _="" br="" nbsp="" v="" vv="">  .    /./.+-  . .- /  +--  - .    (--_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.
$ make
# make install




References :

/usr/share/nmap/scripts//citrix-brute-xml.nse:35: module 'citrixxml' not found

$ /usr/share/nmap/nselib
# wget http://nmap.org/svn/nselib/citrixxml.lua

/usr/local/share/lua/5.1/json/decode.lua:5: module 'lpeg' not found:

# apt-get install luarocks
# luarocks install lpeg





References :
LuaRocks Wiki: Using LuaRocks

nmap install script (nse)

$ cd /usr/share/nmap/scripts
# wget http://nmap.org/svn/scripts/ntp-monlist.nse
# nmap --script-updatedb
# nmap -Pn -p80 --script ip-geolocation-* 8.8.8.8



References :
How-to: install an Nmap script » SkullSecurity
/ - Revision 32740: /nmap/scripts

Information gathering with Nmap scripts

2013年1月11日 星期五

nmap

# nmap -Pn -sS -A 192.168.0.254

-Pn : 掃描前不使用 ping 來判斷主機有沒有存活
-sS : 執行隱秘 tcp 掃描
-A : 執行深入服務枚舉、旗標獲取