Jump to content

HttpHeaderWatcher v1.0.1.3 recreate full WinHttp Request in au3 format


wakillon
 Share

Recommended Posts

HttpHeaderWatcher v1.0.1.3

 

201402131358371.jpg

Some time ago, some members asked how to see the Http Requests.
There are quite a few external applications but not in AutoIt!
HttpHeaderWatcher in association with WinPcap, very modestly solves this lack.

 

Once done this http watcher, i asked me : why not Re-build a WinHttp Request in AutoIt from a selected Request in one Click ?
So i have added a "Create au3" button who open the WinHttp Request of your choice in AutoIt format in SciTE Editor.

Voila voila, hope it can help !  :)

Buttons were made online with chimply.com the easy and free buttons generator !

See Help for more infos.

previous downloads : 253

source and executable are available in the Download Section

Hope you like it !

Edited by wakillon

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Link to comment
Share on other sites

I've tryd it but.... ill get a error and it is'nt possible to select a device (the list is empty).

(614) : ==> Array variable subscript badly formatted.:
$pCap = _PcapStartCapture ( $aPcapDevices[$int][0], 'host ' & $aPcapDevices[$int][7] & ' and tcp port (80 or 8080)', 0, 65536, 2^24, 0 )
$pCap = _PcapStartCapture ( $aPcapDevices[^ ERROR
 
I'm not using the latest version of Autoit (i'm using 3.3.8.1) mabey that is the problem?
I've installed the lattest Win pcap.
 
EDIT:
 
I've found it:
 
On line number 321 it sets $ipv4 = 0
On line number 331 it won't come by this: If $ipv4 > 1 Then
I've I comment out this line al thing works greate.
 
 
Thanks for this nice program
Edited by nend
Link to comment
Share on other sites

No The problem was that I just can't select a device.

So I've tryd to start it without selecting a device and that produce a error.

This is a good program for me to learn WinPcap, I wan't to make a program that capture streaming audiolinks.

Edited by nend
Link to comment
Share on other sites

Ok, so i was right.

$ipv4 indicate the number of detected devices

and as i set the condition to be superior to 1 for set datas to the combo (who is logic for a combo to have several items),

it didn't set anything in your case, cause you only have 1 device.

Instead of comment the line, replace it by : If $ipv4 >= 1 Then 

and it should work.  ;)

Edited by wakillon

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Link to comment
Share on other sites

Hi JohnOne  ;)

It's normal that line 321 the variable $ipv4 is declared and set to 0

I suggest to modify the line 330 :  If $ipv4 > 1 Then  to  If $ipv4 >= 1 Then

I have made some tries on several computers and i always get 2 devices, that's why i set a combo.

Did you try it ?

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Link to comment
Share on other sites

Hi ,

Downloaded and installed WinPcap , getting the list of NICs in the dropdown list . When I click on start and then via a browser trying to browse --- nothing shows up on the Application console.

Are there any pre-requisites ?

Rgds

 

No.

1 - May be your browser use his cache, in this case try to actualize the page.

2 - May be you use a "https" url and as this type of request are ssl encrypted and on port 443, script do not support them.

3 - May be you can try by selecting an other device.

Do you have a device who look as mine in the picture of the first post ?

Edited by wakillon

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Link to comment
Share on other sites

  • 4 weeks later...

There is one more request :

During my testing , I was working on a local server ie. 127.0.0.1 and wanted to look into the headers , but since the LAN IP is tapped , I wassnt able to look into the https headers from the local machine and had to utilise another resource.

1: Would it be possible to tap into 127.0.0.1 

rgds

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...