ECCouncil certification · Exam 312-50v12

312-50v12 Mock Exam Page 5

Certified Ethical Hacker CEH v12

Free 312-50v12 questions on Topic 3: Exam Pool C, each with the answer and an explanation.

20 questions · 33 minutes · free, no sign-up

Topic 3: Exam Pool C questions

41–50 of 74 free
Question 41 Choose 1

#!/usr/bin/python import socket buffer=[““A””] counter=50 while len(buffer)<=100:
buffer.append (““A””*counter)
counter=counter+50 commands= [““HELP””,““STATS .””,““RTIME .””,““LTIME. ””,““SRUN
.”’,““TRUN .””,““GMON
.””,““GDOG .””,““KSTET .”,““GTER .””,““HTER .””, ““LTER .”,““KSTAN .””] for command in
commands: for
buffstring in buffer: print ““Exploiting”” +command +““:””+str(len(buffstring))
s=socket.socket(socket.AF_INET,
socket.SOCK_STREAM) s.connect((‘127.0.0.1’, 9999)) s.recv(50)
s.send(command+buffstring) s.close()
What is the code written for?

Show answerHide answer

Correct answer: B

Buffer Overflow

Question 42 Choose 1

Harris is attempting to identify the OS running on his target machine. He inspected the
initial TTL in the IP header and the related TCP window size and obtained the following
results:
TTL: 64 Window Size: 5840
What is the OS running on the target machine?

Show answerHide answer

Correct answer: D

Linux OS

Question 43 Choose 1

John, a security analyst working for an organization, found a critical vulnerability on the
organization's LAN that allows him to view financial and personal information about the rest
of the employees. Before reporting the vulnerability, he examines the information shown by
the vulnerability for two days without disclosing any information to third parties or other
internal employees. He does so out of curiosity about the other employees and may take
advantage of this information later. What would John be considered as?

Show answerHide answer

Correct answer: D

Gray hat

Question 44 Choose 1

You start performing a penetration test against a specific website and have decided to start
from grabbing all the links from the main page.
What Is the best Linux pipe to achieve your milestone?

Show answerHide answer

Correct answer: C

wget https://stte.com | grep "< a href=\*http" | grep "site.com"

Question 45 Choose 1

Which among the following is the best example of the third step (delivery) in the cyber kill
chain?

Show answerHide answer

Correct answer: A

An intruder sends a malicious attachment via email to a target.

Question 46 Choose 1

Eric, a cloud security engineer, implements a technique for securing the cloud resources
used by his organization. This technique assumes by default that a user attempting to
access the network is not an authentic entity and verifies every incoming connection before
allowing access to the network. Using this technique, he also imposed conditions such that
employees can access only the resources required for their role.
What is the technique employed by Eric to secure cloud resources?

Show answerHide answer

Correct answer: D

Zero trust network

Question 47 Choose 1

George, an employee of an organization, is attempting to access restricted websites from
an official computer. For this purpose, he used an anonymizer that masked his real IP
address and ensured complete and continuous anonymity for all his online activities. Which
of the following anonymizers helps George hide his activities?

Show answerHide answer

Correct answer: B

https://www.guardster.com

Question 48 Choose 1

Which iOS jailbreaking technique patches the kernel during the device boot so that it
becomes jailbroken after each successive reboot?

Show answerHide answer

Correct answer: C

Untethered jailbreaking

Explanation

Explanation: An untethered jailbreak is one that allows a telephone to finish a boot cycle
when being pwned with none interruption to jailbreak-oriented practicality.
Untethered jailbreaks area unit the foremost sought-after of all, however they’re additionally
the foremost difficult to attain due to the powerful exploits and organic process talent they
need. associate unbound jailbreak is sent over a physical USB cable association to a
laptop or directly on the device itself by approach of associate application-based exploit,
like a web site in campaign.
Upon running associate unbound jailbreak, you’ll be able to flip your pwned telephone off
and on once more while not running the jailbreak tool once more. all of your jailbreak
tweaks and apps would then continue in operation with none user intervention necessary.
It’s been an extended time since IOS has gotten the unbound jailbreak treatment. the
foremost recent example was the computer-based Pangu break, that supported most
handsets that ran IOS nine.1. We’ve additionally witnessed associate unbound jailbreak
within the kind of JailbreakMe, that allowed users to pwn their handsets directly from the
mobile campaign applications programme while not a laptop.

Question 49 Choose 1

Which of the following types of SQL injection attacks extends the results returned by the
original query, enabling attackers to run two or more statements if they have the same structure as the original one?

Show answerHide answer

Correct answer: D

Union SQL injection

Question 50 Choose 1

if you send a TCP ACK segment to a known closed port on a firewall but it does not
respond with an RST. what do you know about the firewall you are scanning?

Show answerHide answer

Correct answer: B

This event does not tell you encrypting about the firewall.

Full mock exam

Sit the 312-50v12 exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real 312-50v12 exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full 312-50v12 mock exam
  • 65questions per mock
  • 105 mintime limit
  • 569questions in the bank
  • Newmock on every attempt