@ 2014-07-22T21:33:26Z <?php
$salt = "Salz in der Suppe";
$url1 = "http://gibtsnicht.eazy-living.de/?p=91";
$url2 = "http://gibtsnicht.eazy-living.de/?p=92";
$password_hash = crypt($url1, $salt);
if (crypt($url1, $password_hash) == $password_hash){
echo "I'm on!\n";
}
if (crypt($url2, $password_hash) == $password_hash){
echo "I'm on but should not be!\n";
}
echo "=============================\n";
$salt = "$2a$07$usesomesillystringforsalt$";
$url1 = "http://gibtsnicht.eazy-living.de/?p=91";
$url2 = "http://gibtsnicht.eazy-living.de/?p=92";
$password_hash = crypt($url1, $salt);
if (crypt($url1, $password_hash) == $password_hash){
echo "I'm on!\n";
}
if (crypt($url2, $password_hash) == $password_hash){
echo "I'm on but should not be!\n";
}
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 8.0.0 - 8.0.30 , 8.1.0 - 8.1.28 , 8.2.0 - 8.2.18 , 8.3.0 - 8.3.6 I'm on!
I'm on but should not be!
=============================
Warning: Undefined variable $usesomesillystringforsalt in /in/WPXjJ on line 18
Output for 5.5.0 - 5.5.38 , 5.6.0 - 5.6.40 , 7.0.0 - 7.0.33 , 7.1.0 - 7.1.33 , 7.2.0 - 7.2.33 , 7.3.0 - 7.3.31 , 7.4.0 - 7.4.33 I'm on!
I'm on but should not be!
=============================
Notice: Undefined variable: usesomesillystringforsalt in /in/WPXjJ on line 18
Output for 7.3.32 - 7.3.33 I'm on!
I'm on but should not be!
=============================
Output for 5.3.0 - 5.3.29 , 5.4.0 - 5.4.45 I'm on!
I'm on but should not be!
=============================
Notice: Undefined variable: usesomesillystringforsalt in /in/WPXjJ on line 18
I'm on!
Output for 5.0.4 - 5.0.5 , 5.1.0 - 5.1.6 , 5.2.0 - 5.2.17 I'm on!
I'm on but should not be!
=============================
Notice: Undefined variable: usesomesillystringforsalt in /in/WPXjJ on line 18
Process exited with code 139 . Output for 4.3.0 - 4.3.11 , 4.4.0 - 4.4.9 , 5.0.0 - 5.0.3 I'm on!
I'm on but should not be!
=============================
Notice: Undefined variable: usesomesillystringforsalt in /in/WPXjJ on line 18
Process exited with code 139 . preferences:dark mode live preview
271.94 ms | 402 KiB | 459 Q