OffSec Web Expert (OSWE) exam report is the final hurdle in the 48-hour
OSWE-OS-XXXXX-Report.pdf?exploit_<vulnerability_name>.py?OSWE-OS-XXXXX-Exam.zip?Code Analysis: This is the "White-Box" part. Include snippets of the vulnerable source code. Highlight the specific lines where user input is mishandled. Steps to Exploit: Use a numbered list. Send a POST request to X. Intercept the cookie Y. Modify the payload to Z.
OSWE exam reports typically require you to demonstrate that you can not only find the bugs manually but also automate the exploitation process.
A. Source Code Snippet
Since OSWE is white-box, you must copy-paste the exact vulnerable lines of code. Use monospaced formatting and highlight the insecure line (e.g., eval($_GET['cmd'])).
Full Exploit Source: You must include the complete source code for your custom, automated exploit scripts.
The script must be verbose (print URLs, cookies, responses) and require minimal modification. Ideally, the reviewer types python3 exploit.py 192.168.1.100 and gets a shell.