Skip to content

Instantly share code, notes, and snippets.

@matuhn
Created June 10, 2019 13:27
Show Gist options
  • Save matuhn/3034a10380871485f13167716b81ff6b to your computer and use it in GitHub Desktop.
Save matuhn/3034a10380871485f13167716b81ff6b to your computer and use it in GitHub Desktop.
FUCTFss1 -
if (isset ($_GET['number'])) {
if ($_GET['number'] == $_SESSION['number'])
die ('Flag: '.$flag);
else
$result .='<p>Wrong guess.</p></br>'.$_SESSION['number'];
}
$_SESSION['number'] = (rand(1,999)^rand(1,999)+rand(1,999))/rand(1,999);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment