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

Axiom-Scan w/Assetfinder - Strange Output #524

Closed notakodr closed 2 years ago

notakodr commented 2 years ago

Screenshot from 2022-02-11 10-57-37

Getting some strange Axiom info in the output text file...

Any ideas??

Big thanks to you and the team for creating such an exciting project.

pdelteil commented 2 years ago

It seems you're seeing the colored output in a 'plain text' form.

notakodr commented 2 years ago

pdelteil commented 4 minutes ago

Thank you for reaching out. Super appreciated.

I am a total noob trying to setup my first automated scan using Axiom.. Would like to have Axiom-Scan do all the scans

Trying to use assetfinder, subfinder and chaos to enum subs. Then send all the cleaned up data to nuclei etc... Perhaps I am looking at this from the wrong view.

Below is my first attempt at coding my own auto recon. Is there a flag to set to stop colored text output?

!/bin/bash

domain=$1

if [[ -z "$domain" ]];

then echo "> Domain Required!" exit 1; else spinupfleet(){ axiom-fleet -i 10 -r sfo3,nyc1,tor1 axiom-select '*' } spinupfleet

domain_enum(){ mkdir -p $domain/subdomains $domain/intel $domain/intel/nuclei axiom-scan ~/hyatt -m assetfinder $domain --subs-only | tee $domain/subdomains/assetfinder.txt sort -u $domain/subdomains/assetfinder.txt -o $domain/subdomains/assetfinder.txt } domain_enum

destroy(){ axiom-rm '*' -f } destroy fi

0xtavian commented 2 years ago

@notakodr check out the wiki for some videos and write ups. I’d recommend first watching https://www.youtube.com/watch?v=t-FCvQK2Y88 NahamCon 2021 - Introduction to Axiom, then reading about Simple Modules https://github.com/pry0cc/axiom/wiki/Adding-Simple-Modules. Some tips: avoid using | unless required and only use it directly in the module. There is no point piping to tee sort -u, axiom-scan does this already if using txt extension in the module (IIRC). Join the discord if you need additional help https://github.com/pry0cc/axiom/wiki

Ty @pdelteil for pointing out the reason for the output coloring.

notakodr commented 2 years ago

Awesome, thanks!

On Sun, Feb 13, 2022 at 3:23 PM 0xtavian @.***> wrote:

Closed #524 https://github.com/pry0cc/axiom/issues/524.

— Reply to this email directly, view it on GitHub https://github.com/pry0cc/axiom/issues/524#event-6063007950, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXXEM6TND2ZZIGF22FUJD7DU3A4QHANCNFSM5OFCZQ5A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>