Tib3rius / AutoRecon

AutoRecon is a multi-threaded network reconnaissance tool which performs automated enumeration of services.
GNU General Public License v3.0
5.07k stars 868 forks source link

Suggestion - Ignore / skip ports #202

Open J-Lucci opened 1 year ago

J-Lucci commented 1 year ago

It would be nice to be able to tell Autorecon to ignore some ports - specifically if there is a port open on several machines that is used for a specific tool that may be outside the scope of an exercise. I let it run and it can end up eating a lot of time especially if it fires a dirbuster against it.

Something simple like --ignore-ports 0,1,2..10

Tib3rius commented 1 year ago

This is an idea so obvious I can't believe I didn't implement it already. It should be relatively easy to do. I believe Nmap has an --exclude-ports option too.

That should stop the automated scanning of those ports. I'll need to code a check to handle when --force-services is used and potentially add an override.