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
3.98k stars 617 forks source link

Axiom-Play book issues with running dns-enum #484

Open ahmedsherif opened 2 years ago

ahmedsherif commented 2 years ago

The input file is existing


axiom-playbook -m dns-enum example-domains.txt -o output.txt                                                                                                                                                                                                                                  1 ⨯
              _                             __            __                __
  ____ __  __(_)___  ____ ___        ____  / /___ ___  __/ /_  ____  ____  / /__
 / __ `/ |/_/ / __ \/ __ `__ \______/ __ \/ / __ `/ / / / __ \/ __ \/ __ \/ //_/
/ /_/ />  </ / /_/ / / / / / /_____/ /_/ / / /_/ / /_/ / /_/ / /_/ / /_/ / ,<
\__,_/_/|_/_/\____/_/ /_/ /_/     / .___/_/\__,_/\__, /_.___/\____/\____/_/|_|
                                 /_/            /____/
Author: @pry0cc

Selecting playbook 'dns-enum'
Starting axiom-playbook: [ cat -m | subfinder | shuffledns | dnsx -resp > output.txt ] 
cp: invalid option -- 'm'
Try 'cp --help' for more information.

cat: input: No such file or directory
              _
  ____ __  __(_)___  ____ ___        ______________ _____
 / __ `/ |/_/ / __ \/ __ `__ \______/ ___/ ___/ __ `/ __ \
/ /_/ />  </ / /_/ / / / / / /_____(__  ) /__/ /_/ / / / /
\__,_/_/|_/_/\____/_/ /_/ /_/     /____/\___/\__,_/_/ /_/

                                    @pry0cc
                                 & @0xtavian

error input file is empty, exiting
              _
  ____ __  __(_)___  ____ ___        ______________ _____
 / __ `/ |/_/ / __ \/ __ `__ \______/ ___/ ___/ __ `/ __ \
/ /_/ />  </ / /_/ / / / / / /_____(__  ) /__/ /_/ / / / /
\__,_/_/|_/_/\____/_/ /_/ /_/     /____/\___/\__,_/_/ /_/

                                    @pry0cc
                                 & @0xtavian

Input file does not exist, please specify one as the first argument... 
Usage of axiom-scan
Example Usage: axiom-scan ips.txt -m nmap -T4 --top-ports 2000 -oX output.xml
  --list (optional)
    List available modules
  <input> required string
    Input file, supplied as a positional first argument
  -m required string
    Module to use to scan (e.g masscan, nmap, gowitness, ffuf)
  --dont-shuffle (optional)
    Do not randomize input file before uploading (default is to randomize)
  --dont-split (optional)
    Do not split input file, upload entire input file to every instance (default is to split the target list)
  -wL /path/to/local
    Wordlist Local to use to scan with (must be a path to a local wordlist)
  -wD/--distribute-wordlist (optional, depends on -wL)
    When using -wL, split and upload local wordlist (default is to not split the wordlist)
  -w /path/to/wordlist/on/instance
    Wordlist to use to scan with (must be a path to a remote wordlist)
  -o string
    Output to default output (whatever that is for the module)
  -oX string
    Output in XML/HTML, supported in (nmap & masscan)
  -oG string
    Output to greppable output (will merge and sort unique)
  -oD/-oA string
    Output results to directory
  -F string (optional)
    Custom SSH configuration file to launch fleet from
  --fleet string (optional)
    Fleet to use, will use axiom-select by default.
  --spinup int (optional)
    How many instances to spin up
  --rm-when-done (optional)
    Delete selected instances when scan is complete.
  --rm-logs (optional)
    Delete remote and local logs when finished (default keeps all logs)
  --debug (optional)
    Enable debug mode (VERY VERBOSE!)
  --quiet
    Enable quiet mode (placeholder: does not work)
  --cache
    Do not regenerate SSH config
  --help (optional)
    Display this help menu
  <additional args>
    If you want additional arguments supplied to your command, simply append them to the command!
              _
  ____ __  __(_)___  ____ ___        ______________ _____                                                                                                                                                                                                                                             
 / __ `/ |/_/ / __ \/ __ `__ \______/ ___/ ___/ __ `/ __ \                                                                                                                                                                                                                                            
/ /_/ />  </ / /_/ / / / / / /_____(__  ) /__/ /_/ / / / /                                                                                                                                                                                                                                            
\__,_/_/|_/_/\____/_/ /_/ /_/     /____/\___/\__,_/_/ /_/                                                                                                                                                                                                                                             

                                    @pry0cc                                                                                                                                                                                                                                                           
                                 & @0xtavian                                                                                                                                                                                                                                                          

Input file does not exist, please specify one as the first argument... 
Usage of axiom-scan
Example Usage: axiom-scan ips.txt -m nmap -T4 --top-ports 2000 -oX output.xml
  --list (optional)
    List available modules
  <input> required string
    Input file, supplied as a positional first argument
  -m required string
    Module to use to scan (e.g masscan, nmap, gowitness, ffuf)
  --dont-shuffle (optional)
    Do not randomize input file before uploading (default is to randomize)
  --dont-split (optional)
    Do not split input file, upload entire input file to every instance (default is to split the target list)
  -wL /path/to/local
    Wordlist Local to use to scan with (must be a path to a local wordlist)
  -wD/--distribute-wordlist (optional, depends on -wL)
    When using -wL, split and upload local wordlist (default is to not split the wordlist)
  -w /path/to/wordlist/on/instance
    Wordlist to use to scan with (must be a path to a remote wordlist)
  -o string
    Output to default output (whatever that is for the module)
  -oX string
    Output in XML/HTML, supported in (nmap & masscan)
  -oG string
    Output to greppable output (will merge and sort unique)
  -oD/-oA string
    Output results to directory
  -F string (optional)
    Custom SSH configuration file to launch fleet from
  --fleet string (optional)
    Fleet to use, will use axiom-select by default.
  --spinup int (optional)
    How many instances to spin up
  --rm-when-done (optional)
    Delete selected instances when scan is complete.
  --rm-logs (optional)
    Delete remote and local logs when finished (default keeps all logs)
  --debug (optional)
    Enable debug mode (VERY VERBOSE!)
  --quiet
    Enable quiet mode (placeholder: does not work)
  --cache
    Do not regenerate SSH config
  --help (optional)
    Display this help menu
  <additional args>
    If you want additional arguments supplied to your command, simply append them to the command!
/root/.axiom/tmp/1635610869-18121
cp: cannot stat '/root/.axiom/tmp/1635610869-18121/4': No such file or directory
Output saved successfully to 'output.txt'```
0xtavian commented 2 years ago

@ahmedsherif thanks, yes axiom-playbook needs some attention / code fixes. I've never used axiom-playbook tbh. FYI you can accomplish the same thing (with more granularity) by wrapping axiom-scan in a bash script.