pry0cc / axiom

The dynamic infrastructure framework for everybody! Distribute the workload of many different scanning tools with ease, including nmap, ffuf, masscan, nuclei, meg and many more!
MIT License
4k stars 622 forks source link

Transfer axiom to another machine without having to reinstall? #530

Closed gprime31 closed 2 years ago

gprime31 commented 2 years ago

I want to transfer from my vps to local machine. Is this possible?

0xtavian commented 2 years ago

@gprime31 The axiom controller needs to be installed on the machine if you want to run axiom-scan commands ( for example ). If axiom is already installed on both machines simply transfer pub/priv key ( axiom_rsa by default) and the axiom profile ( $HOME/.axiom/accounts/youraccount.json ), then run axiom-account your-account.

If you are only looking to transfer scan data from the vps to local, use scp.

gprime31 commented 2 years ago

Ok, So then is there a way to skip the install and backup part and just use the backup that's already there? (Like when it creates the tmp droplet and backs it up)

0xtavian commented 2 years ago

You can’t skip installing the axiom controller if you want to use axiom. You can however skip initiating the first Packer build upon install. You’d have to transfer your ssh key from the vps to local machine if you want to use an image already build.

axiom-configure --unattended

If you want to skip running axiom-account-setup

axiom-configure --shell bash --unattended --config { "do_key": "[redacted]", "region": "nyc1", "provider": "do", "default_size": "s-1vcpu-1gb", "appliance_name": "", "appliance_key": "", "appliance_url": "", "email": "", "op": "[redacted]", "imageid": "axiom-default-myimageid", "provisioner": "default", "sshkey": "id_rsa" }

https://github.com/pry0cc/axiom/wiki/Filesystem-Utilities#axiom-configure

gprime31 commented 2 years ago

Awesome. Thanks.