1. This website uses cookies to improve service and provide a tailored user experience. By using this site, you agree to this use. See our Cookie Policy.
    Dismiss Notice

Creating a yahoo mail account creator but have problem with the post string

Discussion in 'C, C++, C#' started by xpro, Aug 26, 2010.

  1. kelvin.thechamp

    kelvin.thechamp Power Member

    Joined:
    Apr 4, 2011
    Messages:
    689
    Likes Received:
    275
    Occupation:
    Power MTA unlimited emailing servers, Exp coder..
    Location:
    http://spamvilla.com
    np thanks a lot !
     
  2. kelvin.thechamp

    kelvin.thechamp Power Member

    Joined:
    Apr 4, 2011
    Messages:
    689
    Likes Received:
    275
    Occupation:
    Power MTA unlimited emailing servers, Exp coder..
    Location:
    http://spamvilla.com
    after all trial and error i got what i missing only capturing request is not enough it require proper referrer etc values too now finally i got it working creating yahoo now :)
     
  3. Senotaru

    Senotaru Registered Member

    Joined:
    Jan 17, 2011
    Messages:
    67
    Likes Received:
    11
    Did you figure this out or are you still having trouble? I have a Yahoo bot that is run on httpwebrequest that works fine. What are you currently having trouble with?
     
  4. kelvin.thechamp

    kelvin.thechamp Power Member

    Joined:
    Apr 4, 2011
    Messages:
    689
    Likes Received:
    275
    Occupation:
    Power MTA unlimited emailing servers, Exp coder..
    Location:
    http://spamvilla.com
    lol well now i m having problem with hotmail page i followed ur old post too but no success yet any help ?
     
  5. xpro

    xpro Regular Member

    Joined:
    Jan 21, 2009
    Messages:
    436
    Likes Received:
    23
    Hotmail took me forever to find out, but the key is to handle cookies yourself. Don't just reply on CookieContainer some cookies do not get stored when creating account on hotmail.
     
  6. kelvin.thechamp

    kelvin.thechamp Power Member

    Joined:
    Apr 4, 2011
    Messages:
    689
    Likes Received:
    275
    Occupation:
    Power MTA unlimited emailing servers, Exp coder..
    Location:
    http://spamvilla.com
    Xpro i can handle all stuff of hotmail only thing is i cant get recaptcha link in source no matter i accept txt/html or something else care to help bro ?
     
  7. xpro

    xpro Regular Member

    Joined:
    Jan 21, 2009
    Messages:
    436
    Likes Received:
    23

    are you using fiddler to capture traffic?
     
  8. kelvin.thechamp

    kelvin.thechamp Power Member

    Joined:
    Apr 4, 2011
    Messages:
    689
    Likes Received:
    275
    Occupation:
    Power MTA unlimited emailing servers, Exp coder..
    Location:
    http://spamvilla.com
    yes i m using fiddler to capture traffic no success :) i cant disable java also hotmail require java to work ! really stuck here...
     
  9. xpro

    xpro Regular Member

    Joined:
    Jan 21, 2009
    Messages:
    436
    Likes Received:
    23
    basically look at the request in fiddler that grabbed the captcha, and use Fiddle's search function to find out where its id/challenge is coming from. That way you can find which request you need to call.
     
  10. jerktronic

    jerktronic Newbie

    Joined:
    Jul 12, 2008
    Messages:
    5
    Likes Received:
    1
    In my experience, it's better to have a "web browser" package do this kind of work for you. Parsing html forms ends up in nothing but headaches and eventual rewrites because the site changes it's html.

    Take a look at WatiN or Selinium integration into your project. This way, all your bases are covered.. cookies, form entries, urls, *site changes*. Worst case then would be if they change the names and/or values of visual elements like textboxes or dropdowns.
     
  11. kelvin.thechamp

    kelvin.thechamp Power Member

    Joined:
    Apr 4, 2011
    Messages:
    689
    Likes Received:
    275
    Occupation:
    Power MTA unlimited emailing servers, Exp coder..
    Location:
    http://spamvilla.com
    web browser sucks and cant be multithread !
     
  12. jerktronic

    jerktronic Newbie

    Joined:
    Jul 12, 2008
    Messages:
    5
    Likes Received:
    1
    Clearly, you have no idea what I actually said then. I didn't say draw an IE control and automate it. I said look into a "web browser" package. Not to mention you, in theory, could absolutly multithread a C# form with an IE control on it, but that is a crappy way to develop. Both of the solutions I offered up can be multi-threaded. Do some reading before you spout off garbage, please.
     
    Last edited: Jun 12, 2011
  13. kelvin.thechamp

    kelvin.thechamp Power Member

    Joined:
    Apr 4, 2011
    Messages:
    689
    Likes Received:
    275
    Occupation:
    Power MTA unlimited emailing servers, Exp coder..
    Location:
    http://spamvilla.com
    i know both and both are slow then normal httpwebrequest anyhow c# sucks in sockets , i moved to delphi lot faster and more richer...
     
  14. jerktronic

    jerktronic Newbie

    Joined:
    Jul 12, 2008
    Messages:
    5
    Likes Received:
    1
    Lol. Ok. You are the programming master. My 20 years experience in the field means nothing compared you your l33t engrish and skillz.
     
  15. smack

    smack Junior Member

    Joined:
    Feb 1, 2010
    Messages:
    182
    Likes Received:
    80
    Occupation:
    Software Engineer/Evil Genius
    Location:
    inside .NET
    actually if you have any clue what you're doing the sockets namespace in the .NET framework is absolutely fantastic.
     
    • Thanks Thanks x 1
  16. kelvin.thechamp

    kelvin.thechamp Power Member

    Joined:
    Apr 4, 2011
    Messages:
    689
    Likes Received:
    275
    Occupation:
    Power MTA unlimited emailing servers, Exp coder..
    Location:
    http://spamvilla.com
    i m not saying i m programming master mate i just wanna say there is more better options then .net framework isnt it ? specially in sockets... little google will help you out chill and continue ur work
     
  17. Senotaru

    Senotaru Registered Member

    Joined:
    Jan 17, 2011
    Messages:
    67
    Likes Received:
    11
    No? As someone mentioned, if you know what you're doing, c# is a fantastic language for rapid development and has a ton of built in classes. You're kind of comparing apples and oranges in this case, though. In terms of capturing traffic without flash, I suggest you download a Firefox addon called Noscript. Block the site you're working on. If Javascript is required for the site, try using Flashblock. Capture with fiddler or LiveHTTPHeaders via firefox. It's a sure fire way to socket a website without the hassle.
     
  18. doczoidberg

    doczoidberg Junior Member

    Joined:
    Feb 10, 2008
    Messages:
    173
    Likes Received:
    55
    Occupation:
    Student
    Location:
    Germany
    i use c# and the httpwebrequest and fail on the most sites to do simple things like a login.

    i try different request headers as i sniffed them with firebug, but it doesn't work with them either.

    what is the next thing to do?
     
  19. shudogg

    shudogg Regular Member

    Joined:
    Sep 23, 2008
    Messages:
    412
    Likes Received:
    153
    Occupation:
    Internet Marketing
    Location:
    Indiana
    Firefox and HTTP Live Headers plugin. Or use HTTPDebugger Pro, Fiddler...

    When registering for sites, I always pass a referrer. It makes it look more legit. Most people don't just showup on their register page and signup. They go to the homepage, click register.. look in the headers you sniffed and see what is passed for the referrer.

    Also, ensure you are spoofing your useragent. C# uses its own useragent if you don't specify one! If your coding an app for consumer use, allow them to select from a handful of different useragents. This will reduce the footprint.

    Also store the cookies in a cookie container.

    When sending the POST information, is there spaces in the POST data? If you sniffed "thisismy exampledata".. notice the space in the middle? You need to convert the space ;)
     
  20. ~divinci

    ~divinci Registered Member

    Joined:
    Sep 23, 2009
    Messages:
    51
    Likes Received:
    11
    Occupation:
    Infastructure Reverse Engineer
    Location:
    Liverpool UK
    You are right jerktronic :), the WebBrowser control is much easier in the long run to have a project based on, and the WaitN lib is great!! :pirate:

    MY main problem designing my bot led SEO is SCALE... how for example can you use PROXIES with the WaitN method? HASLE! yeah you can set IE's proxy on your local machine and programatically change is after every request - but then you have flash cookies to go and delete - what about the Last-Modifed cookie!!! pain in the ass!

    If I want to make 1K requests through 1K proxies, all using 1K cookie profiles... I have to unfortunately use the socket.

    Unless anyone else has another way????????? :cool: