rapid7 / recog

Pattern recognition for hosts, services, and content
Other
662 stars 195 forks source link

Simplify many fingerprint regular expressions #381

Closed mkienow-r7 closed 2 years ago

mkienow-r7 commented 2 years ago

Description

Simplifies many fingerprint regular expressions by removing unnecessary:

Motivation and Context

Many thanks to @jvoisin for taking the time to propose these three changes in #332! Unfortunately that PR was left open for months and the merge conflicts were a bit of a mess since subsequent PRs removed unnecessary capture groups.

These changes increase fingerprint regular expression readability and remove unnecessary matching.

How Has This Been Tested?

Types of changes

N/A

Checklist: