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

axiom-boxes: When to use it and is it broken? #626

Open nicoandmee opened 1 year ago

nicoandmee commented 1 year ago

I'm a little fuzzy as to how axiom-boxes is to be used in relation to a running instance. For example, I have a droplet provisioned with all my favorite tools/dotfiles, etc. and it seemed like (from description) that axiom-boxes would allow me to take my image out of DO, rolled up as as an encrypted .tgz.

However when I run axiom-boxes master (master is the name of my pet instance) I observed the following output:

master:~:% axiom-boxes new master
Creating box 'master'...
cp: cannot stat '/home/op/.axiom/configs/oh-my-zsh.tar.gz': No such file or directory
tar: .oh-my-zsh.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now

Looking at the code, I see why this error occurs. Am I not using it correctly/understanding its purpose, or is there room for improvement here?

0xtavian commented 1 year ago

@nicoandmee yea axiom-boxes is pretty old code. I don’t suspect it would work without an update or refactor. If you just want to download a copy of the home directory you should be able to use axiom-sync.