Bypassing PHP Safe_Mode

hey....come back again with me....now, i wanna share how to bypass PHP safe_mode = on be safe_mode = off

follow this step friends:
first we need to what is our id if it subexec

we can write php.ini and then type in it safe_mode= off

then upload it and refresh the browser

opps u see that safe mod is off

okey but some servers will ignore the php.ini that u upload it

and then u can'y Bypass safe mode with php.ini

cuz server's root make directed and specific path to php.ini

we can bypass it via .htaccess file

we will write line in .htaccess that will make another path to php.ini so

we will Bypass safe mode look at the line we will put in.htaccess

but we can bypass it via .htccess file

CODE
suPHP_ConfigPath /home/user/public_html/php.ini


change path with the path that u upload php.ini in it

now it's nice upload php.ini with htaccess file in any dir


u will see safe mode off

may this very usefull for someone wanna change safe_mode be off
thanks for myfriend @ r00tsecurity:GoneGirl

0 komentar:

Posting Komentar