Nmap aracını port scan amaçlı kullanabileceğimiz gibi, gelişmiş özelliklerini kullanıp pentest amaçlı da kullanabiliriz.Port tarama aracı olarak Fyodor tarafından geliştirilmeye başlanılan nmap günümüzde zaafiyet bulma ve exploit etme özellikleri ile kendisini aşmış durumda :) Hackerlar ve pentestçilerin olmazsa olmaz araçlarından biridir.Bu yazımda nmap'in NSE(nmap script engine) özelliği üzerinde duracağım ve canlı bir örnek ile konuyu ele alacağım.
Ubuntu sistem üzerinde /usr/local/share/nmap/ yolunda nmap dosyalarına erişebilirsiniz:
root@pamuksekeri-pc:/usr/local/share/nmap# ls -lh
total 5.5M
-rw-r--r-- 1 root root 10K 2012-01-08 19:02 nmap.dtd
-rw-r--r-- 1 root root 386K 2012-01-08 19:02 nmap-mac-prefixes
-rw-r--r-- 1 root root 3.1M 2012-01-08 19:02 nmap-os-db
-rw-r--r-- 1 root root 9.8K 2012-01-08 19:02 nmap-payloads
-rw-r--r-- 1 root root 6.2K 2012-01-08 19:02 nmap-protocols
-rw-r--r-- 1 root root 49K 2012-01-08 19:02 nmap-rpc
-rw-r--r-- 1 root root 1.3M 2012-01-08 19:02 nmap-service-probes
-rw-r--r-- 1 root root 608K 2012-01-08 19:02 nmap-services
-rw-r--r-- 1 root root 32K 2012-01-08 19:02 nmap.xsl
drwxr-xr-x 3 root root 4.0K 2012-03-18 08:21 nselib
-rw-r--r-- 1 root root 41K 2012-01-08 19:02 nse_main.lua
drwxr-xr-x 2 root root 20K 2012-03-28 15:33 scripts
-rw-r--r-- 1 root root 1.4K 2012-03-29 20:45 test_nmap_results.xml
Ubuntu sistem üzerinde /usr/local/share/nmap/ yolunda nmap dosyalarına erişebilirsiniz:
root@pamuksekeri-pc:/usr/local/share/nmap# ls -lh
total 5.5M
-rw-r--r-- 1 root root 10K 2012-01-08 19:02 nmap.dtd
-rw-r--r-- 1 root root 386K 2012-01-08 19:02 nmap-mac-prefixes
-rw-r--r-- 1 root root 3.1M 2012-01-08 19:02 nmap-os-db
-rw-r--r-- 1 root root 9.8K 2012-01-08 19:02 nmap-payloads
-rw-r--r-- 1 root root 6.2K 2012-01-08 19:02 nmap-protocols
-rw-r--r-- 1 root root 49K 2012-01-08 19:02 nmap-rpc
-rw-r--r-- 1 root root 1.3M 2012-01-08 19:02 nmap-service-probes
-rw-r--r-- 1 root root 608K 2012-01-08 19:02 nmap-services
-rw-r--r-- 1 root root 32K 2012-01-08 19:02 nmap.xsl
drwxr-xr-x 3 root root 4.0K 2012-03-18 08:21 nselib
-rw-r--r-- 1 root root 41K 2012-01-08 19:02 nse_main.lua
drwxr-xr-x 2 root root 20K 2012-03-28 15:33 scripts
-rw-r--r-- 1 root root 1.4K 2012-03-29 20:45 test_nmap_results.xml
