need help to build autmation tools in c#

atom6402

Junior Member
Joined
Aug 17, 2009
Messages
112
Reaction score
86
hey guys
i need some tools which are nowhere sold
i decided to code them myself
as i see the fastest bots are running with sockets (winsock) and are mostly coded in vb.net or c#

as i dont like vb i want to do it in c#, i only did some basic stuff with c# and i dont have a clue about sockets

what do you think ? is it easy to learn sockes and create bots with it
if you are familiar with sockets i could hire you thx
 
once you understand how http work, creating your own web sockets are easy.
(you will encounter however some problems with ssl).
 
For C# you need to use WebClient, HttpWebRequest or TcpClient for HTTP. There are tons of code examples, just search for "C# http example" etc..
 
For C# you need to use WebClient, HttpWebRequest or TcpClient for HTTP. There are tons of code examples, just search for "C# http example" etc..

All of which sit on top of the sockets layer and none naturally support socket proxies, only http proxies.

If you want to code at the sockets layer, good luck with that as it would take you a couple of years to understand it and write all parsing functions needed just to surf the web... Since you are a beginner, do what RottenYellow said. If your automation job isn't to much, like single page submits and you aren't worried about proxies or speed, use a WebBrowser object. If you want speed, native proxy support, and more control, then use HttpWebRequest. TCPClient is more for a direct connection with another computer, something like a chat client would use. With that, you'll fight with firewalls to open ports and it isn't very user friendly. I used it on a backdoor/botnet before which didn't do very well because of the port/firewall problems.
 
All of which sit on top of the sockets layer and none naturally support socket proxies, only http proxies.

If you want to code at the sockets layer, good luck with that as it would take you a couple of years to understand it and write all parsing functions needed just to surf the web... Since you are a beginner, do what RottenYellow said. If your automation job isn't to much, like single page submits and you aren't worried about proxies or speed, use a WebBrowser object. If you want speed, native proxy support, and more control, then use HttpWebRequest. TCPClient is more for a direct connection with another computer, something like a chat client would use. With that, you'll fight with firewalls to open ports and it isn't very user friendly. I used it on a backdoor/botnet before which didn't do very well because of the port/firewall problems.

Better listen to him OP! If you don't have a clue about sockets you really shouldn't try to learn to use them (if you don't want to devote months for intensive learning). The information about C# socks programming and especially connecting through SOCKS proxies is very limited and scattered all around the internet.

If you still want to build a program that uses sockets I suggest you to buy a library which handles everything for you, so you don't need to learn pretty much anything about the underlying techniques.
 
nobody use sockets nowadays...
if you are developing simple bots then go for webclient or webbrowser control...
don't ever go near HttpWebRequest or Sockets as both will give you real headaches..
HttpWebRequest gives you more settings and options but at same time it will give you lots of unwanted errors and headaches (use it only if you are developing advanced bots).. Sockets is the mother of all of the mentioned classes.. you really don't wanna waste your time learning it..
 
Back
Top