CompTIA PT0-002 Question Answer
A penetration tester wrote the following script on a compromised system:
#!/bin/bash
network='10.100.100'
ports='22 23 80 443'
for x in {1 .. 254};
do (nc -zv $network.$x $ports );
done
Which of the following would explain using this script instead of another tool?
CompTIA PT0-002 Summary
- Vendor: CompTIA
- Product: PT0-002
- Update on: Jul 17, 2025
- Questions: 464