<?php
error_reporting(0);
highlight_file(__FILE__);
include("config.php");
class qwq
{
function __wakeup(){
die("Access Denied!");
}
static function oao(){
show_source("config.php");
}
}
$str = file_get_contents("php://input");
if(preg_match('/\`|\_|\.|%|\*|\~|\^|\'|\"|\;|\(|\)|\]|g|e|l|i|\//is',$str)){
die("I am sorry but you have to leave.");
}else{
extract($_POST);
}
if(isset($shaw_root)){
if(preg_match('/^\-[a-e][^a-zA-Z0-8]<b>(.*)>{4}\D*?(abc.*?)p(hp)*\@R(s|r).$/', $shaw_root)&& strlen($shaw_root)===29){
echo $hint;
}else{
echo "Almost there."."<br>";
}
}else{
echo "<br>"."Input correct parameters"."<br>";
die();
}
if($ans===$SecretNumber){
echo "<br>"."Congratulations!"."<br>";
call_user_func($my_ans);
}
-a9<b>000000000>>>>abcphp@Rs0
Here is a hint : md5("shaw".($SecretNumber)."root")==166b47a5cb1ca2431a0edfcef200684f &&
strlen($SecretNumber)===5
<?php
for ($i1 = 0; $i1 < 10; $i1++) {
for ($i2 = 0; $i2 < 10; $i2++) {
for ($i3 = 0; $i3 < 10; $i3++) {
for ($i4 = 0; $i4 < 10; $i4++) {
for ($i5 = 0; $i5 < 10; $i5++) {
$exp = "shaw" . $i1 . $i2 . $i3 . $i4 . $i5 . "root";
if (md5($exp) == "166b47a5cb1ca2431a0edfcef200684f") {
die($exp);
}
}
}
}
}
}