#Nmap Fundamentals for Network Scanning #buat folder website cd /home/debian/project #buat file website di dalam folder echo "

Test Web Server for Nmap Scanning

" > index.html cat index.html #jalankan web server dengan python python3 -m http.server 8000 & #output perintah di atas seperti di bawah ini [1] 1234 Serving HTTP on 0.0.0.0 port 8000 (http://0.0.0.0:8000/) ... #Ping scan nmap -sn 127.0.0.1 #ping port 21 ftp nmap -sV -p 21 172.18.0.3 #Comprehensive Scanning sudo nmap -sS -sV -O -p 1-1000 127.0.0.1 #simpan hasil scan sudo nmap -sS -sV -O -p 1-1000 127.0.0.1 > /home/debianproject/comprehensive_scan.txt