Port scanning
nmap –sC 192.168.1.120 -d -p-nmap -p U:53 192.168.1.120nmap -p- -sA -sU -sV 192.168.1.120nmap -p- -A 192.168.1.120 -oA <outputFileName> --webxmlxsltproc -o <OutputFileName.html> /usr/share/nmap/nmap.xsl <nmapScan.xml>Scan ports locally using Living Of The lands tools (Powershell) in Windows
# Check if TCP ports 1 to 1024 are open on srvfs01
foreach ($port in 1..1024) {
If (($a=Test-NetConnection srvfs01 -Port $port -WarningAction SilentlyContinue).tcpTestSucceeded -eq $true) {
"TCP port $port is open!"
}
}
# Get local TCP connections on port 5000 along with the process name
Get-NetTCPConnection | where Localport -eq 5000 | Select-Object Localport,@{'Name' = 'ProcessName';'Expression'={(Get-Process -Id $_.OwningProcess).Name}}ICMP and Network Scanning
ICMP File Transfer
OS/Banner Version Fingerprinting
Python Script for Banner Grabbing
Last updated