Nmap scripts: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 30: Zeile 30:
 
*https://hackertarget.com/7-nmap-nse-scripts-recon/
 
*https://hackertarget.com/7-nmap-nse-scripts-recon/
 
*http://resources.infosecinstitute.com/nmap-scripting-example/#gref
 
*http://resources.infosecinstitute.com/nmap-scripting-example/#gref
 +
*https://null-byte.wonderhowto.com/how-to/hack-like-pro-using-nmap-scripting-engine-nse-for-reconnaissance-0158681/

Version vom 13. November 2017, 06:29 Uhr

Locate the scripts

  • locate nse | grep scripts

Finding Vulnerability Scanning Scripts

  • locate *vuln*.nse

Help with a script

  • nmap --script-help=nfs-showmount.nse
Starting Nmap 7.60 ( https://nmap.org ) at 2017-11-13 07:26 CET

nfs-showmount
Categories: discovery safe
https://nmap.org/nsedoc/scripts/nfs-showmount.html
  Shows NFS exports, like the <code>showmount -e</code> command.

NFS Check

  • nmap -sV --script=nfs-showmount.nse 10.82.10.40

SMB Check

  • nmap -p 445 --script smb-os-discovery 10.82.10.40

Traceroute Geolocation

  • nmap --traceroute --script traceroute-geolocation.nse -p 80 www.facebook.com

Show HTTP Title

  • nmap --script http-title -sV -p 443 10.3.4.12

Find Files or interestings Dirs on Webserver

  • nmap --script http-enum -p 443 10.3.4.12

links