jatinluthra14

Bruteforce2.py

Nov 17th, 2016
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. from twill import get_browser
  2. b = get_browser()
  3.  
  4. from twill.commands import *
  5. go("https://www.avios.com/av/en_gb/my-account/log-into-avios")
  6. b.showforms()
  7. fv('2', 'j_username', 'aabbaabb@sharklasers.com')
  8. fv('2' ,'j_password' ,'AA!!aa112')
  9. formaction('loginForm', 'http://www.avios.com/av/en_gb/my-account/login-process')
  10. showforms()
  11. submit()
  12. print b.get_url()
  13. go("https://www.avios.com/gb/en_gb/my-account/your-avios-account?from=accNav")
  14. print b.get_url()
Add Comment
Please, Sign In to add comment