문제 <?php include “../../config.php”; if($_GET(‘view_source’)) view_source(); if(!$_COOKIE(‘user’)){ $val_id=”guest”; $val_pw=”123qwe”; for($i=0;$i<20;$i++){ $val_id=base64_encode($val_id); $val_pw=base64_encode($val_pw); } $val_id=str_replace(“1″,”!”,$val_id); $val_id=str_replace(“2″,”@”,$val_id); $val_id=str_replace(“3″,”$”,$val_id); $val_id=str_replace(“4″,”^”,$val_id); $val_id=str_replace(“5″,”&”,$val_id); $val_id=str_replace(“6″,”*”,$val_id); $val_id=str_replace(“7”,”(“,$val_id); $val_id=str_replace(“8″,”)”,$val_id); $val_pw=str_replace(“1″,”!”,$val_pw); $val_pw=str_replace(“2″,”@”,$val_pw); $val_pw=str_replace(“3″,”$”,$val_pw); $val_pw=str_replace(“4″,”^”,$val_pw); $val_pw=str_replace(“5″,”&”,$val_pw); $val_pw=str_replace(“6″,”*”,$val_pw); $val_pw=str_replace(“7”,”(“,$val_pw); $val_pw=str_replace(“8″,”)”,$val_pw); Setcookie(“user”,$val_id,time()+86400,”/challenge/web-06/”); Setcookie(“password”,$val_pw,time()+86400,”/challenge/web-06/”); echo(“<meta http-equiv=refresh content=0>”); exit; } ?> <html> <head> <title>Challenge 6</title> <style type=”text/css”> body { background:black; color:white; font-size:10pt; } </style> </head> <body> <?php $decode_id=$_COOKIE(‘user’); $decode_pw=$_COOKIE(‘password’); … Read more