Article Note

eval

Q7nl1s
Q7nl1s admin

问题描述

image

对读取文件内容的函数的考察

七种解法解法

读取文件内容的函数:

1.show_source

2.highlight_file

3.file

4.file_get_contents

查看源码(如果为php文件的话)

1.system(‘cat *)

2.system(‘more *’)

3.system(‘tac ***’) 逆序输出

一.

image

二.

image

三.

image

四.

image

五.

image

六.

image

七.

image