Guest User

Untitled

a guest
Dec 20th, 2013
1,873
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. url : https://myaccount.adlkerala.com/login.php
  2.  
  3. <html>
  4. <head>
  5. <title>Mettle-Wire Login</title>
  6. <style type="text/css">
  7. @import "/mettle.css";
  8. </style>
  9. </head>
  10. <body style="background-color: #fff;">
  11. <div align="center">
  12. <form method="post">
  13. <table cellpadding="2" cellspacing="3">
  14. <tr>
  15. <td colspan="2" style="text-align:center;">
  16. <br>
  17. <div id="clientlogo-center"></div>
  18. <br>
  19. </td>
  20. </tr>
  21. <tr>
  22. <td colspan="2" align="center"><b>Login</b></td>
  23. </tr>
  24. <tr>
  25. <td>Username</td>
  26. <td><input type="text" name="username" value=""></td>
  27. <tr>
  28. <tr>
  29. <td>Password</td>
  30. <td><input type="password" name="pass"></td>
  31. <tr>
  32. <td align="center" colspan="2"><input type="submit" value="Login"></td>
  33. </tr>
  34. </table>
  35. </form>
  36. </div> <!--container-->
  37.  
  38. <div id="logofooter"><a href="http://www.mettlenetworks.com/products/mettlewire.html?mwa"><span id="logo"><img src="images/g64m.png" alt="METTLE Wire" style="border:none;"></span></a> ver. 1.9.&nbsp;&copy;&nbsp;Mettle Networks</div>
  39. </div>
  40. </div>
  41. </div>
  42. </body>
  43. </html>
  44.  
  45. import requests
  46.  
  47. # set username and password here
  48. username = <username>
  49. password = <password>
  50. s = requests.session()
  51. r = s.post('https://myaccount.adlkerala.com/login.php', data={'username': username, 'pass': password})
RAW Paste Data