今天看了一些代码,看到了一个小彩蛋。
<?
/* env.php */
phpinfo();
?>
用浏览器访问
http://ipaddress/dirname/env.php?=PHPE9568F36-D428-11d2-A769-00AA001ACF42
你将看到!
一个胖子嘴中刁着两支烟!:-)
秘密在logos.h中用数组定义的图像数据。
unsigned char php_egg_logo = {
71, 73, 70, 56, 57, 97, 130, 0, 67, 0,
213, 255, 0, 0, 0, 0, 152, 138, 142, 104,
95, 105, 89, 86, 93, 160, 151, 174, 102, 101,
136, 164, 163, 205, 174, 173, 213, 102, 102, 153,
99, 99, 149, 102, 102, 152, 96, 96, 143, 90,
90, 134, 82, 82, 115, 87, 87, 121, 80, 80,
108, 74, 74, 100, 110, 110, 147, 95, 95, 127,
149, 149, 198, 118, 118, 157, 67, 67, 89, 144,
144, 191, 128, 128, 169, 137, 137, 180, 155, 155,
197, 186, 186, 227, 209, 209, 247, 242, 242, 254,
64, 67, 65, 192, 192, 192, 32, 45, 25, 50,
54, 36, 65, 63, 42, 75, 71, 53, 87, 79,
61, 93, 85, 69, 231, 180, 110, 106, 92, 74,
207, 155, 100, 121, 101, 80, 181, 131, 89, 141,
110, 88, 158, 125, 103, 148, 118, 97, 169, 135,
112, 131, 112, 99, 180, 141, 117, 135, 101, 81,
191, 148, 124, 168, 126, 107, 201, 153, 130, 164,
116, 97, 191, 139, 119, 213, 155, 135, 220, 164,
146, 203, 142, 124, 180, 127, 112, 175, 118, 103,
191, 127, 114, 162, 102, 91, 255, 255, 255, 0,
0, 0, 0, 0, 0, 33, 249, 4, 1, 0,
0, 30, 0, 44, 0, 0, 0, 0, 130, 0,
67, 0, 64, 6, 255, 64, 143, 112, 72, 44,
26, 143, 72, 226, 100, 105, 105, 98, 158, 151,
40, 133, 18, 137, 20, 36, 18, 135, 118, 203,
213, 74, 10, 133, 200, 52, 122, 121, 98, 154,
150, 229, 50, 201, 110, 187, 223, 202, 137, 5,
115, 137, 72, 30, 16, 72, 101, 15, 105, 48,
24, 11, 9, 130, 10, 132, 10, 8, 135, 136,
137, 137, 11, 3, 34, 31, 31, 32, 32, 33,
147, 34, 149, 34, 35, 152, 153, 34, 33, 32,
143, 143, 29, 2, 133, 130, 9, 11, 127, 14,
13, 13, 91, 88, 18, 17, 101, 105, 19, 112,
112,