QuestionQ216
Reconnaissance and EnumerationA penetration tester creates the following script to enumerate a /24 network:

The tester runs the script, but it returns this error:
-bash: syntax error near unexpected token ‘ping’
What should the tester do to correct the error?
- A Add do after line 2.
- B Replace {1..254} with $(seq 1 254).
- C Replace bash with zsh.
- D Replace $i with $[i].
Community Discussion