more precise tokens
parent
8ca66bd66d
commit
536b9d9949
|
@ -14,12 +14,12 @@ requests:
|
|||
matchers:
|
||||
- type: dsl
|
||||
dsl:
|
||||
- 'regex("TOKEN[\\-|_|A-Z0-9]*(\")?(:|=)(\")?",replace(toupper(body)," ",""))' #any TOKEN word
|
||||
- 'regex("API[\\-|_|A-Z0-9]*(\")?(:|=)(\")?",replace(toupper(body)," ",""))' #any API word
|
||||
- 'regex("KEY[\\-|_|A-Z0-9]*(\")?(:|=)(\")?",replace(toupper(body)," ",""))' #any KEY word
|
||||
- 'regex("SECRET[\\-|_|A-Z0-9]*(\")?(:|=)(\")?",replace(toupper(body)," ",""))' #any SECRET word
|
||||
- 'regex("AUTHORIZATION[\\-|_|A-Z0-9]*(\")?(:|=)(\")?",replace(toupper(body)," ",""))' #any AUTHORIZATION word
|
||||
- 'regex("PASSWORD[\\-|_|A-Z0-9]*(\")?(:|=)(\")?",replace(toupper(body)," ",""))' #any PASSWORD word
|
||||
- 'regex("TOKEN[\\-|_|A-Z0-9]*(\")?(:|=)(\")?[\\-|_|A-Z0-9]{10}",replace(toupper(body)," ",""))' #any TOKEN word
|
||||
- 'regex("API[\\-|_|A-Z0-9]*(\")?(:|=)(\")?[\\-|_|A-Z0-9]{10}",replace(toupper(body)," ",""))' #any API word
|
||||
- 'regex("KEY[\\-|_|A-Z0-9]*(\")?(:|=)(\")?[\\-|_|A-Z0-9]{10}",replace(toupper(body)," ",""))' #any KEY word
|
||||
- 'regex("SECRET[\\-|_|A-Z0-9]*(\")?(:|=)(\")?[\\-|_|A-Z0-9]{10}",replace(toupper(body)," ",""))' #any SECRET word
|
||||
- 'regex("AUTHORIZATION[\\-|_|A-Z0-9]*(\")?(:|=)(\")?[\\-|_|A-Z0-9]{10}",replace(toupper(body)," ",""))' #any AUTHORIZATION word
|
||||
- 'regex("PASSWORD[\\-|_|A-Z0-9]*(\")?(:|=)(\")?[\\-|_|A-Z0-9]{10}",replace(toupper(body)," ",""))' #any PASSWORD word
|
||||
extractors:
|
||||
- type: regex
|
||||
part: body
|
||||
|
|
Loading…
Reference in New Issue