What would be the advantage for a penetration tester using a 'for' loop and the ping command over using nmap to discover hosts on an internal network?
1) Scripting allows the timing of packets to be adjusted more closely.
2) Mapping is less likely to be detected since the script controls timing.
3) The scripted commands will run with SYSTEM privileges.
4) No additional software needs to be installed on the target system.