Nmap Scanning Script This script allows us to scan ip addresses and their ports with nmap. As you run, it'll ask you two inputs, the IP that you desire to lookup and the port that you want to listen. After that, it'll ask you to input which type of Scan you want: SYN ACK, UDP or Comprehensive.