This blog post will be quite fast and will provide you the steps to update the OpenFuck exploit.
This exploit is pretty old but you might need it if you have fun with some vulnerable VMs. Not giving any hint. :–)
Thanks to this blog, I’ve been able to update the exploit.
Here are the steps to make this work :
- 1) Add those headers :
- 2) Update the URL of the C file.
and replace the URL with this new one :
- 3) Get libssl-dev lib
Install them :
- 4) Update declaration of variables
Line 961, change :
By adding const :
- 5) Compile then code and you’re done
To compile :
Hope this can help you out if you got stuck with this exploit. Cheers !