Big 11.11 Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

CompTIA PenTest+ Certification Exam PT0-002 Question # 102 Topic 11 Discussion

CompTIA PenTest+ Certification Exam PT0-002 Question # 102 Topic 11 Discussion

PT0-002 Exam Topic 11 Question 102 Discussion:
Question #: 102
Topic #: 11

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.


B.

The configuration required the penetration tester to not utilize additional files.


C.

The Bash script will provide more thorough output.


D.

The penetration tester wanted to persist this script to run on reboot.


Get Premium PT0-002 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.