androxgh0st

Downloader

Jul 13th, 2020
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.37 KB | None | 0 0
  1. import requests, re
  2.  
  3. html = requests.get('http://localhost/sym404/').text
  4. listc = re.findall('<a href="(.*?)-Wordpress.txt">', html)
  5. for user in listc:
  6.     print(str(user)+'-Wordpress.txt')
  7.     try:
  8.         zzz = requests.get('http://localhost/sym404/'+str(user)+'-Wordpress.txt').text
  9.         pp = open(str(user)+'-Wordpress.txt','a')
  10.         pp.write(zzz)
  11.         pp.close()
  12.     except:
  13.         pass
Add Comment
Please, Sign In to add comment