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

Modify .sshconfig for axiom instances #621

Open thapr0digy opened 2 years ago

thapr0digy commented 2 years ago

Using the changes from PR #614, I added another function to only pull axiom created instances into the sshconfig. It'll allow for listing of all instances with axiom-ls, but axiom-ssh and axiom-account will use the new function.

The other choice is to just modify the "instances" function itself, but I haven't tested that.

0xtavian commented 2 years ago

@thapr0digy had to replace the function with doctl compute droplet list -o json | jq -r 'select( .[].image.name | startswith("axiom"))' to get it working as expected. Still debating and testing the concept, but wont be merging as-is. thank you!