Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <script type="text/javascript">
- /*
- var http = new XMLHttpRequest();
- var url = "http://www.WebbotsSpidersScreenScrapers.com/form_analyzer.php";
- var params = "username=admin&name=password";
- http.open("POST", url, true);
- //Send the proper header information along with the request
- http.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
- http.setRequestHeader("Content-length", params.length);
- http.setRequestHeader("Connection", "close");
- http.onreadystatechange = function() {//Call a function when the state changes.
- if(http.readyState == 4 && http.status == 200) {
- alert(http.responseText);
- }
- }
- http.send(params);
- */
- //document.write(document.getElementsByName("id").value="bob");
- //document.getElementsByName("id").value = "bob";
- //document.getElementsByName("username").value = "usuario";
- //document.getElementsByName("password").value = "senha";
- //document.getElementsByType("submit").submit();
- </script>
- </head>
- <body>ola
- <form action="http://www.WebbotsSpidersScreenScrapers.com/form_analyzer.php" method="POST">
- <input type="text" name="username" id="username" />
- <input type="text" name="password" id="password" />
- <input type="hidden" name="id" id="last" value="1">
- <input type="submit" />
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment