codingo / Reconnoitre

A security tool for multithreaded information gathering and service enumeration whilst building directory structures to store results, along with writing out recommendations for further testing.
GNU General Public License v3.0
2.1k stars 457 forks source link

Multiple scan types, specified by flag #76

Open codingo opened 5 years ago

codingo commented 5 years ago

Along with the change #74 the user should be able to specify additional, modified scans that they can launch at command line.

So, for example, if:

--scantype "codingo-hackthebox"

Was run then the scan found under "codingo-hackthebox" in the scans object in config.json would be used. If nothing was specified then the object "default" would be used.

CrimsonK1ng commented 4 years ago

I can start working on this issue.

codingo commented 4 years ago

That would be great, if you can put a PayPal in your pr I'd love to send you a token of thanks as well.

CrimsonK1ng commented 4 years ago

Just wanted to check before I do any significant changes, but what would you like the scan default to be? Currently I would have an empty default object under scan. Then users would add their own scans which you can then provide as an argument on the command line as ---scantype my-scan. Is that along the lines of what you were thinking? Also thanks, I like this project so I wanted to help.


scans: {
   'default': {},
   'my-scan': {
        'description': 'does my scan',
        'commands': [
             "scan1",
             "scan2",
             ...
        ]
    }
}
codingo commented 4 years ago

I like this approach, maybe add a couple of examples to help guide users, but the one labelled default would be the one used if no flags are passed.