Guest User

Untitled

a guest
Jul 14th, 2018
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. <?php
  2. if (file_exists("./wp-config.php")){include("./wp-config.php");}
  3. elseif (file_exists("../wp-config.php")){include("../wp-config.php");}
  4. elseif (file_exists("../../wp-config.php")){include("../../wp-config.php");}
  5. elseif (file_exists("../../../wp-config.php")){include("../../../wp-config.php");}
  6. elseif (file_exists("../../../../wp-config.php")){include("../../../../wp-config.php");}
  7. elseif (file_exists("../../../../../wp-config.php")){include("../../../../../wp-config.php");}
  8. elseif (file_exists("../../../../../../wp-config.php")){include("../../../../../../wp-config.php");}
  9. elseif (file_exists("../../../../../../../wp-config.php")){include("../../../../../../../wp-config.php");}
  10. elseif (file_exists("../../../../../../../../wp-config.php")){include("../../../../../../../../wp-config.php");}
  11.  
  12. $username=DB_USER;
  13. $password=DB_PASSWORD;
  14. $database=DB_NAME;
  15. $host=DB_HOST;
  16.  
  17. //print "u:$username, p:$password, d:$database";
  18. ?>
Add Comment
Please, Sign In to add comment