Reconnoitre icon indicating copy to clipboard operation
Reconnoitre copied to clipboard

Multiple scan types, specified by flag

Open codingo opened this issue 5 years ago • 4 comments

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.

codingo avatar Oct 23 '18 08:10 codingo

I can start working on this issue.

CrimsonK1ng avatar Oct 04 '19 15:10 CrimsonK1ng

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.

codingo avatar Oct 04 '19 23:10 codingo

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",
             ...
        ]
    }
}

CrimsonK1ng avatar Oct 05 '19 00:10 CrimsonK1ng

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.

codingo avatar Oct 05 '19 01:10 codingo