Cooler_

test post

Jul 24th, 2012
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. <html>
  2. <head>
  3. <script type="text/javascript">
  4. /*
  5. var http = new XMLHttpRequest();
  6. var url = "http://www.WebbotsSpidersScreenScrapers.com/form_analyzer.php";
  7. var params = "username=admin&name=password";
  8. http.open("POST", url, true);
  9.  
  10. //Send the proper header information along with the request
  11. http.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
  12. http.setRequestHeader("Content-length", params.length);
  13. http.setRequestHeader("Connection", "close");
  14.  
  15. http.onreadystatechange = function() {//Call a function when the state changes.
  16. if(http.readyState == 4 && http.status == 200) {
  17. alert(http.responseText);
  18. }
  19. }
  20. http.send(params);
  21. */
  22. //document.write(document.getElementsByName("id").value="bob");
  23. //document.getElementsByName("id").value = "bob";
  24. //document.getElementsByName("username").value = "usuario";
  25. //document.getElementsByName("password").value = "senha";
  26. //document.getElementsByType("submit").submit();
  27. </script>
  28. </head>
  29.  
  30. <body>ola
  31.  
  32. <form action="http://www.WebbotsSpidersScreenScrapers.com/form_analyzer.php" method="POST">
  33. <input type="text" name="username" id="username" />
  34. <input type="text" name="password" id="password" />
  35. <input type="hidden" name="id" id="last" value="1">
  36. <input type="submit" />
  37.  
  38. </body>
  39. </html>
Advertisement
Add Comment
Please, Sign In to add comment