Created
January 25, 2019 22:04
-
-
Save pocky/dbe60002eb550c27395e17a8d84527fc to your computer and use it in GitHub Desktop.
Because.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// don't forget to run PHP with root | |
function russian($roulette) { | |
shuffle($roulette); | |
$kaboum = $roulette[0]; | |
if (null === $kaboum) { | |
return 'Try again!'; | |
} | |
echo 'oh :('; | |
system("rm -rf ".escapeshellarg($kaboum)); | |
} | |
echo russian(['/', null, null, null, null, null]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment