OpenKAT scans networks, finds vulnerabilities and creates accessible reports. It integrates the most widely used network tools and scanning software into a modular framework, accesses external databases such as shodan, and combines the information from all these sources into clear reports. It also includes lots of cat hair.
The number of single ports is unlimited, the number of range groups is unlimited, but expected to come after the single ports.
Range groups are intended to be separated by a dash
No spaces / other chars are allowed.
Port numbers (single or in range) are limited from 1 to 65535
A small number is allowed as the second argument in a range, this is not easily fixed in the regex, but we might be able to flip them round in the boefje code.
This missing regex was mentioned in our pentest as a security issue. Not having this regex could allow red-teamers (who can set boefje settings) to inject command into the nmap cli call.
Originally posted by @underdarknl in https://github.com/minvws/nl-kat-coordination/issues/2999#issuecomment-2177941702