PrepAway - Latest Free Exam Questions & Answers

What exactly is John trying to do?

John Beetlesman, the hacker has successfully compromised the Linux System of Agent Telecommunications, Inc’s WebServer running Apache. He has downloaded sensitive documents and database files off the machine.

Upon performing various tasks, Beetlesman finally runs the following command on the Linux box before disconnecting.

for ((i=0;i<1;i++));do

?dd if=/dev/random of=/dev/hda && dd if=/dev/zero of=/dev/hda

done

What exactly is John trying to do?

PrepAway - Latest Free Exam Questions & Answers

A.
He is making a bit stream copy of the entire hard disk for later download

B.
He is deleting log files to remove his trace

C.
He is wiping the contents of the hard disk with zeros

D.
He is infecting the hard disk with random virus strings

Explanation:
dd copies an input file to an output file with optional conversions. if is input file, -of is output file. /dev/zero is a special file that provides as many null characters (ASCII NULL, 0x00; not ASCII character "digit zero", "0", 0x30) as are read from it. /dev/hda is the hard drive.


Leave a Reply