Packet logger inside VB Webbrowser

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Dave Siegel
    New Member
    • Feb 2007
    • 42

    #1

    Packet logger inside VB Webbrowser

    Hey,

    I've made a simple webbrowser for a game, but i want to add a packetlogger to it that logs all the html / php packets but also the flash packets. Something like the program WPE Pro, but then integrated into VB. Any idea howto? Because im clueless.

    And oh yeah, it only has to the webbrowser in form1.
  • kZero
    New Member
    • Nov 2006
    • 23

    #2
    Originally posted by Dave Siegel
    Hey,

    I've made a simple webbrowser for a game, but i want to add a packetlogger to it that logs all the html / php packets but also the flash packets. Something like the program WPE Pro, but then integrated into VB. Any idea howto? Because im clueless.

    And oh yeah, it only has to the webbrowser in form1.
    i will explain it but cant give u the code now but its not hard

    put 2 winsocks on your form with the webbrowser and textbox
    then make the 1st winsock as listener for example on port 100 to connect via the webbrowser to http://127.0.0.1:100

    in the 1st winsock accept the connection request
    Code:
    winsock1.close
    winsock1.accept requestid
    winsock2.connect "www.website.com" , 80
    then make in the 1st winsock on data recieve
    Code:
    dim x as string
     winsock1.getdata x
    text1.text = text1.text & vbcrlf & x
    winsock2.senddata x
    note i didnt try the codes now i just typed it here

    Comment

    Working...