Resolved loop for NMAP and Unicornscans