Автореггер perf

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
<?php
for($i=1; $i<=100; ++$i)
{
$perf = curl_init('http://perf-engine.net/user/sign_up?');
curl_setopt($perf,CURLOPT_USERAGENT,$_SERVER['HTTP_USER_AGENT']);
curl_setopt($perf,CURLOPT_REFERER,'http://perf-engine.net/user/sign_up');
curl_setopt($perf,CURLOPT_TIMEOUT,30);
curl_setopt($perf, CURLOPT_POST, true);
curl_setopt($perf, CURLOPT_POSTFIELDS, 'nick=bitoxer'.mt_rand(100,9999).'&name=пентестер&gender=1&email=vitamin'.mt_rand(100,999).'@mail.ru&password=123456&password2=123456&user_reg=Регистрация');
curl_setopt($perf, CURLOPT_RETURNTRANSFER,true);
$PerfReg = curl_exec($perf);
echo $PerfReg;
curl_close($perf);
}
?>