Skip to content

Commit

Permalink
add jsparse regex to links
Browse files Browse the repository at this point in the history
  • Loading branch information
xmendez committed Oct 25, 2020
1 parent 1a65c93 commit ee25382
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wfuzz/plugins/scripts/links.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ def __init__(self):
r'\b(?:(?<!data-)href)="((?!mailto:|tel:|#|javascript:).*?)"',
r'\bsrc="((?!javascript:).*?)"',
r'\baction="((?!javascript:).*?)"',
# http://en.wikipedia.org/wiki/Meta_refresh
r'<meta.*content="\d+;url=(.*?)">',
r'<meta.*content="\d+;url=(.*?)">', # http://en.wikipedia.org/wiki/Meta_refresh
r'getJSON\("(.*?)"',
r"[^/][`'\"]([\/][a-zA-Z0-9_.-]+)+(?!(?:[,;\s]))", # based on https://github.com/nahamsec/JSParser/blob/master/handler.py#L93
]

self.regex = []
Expand Down

0 comments on commit ee25382

Please sign in to comment.