sxyrxyy/CVE-2025-8088-WinRAR-Proof-of-Concept-PoC-Exploit- ? reverse-engineered prompt
Reverse engineered prompt
Build me a small Python tool that demonstrates the WinRAR CVE 2025 8088 issue for research and learning.
I want a script that takes a decoy file, a harmless payload file, and a folder path to drop into, then creates a crafted RAR archive showing how the path traversal problem works with alternate data streams. It should make the necessary files if they do not already exist, find rar.exe if possible, or let me point to it directly, then build the final archive in a simple, repeatable way.
Please include clear command line options for the input files, output name, working folder, and the target folder path. Make the script easy to run on Windows and add a short usage example in the README. Keep it focused on the proof of concept only, and use harmless sample content. If you need to check current WinRAR command line details or Python docs online, feel free to do that.
Are you gonna build this?
make sure you review the code using coderabbit