List of questions
Related questions
Question 28 - CS0-003 discussion
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.
function x() { b=traceroute -m 40 $1 | awk 'END{print $1}') && echo ''$1 | $b'' }
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'' }
Your answer:
0 comments
Sorted by
Leave a comment first