Forum Discussion

aipcaca_173083's avatar
aipcaca_173083
Icon for Nimbostratus rankNimbostratus
Oct 07, 2014

bitvise ssh clinet can't building sock

i'm a newbie.. i use ssh bitvise client to direct ... i make program with indy delphi.. bitvise connect has succeeded but i cant browsing from mozilla fire fox its my code

 

if MODE.Text = 'xxxxx.co.id' then begin Athread.NetData := AddHeader(AThread.NetData,'Host:xxx.xxxx')+1310; if (pos('CONNECT',athread.NetData)<>0) or (pos('POST',athread.NetData)<>0) or (pos('POST',athread.NetData)<>0) then simple1 := 'http://xxx.xxx.co.id HTTP/1.1'+ 'User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:32.0) Gecko/20100101 Firefox/32.0'+ 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8'+ 'Accept-Language: en-US,en;q=0.5'+ 'Accept-Encoding: gzip, deflate'+ 'avg.com'+ 'Connection: close'+ 'Host:xxxx.xxx.co.id'1310; AThread.NetData := AThread.NetData+header+simple1; header := StringReplace(Athread.NetData, 'Proxy-Connection: Keep-Alive'13,'Connection: Keep-Alive'13,[rfReplaceAll]); AThread.NetData := stringreplace(AThread.NetData, 13101310, 13101310 + 'host:xxxx.co.id' + 13101310, [rfReplaceAll]) end else

 

thank you before and after

 

1 Reply

  • uh, i really dont have any idea what this has to do with F5. could you explain that please?