Nmap scripts eine Seite: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| Zeile 1: | Zeile 1: | ||
=Locate the scripts= | =Locate the scripts= | ||
| − | + | locate nse | grep scripts | |
=Finding Vulnerability Scanning Scripts= | =Finding Vulnerability Scanning Scripts= | ||
| − | + | locate *vuln*.nse | |
oder besser | oder besser | ||
| − | + | cd /usr/share/nmap/scripts | |
| − | + | ls | |
=help= | =help= | ||
;ssh-hostkey | ;ssh-hostkey | ||
| − | + | nmap --script-help=ssh-hostkey | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
;nfs-showmount | ;nfs-showmount | ||
| − | + | nmap --script-help=nfs-showmount.nse | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
=ssh misc= | =ssh misc= | ||
==Fingerprint der Hostkeys== | ==Fingerprint der Hostkeys== | ||
| − | + | nmap --script ssh-hostkey 192.168.34.1 | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
==Welche Authentifizierungsmethoden werden unterstützt== | ==Welche Authentifizierungsmethoden werden unterstützt== | ||
| − | + | nmap --script ssh-auth-methods 192.168.34.1 | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
==Welche Cipher-Suits werden unterstützt== | ==Welche Cipher-Suits werden unterstützt== | ||
| − | + | nmap --script ssh2-enum-algos 192.168.34.1 | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
==ssh Bruteforce== | ==ssh Bruteforce== | ||
| − | + | nmap --script ssh-brute 192.168.34.1 | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
=ssl misc= | =ssl misc= | ||
==Fingerprint der Hostkeys== | ==Fingerprint der Hostkeys== | ||
| − | + | nmap --script ssh-hostkey 192.168.34.1 | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
==Welche Authentifizierungsmethoden werden unterstützt== | ==Welche Authentifizierungsmethoden werden unterstützt== | ||
| − | + | nmap --script ssh-auth-methods 192.168.34.1 | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
==Welche Cipher-Suits werden unterstützt== | ==Welche Cipher-Suits werden unterstützt== | ||
| − | + | nmap --script ssh2-enum-algos 192.168.34.1 | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
=ssh Bruteforce= | =ssh Bruteforce= | ||
| − | + | nmap --script ssh-brute 192.168.34.1 | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
=smtp misc= | =smtp misc= | ||
| − | + | [[nmap-scripts-smtp]] | |
=proxy misc= | =proxy misc= | ||
| − | + | [[nmap-scripts-proxy]] | |
=http misc= | =http misc= | ||
Version vom 15. Mai 2025, 16: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-hostkey
nmap --script-help=ssh-hostkey
- nfs-showmount
nmap --script-help=nfs-showmount.nse
ssh misc
Fingerprint der Hostkeys
nmap --script ssh-hostkey 192.168.34.1
Welche Authentifizierungsmethoden werden unterstützt
nmap --script ssh-auth-methods 192.168.34.1
Welche Cipher-Suits werden unterstützt
nmap --script ssh2-enum-algos 192.168.34.1
ssh Bruteforce
nmap --script ssh-brute 192.168.34.1
ssl misc
Fingerprint der Hostkeys
nmap --script ssh-hostkey 192.168.34.1
Welche Authentifizierungsmethoden werden unterstützt
nmap --script ssh-auth-methods 192.168.34.1
Welche Cipher-Suits werden unterstützt
nmap --script ssh2-enum-algos 192.168.34.1
ssh Bruteforce
nmap --script ssh-brute 192.168.34.1
smtp misc
nmap-scripts-smtp
proxy misc
nmap-scripts-proxy
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
- 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/