Skip to content

Instantly share code, notes, and snippets.

@ts0818
Created November 5, 2015 08:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ts0818/e300501565069f4b89fa to your computer and use it in GitHub Desktop.
Save ts0818/e300501565069f4b89fa to your computer and use it in GitHub Desktop.
パーフェクトPHP ローカルファイル・インクルード攻撃
<?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