ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 336 - PT0-002 discussion

Report
Export

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?

A.
The typical tools could not be used against Windows systems.
Answers
A.
The typical tools could not be used against Windows systems.
B.
The configuration required the penetration tester to not utilize additional files.
Answers
B.
The configuration required the penetration tester to not utilize additional files.
C.
The Bash script will provide more thorough output.
Answers
C.
The Bash script will provide more thorough output.
D.
The penetration tester wanted to persist this script to run on reboot.
Answers
D.
The penetration tester wanted to persist this script to run on reboot.
Suggested answer: B
asked 02/10/2024
NADIR YAHIA-CHERIF
33 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first