늘모자란, 개발 :: [LOS] vampire

늘모자란, 개발

<?php 
  include "./config.php"; 
  login_chk(); 
  dbconnect(); 
  if(preg_match('/\'/i', $_GET[id])) exit("No Hack ~_~"); 
  $_GET[id] = str_replace("admin","",$_GET[id]); 
  $query = "select id from prob_vampire where id='{$_GET[id]}'"; 
  echo "<hr>query : <strong>{$query}</strong><hr><br>"; 
  $result = @mysql_fetch_array(mysql_query($query)); 
  if($result['id'] == 'admin') solve("vampire"); 
  highlight_file(__FILE__); 
?>


이번에는 admin을 아예 바꿔버린다
그럼 지워지는만큼 admin이 완성되게 넣어주면된다

aadmindadminmadminiadminnadmin
2017/06/20 02:42 2017/06/20 02:42