Created
February 9, 2011 20:05
-
-
Save ymek/819165 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
#!/usr/bin/env ruby | |
iters = (iters = 1 + rand(25)) + rand(iters) | |
(1..iters).each do | |
%x{echo '[09-Feb-2011 14:52:33] !!!ATTACKER BANNED!!!!' >> lite_error_log} | |
%x{echo '[09-Feb-2011 14:52:33] !!!ATTACKER BANNED!!!!' >> lite_error_log} | |
%x{echo '[09-Feb-2011 14:52:33] !!!ATTACKER BANNED!!!!' >> lite_error_log} | |
%x{echo '[09-Feb-2011 14:52:33] !!!ATTACKER BANNED!!!!' >> lite_error_log} | |
%x{echo '[09-Feb-2011 14:52:33] !!!ATTACKER BANNED!!!!' >> api_error_log} | |
sleep rand(3) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment