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

Digital Ocean - Enable IPV6 when creating the instance #357

Closed Techbrunch closed 3 years ago

Techbrunch commented 3 years ago

It would be great to enable IPV6 when creating droplet (or at least have the option to enable it).

This would enable port scan using IPV6.

This can be done with doctl using the --enable-ipv6 flag.

Source: https://docs.digitalocean.com/reference/doctl/reference/compute/droplet/create/

Workaround: https://docs.digitalocean.com/products/networking/ipv6/how-to/enable/#on-existing-droplets

Techbrunch commented 3 years ago

Setting ipv6 to true in do.json:

{
  "builders": [
    {
      "type": "digitalocean",
      "ssh_username": "root",
      "snapshot_name": "{{ user `snapshot_name` }}",
      "api_token": "{{ user `do_key` }}",
      "image": "ubuntu-20-04-x64",
      "region": "{{ user `region`  }}",
      "size": "s-1vcpu-1gb",
      "ipv6": true
    }
  ]
}

It worked when building the image but not when creating new droplet from the image.

0xtavian commented 3 years ago

@Techbrunch I'll try to look into this over the weekend, just been very busy. For what its worth Linode seems to have IPV6 automatically enabled

darkc0d37 commented 3 years ago

@Techbrunch @0xtavian this can be done by modifying do-funcations.sh file This is the pull request https://github.com/pry0cc/axiom/pull/377/commits/24f8c1c77bffe4d7f274310ffde0632d7e52ac63

0xtavian commented 3 years ago

thanks! Closing this. Reopen if there are any more issues.