Advertisement
Kyfx

Bypass Index Website

Jun 5th, 2015
369
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. Old method but gold , sometimes when you wanna edit index file of a website and you find that the permission of the server doesn't permit that :3 :s
  2.  
  3. well if the .htaccess file is writable in /public_html dir you can surely bypass the main index of the website with a simple method
  4.  
  5. go to any dir like /tmp and create your index page file call it index.php (common name) for example
  6.  
  7. edit the .htaccess in /public_html with this following code :
  8.  
  9. RewriteEngine onRewriteRule ^index.php$ tmp/index.php
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement