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
4.06k stars 645 forks source link

Custom secretfinder module returns parse error. #459

Closed jcr7301 closed 3 years ago

jcr7301 commented 3 years ago

I've created my own custom module for SecretFinder (https://github.com/m4ll0k/SecretFinder) in a similar way as linkfinder (https://github.com/pry0cc/axiom/commit/2c412835d3f9aa1f17af2b66f84994adb0277e5e) but it returns parse error: Invalid numeric literal at line 1, column 2 for whatever input I've tried.

Command:

axiom-scan urls.txt -m secretfinder -o result.txt

SecretFinder module:

[{
  "command":"python3 -u /home/op/recon/SecretFinder/SecretFinder.py -i _target_ -o cli | tee -a _output_/_cleantarget_",
  "ext":"",
  "threads":"4"
}]
0xtavian commented 3 years ago

@jcr7301 Is your module in ~/.axiom/modules/secretfinder.json? if you run axiom-scan --list do you see your module?

jcr7301 commented 3 years ago

Yep, that was, I had a typo in the name. Sorry. Closing...