1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[C#] Reading Post Data?

Discussion in 'C, C++, C#' started by Krippleintime, Aug 4, 2011.

  1. Krippleintime

    Krippleintime Registered Member

    Joined:
    May 12, 2010
    Messages:
    96
    Likes Received:
    13
    Location:
    Graphic Location Unknown
    How would I go about reading the post data, so that I knew what forms I would need to submit too for that website? Kind of like what VenomSEO has in it's programs learning mode. Just not sure where I should start for this.
     
    Last edited: Aug 4, 2011
  2. scraper1

    scraper1 Regular Member

    Joined:
    May 28, 2011
    Messages:
    214
    Likes Received:
    207
    Location:
    Kontiki
    Home Page:
    Use a sniffer like Wireshark or Live HTTP Headers addon on FF.
     
  3. ~divinci

    ~divinci Registered Member

    Joined:
    Sep 23, 2009
    Messages:
    51
    Likes Received:
    11
    Occupation:
    Infastructure Reverse Engineer
    Location:
    Liverpool UK
    fiddler is the best - you can read https too, something that wireshark cant.
     
  4. captchaman

    captchaman Junior Member

    Joined:
    Sep 16, 2010
    Messages:
    190
    Likes Received:
    842
    Occupation:
    Software Programmer
    Location:
    USA
    I agree with Live HTTP Headers if you use FireFox. Either that or tamper data. With Tamper Data you can pause the packet from being sent and modify it before it ever goes to the server which is very handy if you need it. Live HTTP headers lets you send a re-play of the packet that you modified.
     
  5. Chris22

    Chris22 Regular Member

    Joined:
    Sep 29, 2010
    Messages:
    400
    Likes Received:
    1,060
    Fiddler, no doubt about it.

    Tamperdata for firefox is also pretty useful.
     
  6. seo-madness

    seo-madness Newbie

    Joined:
    Mar 13, 2011
    Messages:
    7
    Likes Received:
    1
    Tamperdata is pretty nice. Charles Web Proxy is also a great tool.
     
  7. Senotaru

    Senotaru Registered Member

    Joined:
    Jan 17, 2011
    Messages:
    67
    Likes Received:
    11
    Fiddler 2, Livehttpheaders, and Tamperdata I use in conjunction with eachother.
     
  8. RottenYellow

    RottenYellow BANNED BANNED

    Joined:
    Sep 10, 2010
    Messages:
    68
    Likes Received:
    16
    I really like HttpAnalyzer, but it's commercial. You can find a torrent though.
     
  9. ShiftySituation

    ShiftySituation Power Member

    Joined:
    Apr 15, 2010
    Messages:
    621
    Likes Received:
    314
    Occupation:
    Having fun
    Location:
    Jacksonville, FL
    You sound like you want to do it programatically within a C# application... Fiddler has a nice API for reading/editing the data as it is being sent down the pipe. This is a good solution for httpwebrequest/response.

    If you want to do webbrowser object automation, you can get the htmlelements of a page and grab name or id attributes from them so you can train a program to automatically fill out a form based on the getelementby methods or something of the like considering not all forms have id's for their elements. In which case you'd need to loop through the elements and compare name attributes so you know what element to do work on.
     
  10. majin buu

    majin buu Newbie

    Joined:
    Sep 17, 2011
    Messages:
    3
    Likes Received:
    1
    Home Page:
    Live HTTP headers addon is enough.
    Wireshark isn't newbie friendly ... :)