Service Scanning
Nmap Default Script-Scan
Description: Run an nmap scan that includes version detection (
-sV), the default set of scripts (-sC), and scans all ports (-p-).Command:
nmap -sV -sC -p- 10.129.42.253
List Available nmap Scripts
Description: Locate available nmap scripts related to Citrix.
Command:
locate scripts/citrix
Run an nmap Script on an IP
Execute the
smb-os-discovery.nsenmap script on an IP, targeting port 445.
Command:
nmap --script smb-os-discovery.nse -p445 10.10.10.40Banner Grabbing using Netcat (nc)
Description: Use netcat to grab the banner from an open port (in this case, port 22).
Command:
netcat 10.10.10.10 22
List SMB Actions
Description: Use
smbclientto list SMB actions available on the target IP.Command:
smbclient -N -L \\10.129.42.253
Connect to an SMB Share
Description: Connect to a specific SMB share (named
users) on the target IP.Command:
Last updated