github.com·25 october 2026

GitHub - KillaBoi/StealMyBitcoin-PoC: A public release of the Steal My Bitcoin challenge

Image for the article: GitHub - KillaBoi/StealMyBitcoin-PoC: A public release of the Steal My Bitcoin challenge
Image via github.com

A Python script reproduces the request sequence used to solve the Steal My Bitcoin CTF challenge, leveraging memory leaks in PHP 8.4.26 to execute arbitrary commands. The script uses only Python's standard library and targets a Docker lab setup with Alpine PHP 8.4.26. It exploits memory exhaustion to leak heap and code addresses, then forges a PHP structure to call the system function. The live run that solved the challenge is documented separately.