Wireshark-users: Re: [Wireshark-users] Access reassembled HTTP data with Lua
From: "Petter Strandmark" <p04pst@xxxxxxxxxxxxxx>
Date: Wed, 18 Jul 2007 11:31:49 +0200 (CEST)
I had to replace "FieldExtractor" with "Field" to make it compile.

I also get the error:

"[string "test.lua"]:10: attempt to call method 'get_range' (a nil value)"

/Petter

> do
>     local http = FieldExtractor.new("http")
>
>     -- ...
>
>     function listener.packet()
>        -- ...
>        local http_tvbrange =  http():get_range()
>     end
> end
>
> On 7/18/07, Petter Strandmark <p04pst@xxxxxxxxxxxxxx> wrote:
>> Hi,
>>
>> I have just started looking at Lua scripting in Wireshark. Within
>> wireshark, I can access the reassembled HTTP data sent from the web
>> server. This data is decompressed if it was compressed with gzip.
>>
>> How can I access this data from a Lua script?
>>
>> Best regards,
>> Petter Strandmark
>>
>> _______________________________________________
>> Wireshark-users mailing list
>> Wireshark-users@xxxxxxxxxxxxx
>> http://www.wireshark.org/mailman/listinfo/wireshark-users
>>
>
>
> --
> This information is top security. When you have read it, destroy yourself.
> -- Marshall McLuhan
> _______________________________________________
> Wireshark-users mailing list
> Wireshark-users@xxxxxxxxxxxxx
> http://www.wireshark.org/mailman/listinfo/wireshark-users
>