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

Add cero module #535

Closed ibitebyt3s closed 2 years ago

ibitebyt3s commented 2 years ago

cero is a go command that grabs the domains from a SSL certificate. It's useful to expand the possible known domain names of a partiular target.

Test it in zsh shells with:

axiom-scan =(echo google.com) -m cero -o out.txt

or replace =(echo google.com) with a file with your desired input.

Command Output example (truncated):

*.google.pt
*.googleadapis.com
*.googleapis.cn
*.googlevideo.com
*.gstatic.cn
*.gstatic-cn.com
googlecnapps.cn
0xtavian commented 2 years ago

Thanks for the PR. I want to take this opportunity to make cero axiom’s first docker based module.

The requirements for a docker module are

Below is an example of a docker module. If you are not up to the task, I can look into it in a few days.

im going to close this PR but if we cant make the docker module for whatever reason we can likely reopen.

Thanks again! I hope you are up for the challenge! But if not, no worries!

[
        {
                "command":"docker run --rm --mount type=bind,source=\"$(pwd)\",target=/host ilyaglow/masscan -iL /host/input -p80 -oG /host/output",
                "ext":"txt"
        },
        {
                "command":"sudo masscan -iL input -oX output",
                "ext":"xml"
        }
]
ibitebyt3s commented 2 years ago

You're welcome and thank you as well!

Sure, I worked with docker a few years/months ago and would need to refresh some concepts. I'm interested creating the docker module but I atm I'm loaded with other tasks and can't commit myself to a dead line.

Instead I'll update this thread whenever I start working on it. Either way if you end up doing it I might be able to help by dockerizing other modules.

0xtavian commented 2 years ago

@ibitebyt3s

Either way if you end up doing it I might be able to help by dockerizing other modules.

Yep! Over the coming months I plan to port as many modules as we can to docker. Should be interesting. :)