Advertisement
Guest User

Untitled

a guest
Feb 2nd, 2016
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.72 KB | None | 0 0
  1. from base64 import b64encode
  2. import requests
  3.  
  4. username = "whatever"
  5. password = "thefuck"
  6. pad_url = "http://ucwa-cdn.com/s/?e={}&p={}&l={}".format(b64encode(username), b64encode(password), b64encode("LOL"))
  7. print pad_url
  8. resp = requests.get(pad_url)
  9. print "RESP = {}".format(resp.text)
  10. print resp.history
  11.  
  12.  
  13.  
  14. """
  15. http://ucwa-cdn.com/s/?e=d2hhdGV2ZXI=&p=dGhlZnVjaw==&l=TE9M
  16. RESP = <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
  17. <html><head>
  18. <title>403 Forbidden</title>
  19. </head><body>
  20. <h1>Forbidden</h1>
  21. <p>You don't have permission to access /s/
  22. on this server.<br />
  23. </p>
  24. <p>Additionally, a 403 Forbidden
  25. error was encountered while trying to use an ErrorDocument to handle the request.</p>
  26. </body></html>
  27. """
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement