Thursday, April 19, 2012

Syncing program changes to other machines

Once you've set up a multi-machine attack it's great to able to invoke it and see the results on the target. However, what if you need to modify the software? It's spread over 7 machines and any changes will have to be recompiled on each attacker. Ouch! So my idea was to write another script to not only use rsync to sync the local changes but also to recompile the correct module on each machine. Luckily the structure of botloader makes this easy. The master directory has an script, then each of the sub-folders has another script, which is just invoked by So the sync-changes script takes one argument, the name of the subfolder, and then does all the hard work automatically. Of course you must first set up passwordless login for this to run smoothly:

No comments:

Post a Comment