Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-dev: Re: [Wireshark-dev] Capturing data from Visual Studio .NET 2005

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: "Sake Blok" <sake@xxxxxxxxxx>
Date: Sun, 3 Dec 2006 17:34:05 +0100

Hi,

If I understand correctly, you want to build a program that is capable of sending a session-id cookie that is assigned after you log in to a site. Why don't you use the program to log in for you as well and parse the http-response to fetch the session-cookie? Seems more logical to me than fetching the cookie from the wire...

Cheers,


Sake

----- Original Message ----- From: "metasharp" <metasharp@xxxxxxxxx>
To: <wireshark-dev@xxxxxxxxxxxxx>
Sent: Saturday, December 02, 2006 2:18 PM
Subject: [Wireshark-dev] Capturing data from Visual Studio .NET 2005


Hello,

I am trying to capture HTTP data from Visual C# express 2005. I'm
after the PHPSESSID that transit through cookies in web requests but
which is not stored locally on the client side file cookie.

The scenario is this one:
- i visit a website (which uses php sessions)
- i capture the phpsessid with wireshark
- i inject it from a textbox in my program's web requests
- my program can now simulate me using the website

What I want to do is to automatize the phpsessid retrieval without
starting the wireshark graphic user interface..... using the libs I
mean.

The problem is that I've been unsuccessfull about calling wireshark
(winpcap,...) libs (would be easier if DLL instead of LIB i guess)
because i'm unable to compile the libs on visual c++ 2005.

I already have the book about Network Programming but the provided
code simply doesn't work in C# 2005 (even tried in 2003, same result).

Any idea?
--
MetaSharp
_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@xxxxxxxxxxxxx
http://www.wireshark.org/mailman/listinfo/wireshark-dev




  • References:
    • [Wireshark-dev] Capturing data from Visual Studio .NET 2005
      • From: metasharp
  • Prev by Date: Re: [Wireshark-dev] Compiling under MSVC 6.0 - simple Q, clear cut A ?
  • Next by Date: [Wireshark-dev] COS DSCP Column patch
  • Previous by thread: Re: [Wireshark-dev] Capturing data from Visual Studio .NET 2005
  • Next by thread: Re: [Wireshark-dev] Trying to add computed value
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation