Getting my feet wet

Seuss

BANNED
Joined
Jun 13, 2009
Messages
56
Reaction score
22
So I've decided to dive into C# after having years of experience programming with PhP, Python, C++, Obj.-C, etc. etc.

I thought a good first example was to try and create a digg bot for creating accounts, but have the user manually type in the captcha...

I've basically got it all done but can not for the life of me get the post data to upload correctly...I've set all of the what I believe are necessary HTTP params correctly based off of the data I retrieved from Live HTTP Headers in FireFox. If I post to an ajax location from c# the receiver will accept my request correct? or is this my first problem?

TIA!

Seuss
 
Why not to make for start some easy bot for forums that do not have ajax, in this way you will see full process: registration, email confirmation, logging, writing content
also use some captcha api service to bypass captchas
 
I can easily implement a decaptcha api into even this program. I just wanted to try at something...I have done a lot of web programming, so I'm familiar with JSON and what not, which is what the remote server is expecting and I'm sending in text/javascript form which the digg site sends...

I guess that I feel I'm so close to finishing this one, I'd rather finish this before moving on. My next easy bot will be for as you say, some forum, etc.
 
...I've set all of the what I believe are necessary HTTP params correctly based off of the data I retrieved from Live HTTP Headers in FireFox. If I post to an ajax location from c# the receiver will accept my request correct? or is this my first problem?

TIA!

Seuss

Yes you should be able to post to an ajax location, but if you don't look real close there can be extra parameters being passed. When I get to a point like this I like to fire up Fiddler and watch the POST values doing it manually and then again with the bot and just make sure they are matching. Comparing the two will usually make it very obvious what you are missing. I've often had an ajax call checking my referrer to make sure I'm a real user that made it to the page they expect it to work from verse a bot just posting from anywhere.
 
Ok, I finally got it working correctly. It actually was really pretty easy. Not sure how difficult making other bots are, but this one wasn't too bad. Going to look into integrating a decaptcha api or even possibly an open source OCR and image manipulation tool to try and automate these captchas. A few more finishing touches on the program and I will have it ready to hand out here.
 
Ok, I finally got it working correctly. It actually was really pretty easy. Not sure how difficult making other bots are, but this one wasn't too bad. Going to look into integrating a decaptcha api or even possibly an open source OCR and image manipulation tool to try and automate these captchas. A few more finishing touches on the program and I will have it ready to hand out here.

What have you corrected? Did you missed a POST parameter?
 
I had an extra character in one of the POST params. Couldn't believe it when I saw it, but was an easy fix.
 
Back
Top