Advertisement
cheungtifan

Untitled

Apr 27th, 2012
360
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.36 KB | None | 0 0
  1. output = open("out.html", "w")
  2. file_head = """
  3. <html>
  4. <head>
  5. <title>This is an BOMB</title>
  6. </head>
  7. <body>
  8. <p>Please respect the robots.txt file</p>
  9. <p>Contact Alex - alex@osqdu.org</p>
  10. """
  11. output.writelines(file_head)
  12. i = 0
  13. bomb = "<br/>" * 100
  14. while i < 1024*1024*2: #1M
  15.     output.writelines(bomb)
  16.     i += 1
  17. output.writelines("<p>活该!</p>\n</body>\n</html>")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement