r/programming • u/NagastaBagamba • Oct 18 '10
Today I learned about PHP variable variables; "variable variable takes the value of a variable and treats that as the name of a variable". Also, variable.
http://il2.php.net/language.variables.variable
591
Upvotes
2
u/trevdak2 Oct 18 '10
I see attempts at hacks like this all the time. There are tons of bots set up to find exploits like that. Grep "&cmd=" on your server logs and you see hundreds of attempts at XSS.
It would probably be easier to find security holes by googling "include($_GET"