Well, I know that this is vulnerable, but for me to exploit this, I would have to send the array via $_POST
, I already sent an array any way, but none goes, someone knows a way to send an array by $_POST
?
<?php
$str1 = "pink";
$str2 = array("name" => "floyd");
if(strcmp($str1, $str2 == 0)){
echo "OMG twins!";
}else{
echo "Bieber, the king of the world";
}
?>