Hello, I have 4+ years of experience with desktop c++ but when it comes to network, I am a total beginner and I need your help.
What I want to do is create 2 programs(console). first is for the server(My computer). And the second is for the client. The thing is, Whenever clients(Multiple) opens the second program(From anywhere of the world), I want to be able to send them cmd request(from the server) like color a, tree... But How can I do that? Which steps should I follow?
Note: What I want to do is create a Botnet to test the security of my website (Not for Illegal purposes)
Since it's not for nefarious purposes, you're going to need the cooperation of the "botnet" nodes. The most straightforward way to get that is with money. Rent a bunch (5-20 should probably be enough to saturate your server's bandwidth) of cheap VPSs and install your attack program on them.