Best way to write bots

xpro

Regular Member
Joined
Jan 21, 2009
Messages
442
Reaction score
24
Hello

I have always used Java + Controlling the actual browser to write my bots, but that is sometimes very slow and most importantly unreliable. I've been looking for a better solution and I looked at C#'s httpWebrequest/response but I find it some what confusing and takes too much time to create bots with it. Is there anything like that for Java but something that is easier to work with?


Best Regards!
 
Well you can write bots in just about any language, I have some guys who have made some in PHP and it works fine, I use php just cus the developers are the most plentiful and cheapest, I personally prefer doing web bots meaning they run on a web server and you access the gui through a web browser
 
If you are looking for a shortcut platform try out ubotstudio. You might like it.

Java is certainly a bitter language. (yay clever pun!) :)
 
Look up the URLconnection class for Java. Learn to use POST requests. Java is one of the best languages to make bots in IMO.
 
HTTPWebRequest in .NET can be a bit verbose.

you could always write your own wrapper class to abstract it out a bit and save yourself some code re-writing.

in addition to that you actually also have the System.Sockets namespace. a very powerful group of classes, but will take a bit of time to learn and in practical terms really necessitates a wrapper class to abstract out the functionality.

there are also 3rd party libraries like ChillKat HTTPClass for .NET

i've never used ChillKat personally, don't need to because one of my partners designed an amazing custom HTTPClass based on System.Sockets, but many people seem to like the ChillKat libraries quite a bit.

i've seen some source code for bots done in php with curl and my gut reaction is always that it seems like spaghetti code, and looks like you're making things more difficult on yourself. that's just one man's opinion though, and bear in mind that i don't have nearly the familiarity with php that i do with .NET
 
The best way to write bots is in the programming language of your choice and that you are most familiar. Java is great, so is PHP and .NET. I prefer PHP for most of my bot programming, mainly because it is cross platform and server friendly, but again that is just a personal choice.

One thing I would caution against is browser manipulation or embedding a browser component into your bots. The prevalence of drive-by malware on sites of interest is growing wildly, and you don't need a sick host computer as a result of botting even if it is under a virtual machine.
 
Pure php! No brovsers no servers nothing just php

wys.png
 
c++ and QT, you dont need to write any classes or functions yourself as it pretty much is framework for anything you need with hundreds of classes and functions

I learned that its not the language but the support you can get, there is no best languages as pretty much they are all same shit in different syntax
 
I use ubotstudio, it is amazing.

Too big a subject to go into but if you code already you will find it simple, my only tip is to try it.
 
Developing in C# is quite fast if you can invest some time and learn it properly.

I can recommend Chilkat as well, especially their Http component ... although is not free.
 
Chilkat is good but nowdays .net 4.5 has also great async components for making web requests
 
Well you can write bots in just about any language, I have some guys who have made some in PHP and it works fine, I use php just cus the developers are the most plentiful and cheapest, I personally prefer doing web bots meaning they run on a web server and you access the gui through a web browser

You have a point there. The downside is that you have to pay for the server on which the script runs, but hey - nothing's perfect :)
 
thanks very informative thread ... php is one great and easier language for programming noobs .
 
I know this is a little out there but I'm also interested in building bots: If i build an IG bot that follows/unfollows users can my IG account get banned?
 
@Euphorix I use a IG bot that follows/unfollows and it hasn't gotten banned, i only use 1 IG Account on 1 IP though.
 
Back
Top