devilbox/.devilbox/www/htdocs/vendor/phpmemcachedadmin-1.3.0/spam.php

13 lines
378 B
PHP
Raw Normal View History

2019-03-09 10:09:40 +00:00
<?php
while(true)
{
$handle = fsockopen('127.0.0.1', 11211, $errno, $errstr, 2);
for($i = rand(0, 200) ; $i < 300 ; $i++)
{
fwrite($handle, 'set ' . md5(microtime(true) . rand(0, 250000000)) . ' 0 18000 10' . "\r\n");
fwrite($handle, 'aaaaaaaaaa' . "\r\n");
}
usleep(rand(0, 10000));
set_time_limit(5);
//sleep(rand(0,10));
}