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
4.06k stars 645 forks source link

Accidentally deleted my own instance along with axiom fleet #499

Closed xaeroborg closed 2 years ago

xaeroborg commented 2 years ago

Request to add this option I spun up 4 instances and I usually delete the instance with this command axiom-rm "fleet-name*" -fbut for some reason axiom gave me a msg to use axiom-rm "\*" -f and as much as this command says that this will delete all the instances including the main instance I never thought axiom would do it, I thought there was a fail-safe option where it would not delete the parent instance but just few mins ago it did in the blink of an eye.

Could @0xtavian you please kindly add this option where the rm command doesnt delete the parent instance

0xtavian commented 2 years ago

@xaeroborg you have to escape the asterix axiom-rm "fleet-name\*" -f.

0xtavian commented 2 years ago

@xaeroborg keep in mind the failsafe option is the optional -f, excluding this forces the user to confirm each deletion.

Would a detailed help menu be sufficient?

xaeroborg commented 2 years ago

@0xtavian thanks that would be great. Fortunately Linode has a feature to recover the deleted instance and now I have got back the entire linode as it was.

Glad to know that excluding the -f is the best failsafe option, excellent!