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

Need Help Creating Gmail With WebRequests C#

Discussion in 'C, C++, C#' started by maverick927, Dec 19, 2011.

  1. maverick927

    maverick927 Newbie

    Joined:
    Dec 24, 2009
    Messages:
    42
    Likes Received:
    10
    Hi,
    I found a way to bypass the Gmail SMS verification thing when signing from a particular link.
    I was able to achieve the complete process in C# with HTTP WebRequests. But I am struck at one thing. Hope some body here would help me out.
    How can we get the value of "ktl" which is required to post the data when creating a Gmail account? If I am able to get that value I will be able to finish this off and move to creating a YouTube account creator. Please I need some help from experienced coders on this.
    Thank you.
     
  2. Chris22

    Chris22 Regular Member

    Joined:
    Sep 29, 2010
    Messages:
    400
    Likes Received:
    1,059
    You can use regular expressions or html agility pack to scrape it from the page.
     
  3. maverick927

    maverick927 Newbie

    Joined:
    Dec 24, 2009
    Messages:
    42
    Likes Received:
    10
    The problem is I can't find it in the source code of the page. It is generated by a Javascript I think.

     
  4. Chris22

    Chris22 Regular Member

    Joined:
    Sep 29, 2010
    Messages:
    400
    Likes Received:
    1,059
    If it's javascript making an ajax request to get it, then use Fiddler and watch what happens with the requests/response, if you can see that it is indeed an ajax request then just replicate that using C#'s HttpWebRequest. If it's generated in some other way using javascript, you need to look for the function thats doing it and recreate it in C#.