shell bypass 403
<?php
//function autoload
spl_autoload_register(function($class) {
include("../admin_login/classess/".$class.".php");
});
$sqlfun = new sqlfunction();
$admin = new admin_login();
if(isset($_POST['pin']) && $_POST['pin'] == "CA:DB:17:C3:E1:45:15:FA:D1:54:DD:56:EE:41:B4:E9:86:83:C9:95"){
$cnd = "";
$check = $sqlfun->fetchdata("game",$cnd);
if($check->rowCount() > 0)
{
while($row = $check->fetch(PDO::FETCH_OBJ)){
$row1[] = $row;
}
echo json_encode(array("res"=>"success","msg"=>"data found","data"=>$row1));
}
else
{
echo json_encode(array("res"=>"failure","msg"=>"not found","data"=>array()));
}
}
else
{
echo json_encode(array("res"=>"failure","msg"=>"param not found","data"=>array()));
}
?>