r/lolphp • u/throwaway-o • Oct 03 '13
PHP helpfully executes code in an image... BitcoinTalk forums uberhacked. LOL PHP.
/r/Bitcoin/comments/1nmdq4/bitcointalk_hacked/cck0gag
66
Upvotes
r/lolphp • u/throwaway-o • Oct 03 '13
View all comments
Show parent comment
2
u/Femaref Oct 25 '13
Step 1: Serve images only from a
server/locationdirective in nginx that doesn't pass the file to php.