Doubt over ByPass strcmp from php

0

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";
    }
?>
    
asked by anonymous 07.03.2018 / 04:11

0 answers