Update http-username-password.yaml

Improve regex to avoid maatching spaces and words like http://something  mail@something.

Test https://ccw-prod-dr-ext-rtp.cisco.com
patch-1
un-fmunozs 2020-08-18 22:50:11 -05:00
parent 56c8e9b10d
commit 9cb22199f7
1 changed files with 2 additions and 2 deletions

View File

@ -18,10 +18,10 @@ requests:
- type: regex
part: body
regex:
- "(ftp|ftps|http|https)://[^@]+@"
- "(ftp|ftps|http|https)://[^@\\s]+@"
extractors:
- type: regex
part: body
regex:
- "(ftp|ftps|http|https)://[^@]+(@)"
- "(ftp|ftps|http|https)://[^@\\s]+(@)"