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

Support for Azure Cloud Shell #442

Open ResistanceIsUseless opened 3 years ago

ResistanceIsUseless commented 3 years ago

I looked into adding support for azure cloud shell and the following issues would need to fixed or work-arounds added.

  1. azure cloud shell doesnt allow sudo, so that means no apt. Everything will need to be installed manually.
  2. anything outside of the users home directory will be lost when the session dies.
  3. az login is pre-configured, so /interact/account-helpers/azure.sh needs to be updated to skip az login and installing az cli.
  4. account/*.json is being saved but axiom.json is not

It does work once you get your profile created. @0xtavian had a good point about what happens if your session times out. I tested this during axiom-init and it was fine, but it would probably kill any scan's that require the controller to kick off next steps. It should only be seen as a fire and forget option.

One nice thing about it is that it's using a storage account my default. So you could connect the storage account to all your instances and your personal desktop and be able to access any data or scripts from any location.