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

Update provisioners regarding DNS resolvers #386

Closed y0k4i-1337 closed 3 years ago

y0k4i-1337 commented 3 years ago

Make sure /etc/resolv.conf is world readable so any user could resolve hostnames. Maybe because local umask or something else, this file was not being uploaded to images with proper permissions, causing resolutions erros when running programs as users other than root.

Also, disable systemd-resolved so we could easily run our own DNS servers, for instance using sqlmap with --dns-domain option. This does not affect DNS resolutions.