-
Notifications
You must be signed in to change notification settings - Fork 55
/
match-replace-burp.json
155 lines (155 loc) · 5.66 KB
/
match-replace-burp.json
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
{
"proxy":{
"match_replace_rules":[
{
"comment":"Emulate IE",
"enabled":false,
"is_simple_match":false,
"rule_type":"request_header",
"string_match":"^User-Agent.*$",
"string_replace":"User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)"
},
{
"comment":"Emulate iOS",
"enabled":false,
"is_simple_match":false,
"rule_type":"request_header",
"string_match":"^User-Agent.*$",
"string_replace":"User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 5_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9B176 Safari/7534.48.3"
},
{
"comment":"Emulate Android",
"enabled":false,
"is_simple_match":false,
"rule_type":"request_header",
"string_match":"^User-Agent.*$",
"string_replace":"User-Agent: Mozilla/5.0 (Linux; U; Android 2.2; en-us; Droid Build/FRG22D) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1"
},
{
"comment":"Require non-cached response",
"enabled":false,
"is_simple_match":false,
"rule_type":"request_header",
"string_match":"^If-Modified-Since.*$"
},
{
"comment":"Require non-cached response",
"enabled":false,
"is_simple_match":false,
"rule_type":"request_header",
"string_match":"^If-None-Match.*$"
},
{
"comment":"Hide Referer header",
"enabled":false,
"is_simple_match":false,
"rule_type":"request_header",
"string_match":"^Referer.*$"
},
{
"comment":"Require non-compressed responses",
"enabled":false,
"is_simple_match":false,
"rule_type":"request_header",
"string_match":"^Accept-Encoding.*$"
},
{
"comment":"Ignore cookies",
"enabled":false,
"is_simple_match":false,
"rule_type":"response_header",
"string_match":"^Set-Cookie.*$"
},
{
"comment":"Rewrite Host header",
"enabled":false,
"is_simple_match":false,
"rule_type":"request_header",
"string_match":"^Host: foo.example.org$",
"string_replace":"Host: bar.example.org"
},
{
"comment":"Add spoofed CORS origin",
"enabled":false,
"is_simple_match":true,
"rule_type":"request_header",
"string_replace":"Origin: foo.example.org"
},
{
"comment":"Remove HSTS headers",
"enabled":false,
"is_simple_match":false,
"rule_type":"response_header",
"string_match":"^Strict\\-Transport\\-Security.*$"
},
{
"comment":"Disable browser XSS protection",
"enabled":false,
"is_simple_match":true,
"rule_type":"response_header",
"string_replace":"X-XSS-Protection: 0"
},
{
"comment":"Show Hiddden UI",
"enabled":true,
"is_simple_match":true,
"rule_type":"response_body",
"string_match":"hidden",
"string_replace":"hizzen"
},
{
"comment":"Show Hiddden UI",
"enabled":true,
"is_simple_match":true,
"rule_type":"response_body",
"string_match":"display: none",
"string_replace":"display: n0ne"
},
{
"comment":"Change disable to enable",
"enabled":true,
"is_simple_match":true,
"rule_type":"response_body",
"string_match":"disable",
"string_replace":"enable"
},
{
"comment":"Change from false to true",
"enabled":true,
"is_simple_match":true,
"rule_type":"response_body",
"string_match":"false",
"string_replace":"true"
},
{
"comment":"Bypass WAF",
"enabled":true,
"is_simple_match":true,
"rule_type":"request_header",
"string_replace":"X-Forwarded-Host:: 127.0.0.1"
},
{
"comment":"Bypass WAF",
"enabled":true,
"is_simple_match":true,
"rule_type":"request_header",
"string_replace":"X-Forwarded-By: 127.0.0.1"
},
{
"comment":"Bypass WAF",
"enabled":true,
"is_simple_match":true,
"rule_type":"request_header",
"string_replace":"X-Forwarded-Scheme: 127.0.0.1"
},
{
"comment":"Easy replace XSS payload",
"enabled":true,
"is_simple_match":true,
"rule_type":"request_header",
"string_match":"xss_payload",
"string_replace":"\"><svg/onload=alert(1)>"
}
]
}
}