Created
November 5, 2015 08:19
-
-
Save ts0818/e300501565069f4b89fa to your computer and use it in GitHub Desktop.
パーフェクトPHP ローカルファイル・インクルード攻撃
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* このプログラムは脆弱性のサンプルです。 | |
* 公開サーバに設置しないでください | |
*/ | |
// 指定されたファイルをインクルード | |
include '/var/www/html/design/' . $_GET['design'] . '.html'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment