Created
December 23, 2014 08:01
-
-
Save sdepablos/f2704672eb8feef7f339 to your computer and use it in GitHub Desktop.
Testing has table collision keys
This file contains hidden or 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 | |
| # More info at http://lukasmartinelli.ch/web/2014/11/17/php-dos-attack-revisited.html | |
| $file = 'https://github.com/lukasmartinelli/php-dos-attack/blob/master/collision_keys.txt'; | |
| $handle = fopen($file, 'r'); | |
| $a = []; | |
| while (($buffer = fgets($handle)) !== false) { | |
| $a[$buffer] = $buffer; | |
| } | |
| fclose($handle); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment