This repository has been archived by the owner on Sep 24, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathpiper-config.yaml
242 lines (242 loc) · 6.42 KB
/
piper-config.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
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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
messageViewers:
- prefix: [openssl, asn1parse, -inform, DER, -i]
inputMethod: stdin
name: OpenSSL ASN.1 decoder
filter:
orElse:
- prefix: !!binary |-
MII=
- prefix: !!binary |-
MIA=
- prefix: [dumpasn1]
inputMethod: filename
name: DumpASN1
filter:
orElse:
- prefix: !!binary |-
MII=
- prefix: !!binary |-
MIA=
- prefix: [python, -m, json.tool]
inputMethod: stdin
name: Python JSON formatter
filter:
orElse:
- { prefix: "{", postfix: "}" }
- { prefix: "[", postfix: "]" }
- prefix: [hd]
inputMethod: stdin
name: hd
- prefix: [protoc, --decode_raw]
inputMethod: stdin
exitCode: [0]
name: ProtoBuf
- prefix: [gron]
inputMethod: stdin
name: gron
filter: { prefix: "{" }
- prefix: [python, 'SCRIPT_ROOT\extract-web-api-endpoints.py']
inputMethod: stdin
requiredInPath: [python]
exitCode: [0]
name: extract-web-api-endpoints
filter:
header:
header: Content-Type
regex:
pattern: '[a-z]+\/(javascript|x\-javascript)'
flags: [case insensitive]
scope: response_only
- prefix: [python, 'SCRIPT_ROOT\extract-html-metadatas.py']
inputMethod: stdin
requiredInPath: [python]
exitCode: [0]
name: extract-html-metadatas
filter:
header:
header: Content-Type
regex:
pattern: '[a-z]+\/x?(html)'
flags: [case insensitive]
scope: response_only
- prefix: [python, 'SCRIPT_ROOT\extract-jwt-tokens.py']
inputMethod: stdin
passHeaders: true
requiredInPath: [python]
exitCode: [0]
name: extract-jwt-tokens
scope: response_only
- prefix: [python, 'SCRIPT_ROOT\extract-blazor-webassembly-assemblies.py']
inputMethod: stdin
requiredInPath: [python]
exitCode: [0]
name: extract-blazor-webassembly-assemblies
filter:
header:
header: Content-Type
regex:
pattern: application/json
flags: [case insensitive]
scope: response_only
- prefix: [python, 'SCRIPT_ROOT\extract-uuid-infos.py']
inputMethod: stdin
requiredInPath: [python]
exitCode: [0]
name: extract-uuid-infos
filter:
header:
header: Content-Type
regex: { pattern: '[a-z]+\/(javascript|x\-javascript)' }
scope: response_only
- prefix: [python, 'SCRIPT_ROOT\extract-spa-unsafe-patterns.py']
inputMethod: stdin
requiredInPath: [python]
exitCode: [0]
name: extract-spa-unsafe-patterns
filter:
header:
header: Content-Type
regex: { pattern: '[a-z]+\/(javascript|x\-javascript)' }
scope: response_only
- prefix: [python, 'SCRIPT_ROOT\extract-spa-low-hanging-fruits.py']
inputMethod: stdin
requiredInPath: [python]
exitCode: [0]
name: extract-spa-low-hanging-fruits
filter:
header:
header: Content-Type
regex: { pattern: '[a-z]+\/(javascript|x\-javascript|html)' }
scope: response_only
- prefix: [python, 'SCRIPT_ROOT\extract-saml-response-infos.py']
inputMethod: stdin
requiredInPath: [python]
exitCode: [0]
name: extract-saml-response-infos
filter:
header:
header: Content-Type
regex:
pattern: '[a-z]+\/x?(html)'
flags: [case insensitive]
scope: response_only
- prefix: [python, 'SCRIPT_ROOT\extract-saml-request-infos.py']
inputMethod: stdin
passHeaders: true
requiredInPath: [python]
exitCode: [0]
name: extract-saml-request-infos
scope: request_only
menuItems:
- prefix: [okular]
inputMethod: filename
name: Okular
filter:
regex:
pattern: ^%PDF-1\.[0-9]
flags: [case insensitive, dotall]
hasGUI: true
- prefix: [feh, -FZ]
inputMethod: filename
name: feh
filter:
cmd:
prefix: [file, -i, "-"]
inputMethod: stdin
stdout:
regex: { pattern: image/ }
hasGUI: true
maxInputs: 1
- prefix: [urxvt, -e, hexcurse]
inputMethod: filename
name: hexcurse
hasGUI: true
maxInputs: 1
- prefix: [urxvt, -e, vbindiff]
inputMethod: filename
name: vbindiff without headers
hasGUI: true
maxInputs: 2
- prefix: [urxvt, -e, vbindiff]
inputMethod: filename
passHeaders: true
name: vbindiff with headers
hasGUI: true
maxInputs: 2
- prefix: [git, diff, --color=always]
inputMethod: filename
name: git diff
minInputs: 2
maxInputs: 2
- prefix: [git, diff, --color=always, -w]
inputMethod: filename
name: git diff (ignore whitespace)
minInputs: 2
maxInputs: 2
- prefix: [radiff2, -x]
inputMethod: filename
name: radiff2 (two column hexdump diffing)
minInputs: 2
maxInputs: 2
- prefix: [sh, -c, dos2unix | xclip -selection clipboard]
inputMethod: stdin
passHeaders: true
requiredInPath: [dos2unix, xclip]
name: Copy to clipboard with headers without \r
hasGUI: true
- prefix: [meld]
inputMethod: filename
passHeaders: true
name: Meld
hasGUI: true
avoidPipe: true
minInputs: 2
maxInputs: 3
- prefix: [sh, -c, fromdos | xsel -i -b]
inputMethod: stdin
passHeaders: true
requiredInPath: [fromdos, xsel]
name: Copy to clipboard with headers without \r (alt)
hasGUI: true
intruderPayloadProcessors:
- prefix: [
sh,
-c,
dd if=/dev/urandom of=/dev/stdout bs=1 count=`shuf -i1-100 -n1`
status=none,
]
inputMethod: stdin
requiredInPath: [dd, shuf]
name: replace with /dev/urandom
commentators:
- prefix: [sha256sum]
inputMethod: stdin
name: SHA-256
- prefix: [python, 'SCRIPT_ROOT\detect-non-standart-headers.py']
inputMethod: stdin
passHeaders: true
requiredInPath: [python]
exitCode: [0]
name: detect-non-standart-headers
scope: response_only
overwrite: true
applyWithListener: true
highlighters:
- prefix: [python, 'SCRIPT_ROOT\detect-request-to-web-api.py']
inputMethod: stdin
passHeaders: true
requiredInPath: [python]
exitCode: [1]
name: detect-request-to-web-api
scope: request_only
applyWithListener: true
color: orange
- prefix: [python, 'SCRIPT_ROOT\detect-response-with-errors-disclosure.py']
inputMethod: stdin
requiredInPath: [python]
exitCode: [1]
name: detect-response-with-errors-disclosure
scope: response_only
overwrite: true
applyWithListener: true
color: cyan