Nmap scripts: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Thomas (Diskussion | Beiträge)
Die Seite wurde neu angelegt: „=Traceroute Geolocation= *nmap --traceroute --script traceroute-geolocation.nse -p 80 www.facebook.com <pre> Starting Nmap 7.60 ( https://nmap.org ) at 2017-1…“
 
 
(33 dazwischenliegende Versionen von 3 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
=Locate the scripts=
*locate nse | grep scripts
=Finding Vulnerability Scanning Scripts=
*locate *vuln*.nse
oder besser
*cd /usr/share/nmap/scripts
*ls
=help=
*[[nmap-scripts-help]]
=ssh misc=
*[[nmap-scripts-ssh]]
=ssl misc=
*[[nmap-scripts-ssl]]
=smtp misc=
*[[nmap-scripts-smtp]]
=proxy misc=
*[[nmap-scripts-proxy]]
=http misc=
*[[nmap-scripts-http]]
=wordpress-version misc=
*[[nmap-scripts-wordpress-version]]
=Alle Schwachstellen=
*nmap -sV --script vulners 10.0.10.104
=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=
=Traceroute Geolocation=
*nmap --traceroute  --script traceroute-geolocation.nse -p 80 www.facebook.com
*nmap --traceroute  --script traceroute-geolocation.nse -p 80 www.facebook.com
<pre>
=FTP Bannergrabbing=
Starting Nmap 7.60 ( https://nmap.org ) at 2017-11-12 21:35 CET
*nmap -sV -p 21 --script=banner 10.3.4.12
Nmap scan report for www.facebook.com (31.13.65.36)
Host is up (0.0091s latency).
Other addresses for www.facebook.com (not scanned): 2a03:2880:f113:8083:face:b00c:0:25de
rDNS record for 31.13.65.36: edge-star-mini-shv-01-atl3.facebook.com
 
PORT  STATE SERVICE
80/tcp open  http


Host script results:
=Update the Script Database=
| traceroute-geolocation:
*nmap --script-updatedb
|  HOP  RTT  ADDRESS                                                GEOLOCATION
|  1    0.18  172.16.150.2                                          - ,-
|_  2    0.12  edge-star-mini-shv-01-atl3.facebook.com (31.13.65.36)  53.347,-6.244 Ireland ()
</pre>


=links=
=links=
*https://hackertarget.com/7-nmap-nse-scripts-recon/
*https://hackertarget.com/7-nmap-nse-scripts-recon/
*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/
*https://pentestlab.blog/2012/03/08/nmap-scripting-engine-basic-usage-2/

Aktuelle Version vom 1. März 2023, 04:13 Uhr

Locate the scripts

  • locate nse | grep scripts

Finding Vulnerability Scanning Scripts

  • locate *vuln*.nse

oder besser

  • cd /usr/share/nmap/scripts
  • ls

help

ssh misc

ssl misc

smtp misc

proxy misc

http misc

wordpress-version misc


Alle Schwachstellen

  • nmap -sV --script vulners 10.0.10.104


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

FTP Bannergrabbing

  • nmap -sV -p 21 --script=banner 10.3.4.12

Update the Script Database

  • nmap --script-updatedb

links