CompTIA CyberSecurity Analyst CySA+ Certification Exam CS0-003 Question # 4 Topic 1 Discussion

CompTIA CyberSecurity Analyst CySA+ Certification Exam CS0-003 Question # 4 Topic 1 Discussion

CS0-003 Exam Topic 1 Question 4 Discussion:
Question #: 4
Topic #: 1

A security analyst is trying to identify possible network addresses from different source networks belonging to the same company and region. Which of the following shell script functions could help achieve the goal?


A.

function w() { a=$(ping -c 1 $1 | awk-F ”/” ’END{print $1}’) && echo “$1 | $a” }


B.

B. function x() { b=traceroute -m 40 $1 | awk ’END{print $1}’) && echo “$1 | $b” }


C.

C. function y() { dig $(dig -x $1 | grep PTR | tail -n 1 | awk -F ”.in-addr” ’{print $1}’).origin.asn.cymru.com TXT +short }


D.

function z() { c=$(geoiplookup$1) && echo “$1 | $c” }


Get Premium CS0-003 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.