Courseiva

PEN-200 · topic practice

Public Exploits practice questions

This domain covers finding, evaluating, adapting, and safely executing public exploit code against target services. PEN-200 tests it through hands-on scenarios: locating a PoC for a known CVE, understanding what the script actually does, adjusting payload options like LHOST, and troubleshooting failures such as connection errors or missing callbacks.

Courseiva uses original exam-style practice questions designed for learning and revision. The goal is to understand the concepts, recognise exam patterns, and improve through explanations — not memorise copied exam dumps.

Editorial oversight:Johnson Ajibi· MSc IT Security, IEEE Senior Member
20 questionsDomain: Public Exploits

What the exam tests

What to know about Public Exploits

A candidate must locate a relevant public exploit, read and understand it, set correct options such as LHOST and target port, and execute it safely. The single most important thing is verifying the exploit matches the target version and that your listener and callback path actually work.

Reading exploit source to identify required arguments, hardcoded paths, and payload type before execution

Setting correct LHOST/LPORT values and matching reverse-shell payloads to the target OS and architecture

Diagnosing failures such as connection refused, closed ports, and blocked outbound callbacks from the target

Adapting PoCs for Windows features like Print Spooler and attacker-hosted SMB shares serving malicious DLLs

Watch out for

Common Public Exploits exam traps

  • ▸Running a public exploit without reading its code or verifying the target version, causing crashes or unintended damage
  • ▸Leaving default LHOST/LPORT or using a payload mismatched to the target architecture, so no shell returns
  • ▸Assuming a reported success means code execution, when the callback was blocked by a firewall or wrong interface

Practice set

Public Exploits questions

20 questions · select your answer, then reveal the explanation

Which of the following describes the safest way to test a public exploit against an exam target?

You are analyzing a Python exploit script that utilizes 'ctypes' to interface with a local library. Which TWO considerations are essential when porting this exploit to a different Linux distribution?

You are preparing a C-based exploit for a Linux buffer overflow. Which THREE actions must you perform to successfully compile and run the code?

You have a reliable exploit that crashes a service, but the reverse shell payload consistently fails. What is the most likely reason for this in a modern Linux environment?

Question 5mediummultiple choice
Read the full Public Exploits explanation →

You are conducting a penetration test against a Windows Server 2019 host. You identify a vulnerable version of a web application and locate a public exploit that uses a hardcoded return address of 0x1000AFC0. The exploit works in your lab on a Windows Server 2016 VM but fails on the target. What is the most likely reason for the failure?

You are using a public exploit for a buffer overflow in a Linux service. The exploit includes shellcode that spawns /bin/sh on a local port. After running it, the service crashes but no shell is obtained. You confirm the offset is correct. Which is the MOST likely cause?

Question 7mediummultiple choice
Read the full Public Exploits explanation →

You have identified a vulnerable service using an outdated version of a CMS. You successfully locate a public exploit script on GitHub. What is the most critical first step before running this script against your target?

Which repository is generally considered the most reliable starting point for finding verified, community-contributed public exploits during an OSCP assessment?

When modifying a public exploit to fit your specific target, which TWO of the following actions are considered best practices? (Choose TWO)

Question 10hardmultiple choice
Read the full Public Exploits explanation →

Refer to the exhibit. You identify an Apache 2.4.49 vulnerability and locate the exploit. After reviewing the exploit code, you realize it requires a specific input format to trigger the path traversal. What is the most effective way to verify the vulnerability without crashing the server?

Exhibit

searchsploit -w 'Apache' | grep '2.4.49'
[+] https://www.exploit-db.com/exploits/50383
Question 11mediummultiple choice
Read the full Public Exploits explanation →

Why might a public exploit for a specific service fail to execute even when the service version matches the vulnerability description exactly?

Question 12easymultiple choice
Read the full Public Exploits explanation →

When using Searchsploit, what is the purpose of the '-m' flag?

Question 13mediummultiple choice
Study the full Python automation breakdown →

You have found a Python exploit that uses the 'requests' library but your target machine only has standard Python installed. What is your best course of action?

Question 14hardmultiple choice
Read the full Public Exploits explanation →

Refer to the exhibit. You are running a public exploit, but it fails with a 'Connection refused' error. What should you investigate first?

Exhibit

Error: [Errno 111] Connection refused
Target: 10.10.10.5:8080
Payload: reverse_tcp
Question 15mediummultiple choice
Read the full Public Exploits explanation →

Why is it important to use a local listener that matches the protocol expected by your exploit's payload?

When analyzing a public exploit, which TWO elements should you specifically look for to understand its networking behavior? (Choose TWO)

Question 17hardmultiple choice
Read the full Public Exploits explanation →

When an exploit script uses hardcoded memory addresses, why is it likely to fail on a modern target system?

Question 18easymultiple choice
Read the full Public Exploits explanation →

What is the primary danger of using a public exploit without first auditing the source code?

Question 19mediummultiple choice
Read the full Public Exploits explanation →

You have identified an outdated version of a web application running on a target. You found a public exploit script for this version on Exploit-DB. Which step is most critical before executing the exploit script against the target?

Question 20easymultiple choice
Read the full Public Exploits explanation →

Which resource is most reliable for verifying that a public exploit is legitimate and does not contain hidden backdoors?

Free account

Track your progress over time

Create a free account to save your results and see which topics improve across sessions.

Focused Public Exploits sessions

Start a Public Exploits only practice session

Every question in these sessions is drawn from the Public Exploits domain — nothing else.

Related practice questions

Related PEN-200 topic practice pages

Move into related areas when this topic feels solid.

Frequently asked questions

What does the PEN-200 exam test about Public Exploits?
A candidate must locate a relevant public exploit, read and understand it, set correct options such as LHOST and target port, and execute it safely. The single most important thing is verifying the exploit matches the target version and that your listener and callback path actually work.
How should I use these practice questions?
Select your answer before revealing the explanation. Then read why each option is right or wrong — this active recall approach builds retention far faster than re-reading notes.
Can I practise just Public Exploits questions in a focused session?
Yes — the session launcher on this page draws every question from the Public Exploits domain. Use a 10-question session first to gauge your baseline, then move to 20 or 30 once the weak spots are clear.
Where can I practise other PEN-200 topics?
Use the topic links above to move to related areas, or go back to the PEN-200 question bank to see all topics.
Are these real exam questions or dumps?
These are original practice questions written to test the same concepts the PEN-200 exam covers. They are not copied from any real exam or dump site.