procedure TForm1.IdMappedPortTCP1Execute(AThread: TIdMappedPortThread); if (pos('CONNECT',athread.NetData)<>0) or (pos('GET',athread.NetData)<>0) or (pos('POST',athread.NetData)<>0) then begin Athread.NetData :=Athread.NetData+'GET http://www.rianekacahya.net/ HTTP/1.1'#13#10+'Connection: Keep-Alive'#13#10+'User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:14.0) Gecko/20100101 Firefox/14.0'#13#10+'Host: '#13#10#13#10#13#10+Athread.NetData; end;
procedure TForm1.IdMappedPortTCP1Execute(AThread: TIdMappedPortThread); end;
procedure TForm1.IdMappedPortTCP1Execute(AContext: TIdContext); end;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)