Author

Topic: Command and Control system for mining any coin (Read 486 times)

newbie
Activity: 3
Merit: 0
February 05, 2014, 06:33:55 PM
#1
With the launch of all those new ALT-coins lately I figured the best way to profit would be to insta-cloud-mine the most promising ones, however doing this by hand is rather painful if you want to run anywhere upwards of 10 instances. Being a programmer however that ment "challenge accepted" thus I started working on a nice little command and control system, like what would be used in a botnet. So well, what I have created is the following 2 part system:

Command
- Central hub for all mining servers - could eventually run a wallet/RPC-host to receive coins
- Console to dispatch commands, currently:
--Create cloud instances -> specify provider (Amazon, Rackspace are in right now, adding Azure and DigitalOcean is on the todo-list), image and instance type and a number of instances to start and they will be launched for you
--GetFile -> Specify a server-filter (ie. Linux, "Amazon-small", "GroupX", "192.168.1.0-255" etc), a download  URL (http(s)) and a local storage URL - command is then dispatched to the control servers that were selected
--ExecuteCMD -> Run a program on specified servers, for example the miner/wallet you just fetched, output and eventual errors (if available) are returned
--Sendfile -> Specify a local file (such as a wallet.dat..) and destination file name, file will then be sent to the command server
--Kill cloud instances -> specify one or more cloud instances to terminate

Control
- Client which receives commands and executes them
- Automatically registers with command server and does a regular check-up
- Runs commands sent by command server

General
- Both things work perfectly under Linux, OSX and any version of Windows
- Setting up a cloud farm to mine a new coin takes just a few commands (create cloud servers, getfile, executecmd and profit)
- This of course works in the cloud, but if you happen to have your systems it will work just as well of course.

Todo-list
- Rather than have the "Command" part be a nice interactive command-prompt I should probably make a neat web-frontend for it as this might give a better overview
- Add some shorthands for common tasks (download, unzip, run any binary found with --gen flag...)
- Add more providers
- Huh??

I am thinking of selling the binaries in a one-time license fee model, chances that anyone here would be interested in such a thing? Gimme a ring through the forums (or hit me up in ##Cash4crypto on irc.freenode.net) in that case.

If you have any feature suggestions those are of course welcome!
Jump to: