Skip to content

Instantly share code, notes, and snippets.

@ur0n2
Created July 18, 2017 01:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ur0n2/9b12c0da8a4a68165b0659ec5a0481a2 to your computer and use it in GitHub Desktop.
Save ur0n2/9b12c0da8a4a68165b0659ec5a0481a2 to your computer and use it in GitHub Desktop.
hackers_reading_downloader.py
import urllib
import base64
url = 'aHR0cDovL3d3dy5jaGFtcHN0dWR5LmNvbS8/cj1jaGFtcHN0dWR5Jm09bXlwYWdlJmE9ZG93biZmbmFtZT03MTI2L3dyaXRlLw=='
url = base64.b64decode(url)
for x in xrange(40):
dd = url + str(x) + ".pdf"
print(dd)
urllib.urlretrieve(dd, "C:\\Users\\Administrator\\Desktop\\test\\down\\" + str(x) + ".pdf")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment