Jump to content
UBot Underground

Reading the HTTP header?


Recommended Posts

Does anyone know if there is a possibility to parse/read the HTTP header for the document that is already read? I do not want to ask the webserver again, because what I am looking for might have been altered.

Link to post
Share on other sites

I have no idea what you want to do or your ultimate goal, but you can read view the headers via a web app like so:

 

clear table(&header)

ui text box("URL to Check", #url)

in new browser {

set visibility("Invisible")

navigate("http://www.webconfs.com/http-header-check.php", "Wait")

type text(<url field>, #url, "Standard")

click(<type="submit">, "Left Click", "No")

wait(3)

scrape table(<outerhtml=w"<table width=\"100%\" bgcolor=\"#F3F3F3\" cellspacing=\"15\"><tbody><tr><td> <table border=\"0\">

<tbody><tr>

<td>

<font class=\"defaultfont\"><b>*</b> =&gt; <br></font>

*

</tr>

</tbody></table>

</td></tr></tbody></table>">, &header)

}

load html(&header)

John

Link to post
Share on other sites

My current client, an e-commerce company, are having problems with the generation of canonical URLs. Sometimes they are generated as they should and sometimes not. I think (!) that this is related to the webfronts (four servers) and my plan is to make a substantial amount of calls to the webserver to gather statistics.

In the HTTP header there is information about which webfront is the one that answered. I need that information to see if I can find a pattern in the erronous generation of canonical URLs.

Link to post
Share on other sites

Of course you may.

 

It's all here: http://ubotstudio.com/forum/index.php?/topic/9266-reading-the-http-header/page__view__findpost__p__47322

 

So I want BOTH the page and the page header.

 

As far as I know, WireShark would not have solved this.

Link to post
Share on other sites
I have no idea what you want to do or your ultimate goal, but you can read view the headers via a web app like so:

 

clear table(&header)

ui text box("URL to Check", #url)

in new browser {

set visibility("Invisible")

navigate("http://www.webconfs.com/http-header-check.php", "Wait")

type text(<url field>, #url, "Standard")

click(<type="submit">, "Left Click", "No")

wait(3)

scrape table(<outerhtml=w"<table width=\"100%\" bgcolor=\"#F3F3F3\" cellspacing=\"15\"><tbody><tr><td> <table border=\"0\">

<tbody><tr>

<td>

<font class=\"defaultfont\"><b>*</b> => <br></font>

*

</tr>

</tbody></table>

</td></tr></tbody></table>">, &header)

}

load html(&header)

 

 

 

 

John

 

I wanted this functionality as well. A good example is testing proxies. As ubot has no tools to do this, the common way is to use a proxy judge script which reports results via headers. Since it responds to your ip you can't use a service like you mentioned to do this.

 

It would be a nice feature but I much rather see ubot add tools to test proxies. This is desperately required and is done very well in Zenno.

 

I need to test the following:

 

Works/doesn't work

Banned from Google

Response time

Country or origin

Anonymous level and ip leakage

Is codeen/planetlab

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...