Wildest Dreams Part 2
<?php
if(!empty($_GET['i1']) && !empty($_GET['i2'])){
$i1 = $_GET['i1'];
$i2 = $_GET['i2'];
var_dump(md5($i1) == md5($i2));
if($i1 === $i2){
die("i1 and i2 can't be the same!");
}
$len1 = strlen($i1);
$len2 = strlen($i2);
if($len1 < 15){
die("i1 is too shorttttttt pee pee pee pee pee");
}
if($len2 < 15){
die("i2 is too shorttttttt pee pee pee pee pee");
}
if(md5($i1) == md5($i2)){
echo $flag;
}
echo "<br>The more that you say, the less i know.";
} else {
echo "<br> You need to provide two strings, i1 and i2. /1989.php?i1=a&i2=b";
}
?>Last updated