Post Reply 
Inject HTTP Header Respones
Jul. 19, 2013, 11:48 AM (This post was last modified: Jul. 19, 2013 11:53 AM by ghayz.)
Post: #7
RE: Inject HTTP Header Respones
(Mar. 27, 2013 10:57 PM)JJoe Wrote:  
(Mar. 27, 2013 02:55 PM)ghayz Wrote:  and how to inject header location from HTTP found 302 to HTTP 200

So, if from asite.com you are receiving a 302 with a location header to bsite.com.

What do you want the user-agent (browser) to see? Do you want it to think bsite is asite?

yes JJoe... correctly how to send header request header before client sent request to server..
like this

Quote:GET http://mobi.telkomsel.com/ HTTP/1.1
Host : mobi.telkomsel.com
CONNECT 198.7.62.204:443


and the response from server
Quote:HTTP/1.1 500 Internal Server Error
Cache-Control: no-cache
Pragma: no-cache
Content-Type: text/html; charset=utf-8
Proxy-Connection: close
X-Cnection: close
Content-Length: 680

<HTML><HEAD>
<TITLE>Appliance Error</TITLE>
</HEAD>
<BODY>
<FONT face="Helvetica">
<big><strong></strong></big><BR>
</FONT>
<blockquote>
<TABLE border=0 cellPadding=1 width="80%">
<TR><TD>
<FONT face="Helvetica">
<big>Appliance Error (internal_error)</big>
<BR>
<BR>
</FONT>
</TD></TR>
<TR><TD>
<FONT face="Helvetica">
An unrecoverable error was encountered: ""
</FONT>
</TD></TR>
<TR><TD>
<FONT face="Helvetica">
This problem is unexpected. Please use the contact information below to obtain assistance.
</FONT>
</TD></TR>
<TR><TD>
<FONT face="Helvetica" SIZE=2>
<BR>
Copyright © 2010 PT. Telekomunikasi Selular.
</FONT>
</TD></TR>
</TABLE>
</blockquote>
</FONT>
</BODY></HTML>
HTTP/1.1 200 Connection established
Connection: close


so i get two response header from server

first HTTP/1.1 500 Internal Server Error
and second HTTP/1.1 200 Connection established
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
Inject HTTP Header Respones - ghayz - Mar. 25, 2013, 06:32 AM
RE: Inject HTTP Header Respones - JJoe - Mar. 25, 2013, 07:25 PM
RE: Inject HTTP Header Respones - ghayz - Mar. 25, 2013, 09:43 PM
RE: Inject HTTP Header Respones - JJoe - Mar. 26, 2013, 02:53 AM
RE: Inject HTTP Header Respones - ghayz - Mar. 27, 2013, 02:55 PM
RE: Inject HTTP Header Respones - JJoe - Mar. 27, 2013, 10:57 PM
RE: Inject HTTP Header Respones - ghayz - Jul. 19, 2013 11:48 AM
RE: Inject HTTP Header Respones - JJoe - Jul. 19, 2013, 09:41 PM

Forum Jump: