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

How to use charlesProxy to capture traffic

Discussion in 'Visual Basic .NET' started by Free6, Dec 7, 2016.

  1. Free6

    Free6 Newbie

    Joined:
    Nov 21, 2016
    Messages:
    31
    Likes Received:
    0
    Gender:
    Female
    Hi guys, I'd like to know how do I use CharlesProxy to capture Http Traffic.

    I was using LiveHttpHeader and they suggested me to use CharlesProxy as it's efficient but I'm struggling to use the traffic I captured from Charles in a VB.Net project cause I need to make an
    HttpWebRequest but I don't know what to take from Charles in order to make thaat HTTPWebRequest in VB.Net.

    Please can you help
     
  2. Kfrancismagic

    Kfrancismagic Junior Member

    Joined:
    Nov 27, 2016
    Messages:
    155
    Likes Received:
    17
    Gender:
    Male
    I used charles proxy when I was repeating a request to get unlimited coins from a game. Maybe you can use it to see the text/php you send or receive from you.
     
  3. Free6

    Free6 Newbie

    Joined:
    Nov 21, 2016
    Messages:
    31
    Likes Received:
    0
    Gender:
    Female
    Yes, thanks but I'm not really up to do that.

    Can you please teach me or give me a tuto how to do so?
     
  4. gimme4free

    gimme4free Executive VIP Jr. VIP Premium Member

    Joined:
    Oct 22, 2008
    Messages:
    1,925
    Likes Received:
    1,942
    Home Page:
    Set your browser / VB.NET proxy to 127.0.0.1:8888
     
  5. Free6

    Free6 Newbie

    Joined:
    Nov 21, 2016
    Messages:
    31
    Likes Received:
    0
    Gender:
    Female
    Hi gimme4free,

    I'm able to set my Browser (FireFox and Google Chrome) to use 127.0.0.1:8888 Proxy;

    but I don't know how to set VB.Net proxy to 127.0.0.1:8888?
     
    Last edited: Dec 8, 2016
  6. gimme4free

    gimme4free Executive VIP Jr. VIP Premium Member

    Joined:
    Oct 22, 2008
    Messages:
    1,925
    Likes Received:
    1,942
    Home Page:
    Code:
    Dim request As HttpWebRequest = CType(Net.WebRequest.Create(URL), HttpWebRequest)
    request.Proxy = New WebProxy("127.0.0.1", 8888)
    
     
  7. GoDesain

    GoDesain Regular Member

    Joined:
    Feb 26, 2011
    Messages:
    447
    Likes Received:
    138
    Home Page:
    use proxycap + charles...
    for tutorial, youtube is your friend...
     
  8. Freelancer_83

    Freelancer_83 Junior Member

    Joined:
    Jul 14, 2016
    Messages:
    142
    Likes Received:
    12
    Gender:
    Male
    Location:
    USA

    Just like free6 i know how to use proxy but Where to paste this code?
     
  9. Free6

    Free6 Newbie

    Joined:
    Nov 21, 2016
    Messages:
    31
    Likes Received:
    0
    Gender:
    Female
    @ gimme4free

    Please I still have that issue https://www.blackhatworld.com/seo/httpwebrequest-failed-to-login-to-public-website.897043/#post-9512119 unresolved.

    Can you please provide me a clue.
     
  10. gimme4free

    gimme4free Executive VIP Jr. VIP Premium Member

    Joined:
    Oct 22, 2008
    Messages:
    1,925
    Likes Received:
    1,942
    Home Page:
    Within your request as shown in the code, just the same as adding a useragent, E.g.
    Code:
    Dim request As HttpWebRequest = CType(Net.WebRequest.Create(URL), HttpWebRequest)
    request.Proxy = New WebProxy("127.0.0.1", 8888)
    request.Useragent = "Bot Traffic"