Re:Attempt to hack WordPress with a pull request
by TazeTSchnitzel on Saturday September 01, 2012 @02:02PM
(#4464516)
It's cool and all, but I get the feeling that the pull requester probably didn't write the code.
Re:Attempt to hack WordPress with a pull request
by notJim on Saturday September 01, 2012 @02:27PM
(#4464620)
Hacks like this are commonly available. Back when I was working with Wordpress more, I saw them a few times. What's kind of cool when you see them is that they're often obfuscated several layers deep, so getting to the code is kind of like a puzzle.
Worth a read not because it's a genius-level hack, but worth to see the breadth-first attempt that the attack takes to utilize a number of strategies. Realizing the number of attack vectors that you have to defend against is key to writing secure code.
In that sense, I wonder if there are other good examples of attack code hosted on github somewhere. Seems like there's as much to learn from "black hat" code attacks as there is from doing code reviews on your own codebase.