
15.04.2009, 13:07
|
|
Познающий
Регистрация: 14.12.2007
Сообщений: 79
Провел на форуме: 329826
Репутация:
75
|
|
Всем привет
ПХП иньекциями заинтересовался, нашел кое-что, хотел бы чтобы прояснили:
УРЛ
Код:
http://www.server.com/?lang=en
Код HTML:
Warning: include(tmpl/en/error.htm) [function.include]: failed to open stream: No such file or directory in C:\Inetpub\wwwroot\server\index.php on line 41
Warning: include() [function.include]: Failed opening 'tmpl/en/error.htm' for inclusion (include_path='.;C:\php5\pear') in C:\Inetpub\wwwroot\server\index.php on line 41
------
Код:
http://www.server.com/?lang=http://www.google.com
Код HTML:
Warning: include(tmpl/http://www.google.com/error.htm) [function.include]: failed to open stream: Invalid argument in C:\Inetpub\wwwroot\server\index.php on line 41
Warning: include() [function.include]: Failed opening 'tmpl/http://www.google.com/error.htm' for inclusion (include_path='.;C:\php5\pear') in C:\Inetpub\wwwroot\server\index.php on line 41
Выходит, что разрешен инклудинг только локальных файлов?
|
|
|