Search results

  1. F

    Getting error "Invalid CSRF" when trying HttpWebRequest Post data

    Hi guys, have been struggling for more than 2 weeks now to solve this issue. Can you please help me out? I'm trying to post data and i'm getting {"status":403,"message":"Invalid CSRF"}. I successfully logged in and set cookies on login and submitting page but when I try to submit the form...
  2. F

    Can't login if I manually set cookies (HttpWebRequest)

    Hi everybody, I'm referring to this code here, when I try to manually set cookies like on the below code snippet, I receive exception (A first chance exception of type 'System.Net.WebException' occurred in System.dll) and can't login. It happens when I comment out ( request.Headers.Set ) and I...
  3. F

    Unable to login with or without cookies (HttpWebRequest)

    Hi, I captured the below login code from Fiddler and the day I captured that, I tried it into VS 2013 and worked well with its original cookies. When I try to manually set cookies it doesn't work, the output debug shows : (A first chance exception of type 'System.Net.WebException' occurred in...
  4. F

    How to pretend browsing from a different country (IP address)

    Hi, I have a project to build an ad poster for another country, and I want to pretend browsing from that country from my IP address. I'm already using Tor Browser which also does it well, but the problem here is I can't use Tor as it's just a browser, as I have to open it in order to pretend...
  5. F

    Unable to post data using HttpWebRequest when using variable

    Hi guys, I'm stuck as I can't post data using HttpWebRequest on below body. The problem is I need to dynamcally insert data, so I have to use variable. I use variable and it works right but only on "Title" (adTitlEncoded - on the below body ) that doesn't allow me to use variable. If I...
  6. F

    HttpWebRequest / How to upload picture before posting

    Hi, I'm trying to make a HttpWebRequest and I have to attach/upload a picture before I submit the form. Below is the code that contain my picture's name. There's a variable called "u" in the code below that contains the name of the picture I uploaded called "Penguins.jpg", I tried to remove...
  7. F

    HttpWebRequest (Wrap / Convert strange characters) E%3C%2Fdiv%

    Hi, I'm trying to make a HttpWebRequest and I have to make the Description text dynamic but there are strange characters within that I have to convert / wrap first maybe. In brief, I'm gonna put a TextBox to fill the Description but reading that line, it's a mixed of strange characters in...
  8. F

    Login failed (Httpwebrequest)

    Hi, I'm trying to connect using the below code 1, it's working perfect and land me directly to the Ad page. Unfortunately, it's not working dynamically, I mean I can't set TextBoxes for Login details as I don't see any login parameters within the code 1. Whereas I see login parameters in Code...
  9. F

    How to use charlesProxy to capture traffic

    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...
  10. F

    HttpWebRequest failed to login to public website

    Hi eveybody, Please I need help. I'm using HttpWebRequest in VB.Net. I'm trying to login onto a website using the below code, but I'm still unable to login. Please see code below and the Live Http Headers' capture. Dim logincookie As CookieContainer Private Sub Button1_Click(sender As...
  11. F

    How to upload a File in Web Form without poping up Browser dialog

    Hi, I would like to know how to do to upload a File (picture) in Web Form without poping up the Browser For File Dialog, So I mean SILENTLY upload a File (picture) in Web Form in (INPUT type="File") tag. I have the below solution but that solution pops up the "Browser For File" dialog whereas...
  12. F

    How to write an Ad poster in VB.Net

    Hi guys, I would like to develop an Ad poster as I have been employed as Developer in my company, but I don't have a lot of experience in programming. it's a recruitment company so they used to posting Ads every day manually, so they told me to write an Ad poster for the company in VB.Net...
  13. F

    HttpWebRequest failed to login onto web site

    Hi, please guys I really need help please. I'm trying to login onto a web site using HttpWebRequest but it's seems like it doesn't work. When I make Request, it's just bring me to the login page (see last picture) without doing anything. I'm using Live Http headers as well to capture HTTP...
Back
Top