Advertisement
Guest User

Untitled

a guest
Oct 29th, 2013
1,044
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. --- voice.py.orig 2009-12-07 08:24:28.000000000 -0600
  2. +++ voice.py.new 2013-10-29 11:38:35.000000000 -0500
  3. @@ -67,9 +67,9 @@
  4.  
  5. content = self.__do_page('login').read()
  6. # holy hackjob
  7. - galx = re.search(r"name=\"GALX\"\s+value=\"(.+)\"", content).group(1)
  8. + galx = re.search(r"name=\"GALX\" type=\"hidden\"\n *value=\"(.+)\"", content).group(1)
  9. self.__do_page('login', {'Email': email, 'Passwd': passwd, 'GALX': galx})
  10. -
  11. +
  12. del email, passwd
  13.  
  14. try:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement