deFr0ggy/GhostLock — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a Windows Python tool for authorized security research that demonstrates how SMB files can become unavailable just by opening them with exclusive share settings, without writing, renaming, encrypting, or changing the files.

I want it to run from one script with no extra installs. When I start it, show a simple menu where I can paste a UNC path or let it discover visible SMB shares and let me pick targets. It should require a safety file called .ghostlock_authorized before touching existing files. It should scan folders, optionally recursively, then hold file handles for a set number of seconds or until Ctrl+C.

Please include command line options too, like max files to lock, hold time, hold forever, recursive mode, targets from JSON, and a small victim simulation that proves other users get sharing violations. When it stops, release everything cleanly and create a timestamped report folder with JSON and Markdown results plus a cache for fast reruns.

Keep the UI clear, scary enough to prevent misuse, and make the authorized use warning impossible to miss.

Want more depth? Deep Reverse