add tags as addition to `-as` (#4543)

dev
Dogan Can Bakir 2023-12-29 01:05:56 +03:00 committed by GitHub
parent 09d76e3cb0
commit 2d3906cafc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -202,6 +202,8 @@ func (s *Service) processWappalyzerInputPair(input *contextargs.MetaInput) {
if len(items) == 0 {
return
}
// Add tags as addition to -as for comprehensive scans. Ref: nuclei/issues/3348
items = append(items, s.opts.Options.Tags...)
uniqueTags := sliceutil.Dedupe(items)
templatesList := s.store.LoadTemplatesWithTags(s.allTemplates, uniqueTags)