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.compatch-1
parent
56c8e9b10d
commit
9cb22199f7
|
@ -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]+(@)"
|
||||
|
|
Loading…
Reference in New Issue