Created
July 18, 2017 01:05
-
-
Save ur0n2/9b12c0da8a4a68165b0659ec5a0481a2 to your computer and use it in GitHub Desktop.
hackers_reading_downloader.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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