team-ljyzipelo

공개
221줄7.0 KB
1{
2 "schema_version": 1,
3 "worker_protocol_revision": 2,
4 "worker_execution_verified": false,
5 "request_defaults": {
6 "action": "Extract",
7 "selection": "All",
8 "list_id": null,
9 "gzip_output_name": null,
10 "limits": {
11 "input": 1048576,
12 "output": 131072,
13 "entries": 64
14 }
15 },
16 "expected": {
17 "terminal_count": 1,
18 "outcome": "Failed",
19 "publication": "None",
20 "created_count": 0,
21 "retained_partial_count": 0,
22 "output_event_count": 0,
23 "destination_mutation_count": 0,
24 "outside_mutation_count": 0,
25 "archive_bytes_unchanged": true,
26 "terminal_is_last": true,
27 "stdout_eof": true,
28 "stderr_eof": true,
29 "child_exit_code": 0
30 },
31 "cases": [
32 {
33 "file": "zip-dotdot.zip",
34 "category": "unsafe-path",
35 "format": "ZIP",
36 "bytes": 267,
37 "sha256": "e81bba4caa41bcac3c2439f8c29672001139ec353475802cd758af69409a0073",
38 "error_any_of": [
39 "UnsafePath"
40 ],
41 "hostile_name": "../outside/escape.txt"
42 },
43 {
44 "file": "zip-absolute-posix.zip",
45 "category": "unsafe-path",
46 "format": "ZIP",
47 "bytes": 293,
48 "sha256": "b19d1b2038aecca600e4a0b1a69d1bac1d1a02ea564857fc5ce1f2ca65986cfa",
49 "error_any_of": [
50 "UnsafePath"
51 ],
52 "hostile_name": "/zipelo-fixture-outside/escape.txt"
53 },
54 {
55 "file": "zip-absolute-drive.zip",
56 "category": "unsafe-path",
57 "format": "ZIP",
58 "bytes": 297,
59 "sha256": "7c6515a793f287f10fc028e46c1b6e943cd338e6af312a97e1f4e93bfd23938c",
60 "error_any_of": [
61 "UnsafePath"
62 ],
63 "hostile_name": "C:/zipelo-fixture-outside/escape.txt"
64 },
65 {
66 "file": "zip-backslash-dotdot.zip",
67 "category": "unsafe-path",
68 "format": "ZIP",
69 "bytes": 267,
70 "sha256": "ea3ea2cc890c971da618596f97b2215a07ba9b2870b48a9f5ec14da3238ffb82",
71 "error_any_of": [
72 "UnsafePath"
73 ],
74 "hostile_name": "..\\outside\\escape.txt"
75 },
76 {
77 "file": "tar-dotdot.tar",
78 "category": "unsafe-path",
79 "format": "TAR",
80 "bytes": 10240,
81 "sha256": "fa6c672ff59bf63640775a70df07dd7f2d0078fb31c9f6b749da6721d3083f0b",
82 "error_any_of": [
83 "UnsafePath"
84 ],
85 "hostile_name": "../outside/escape.txt"
86 },
87 {
88 "file": "targz-dotdot.tar.gz",
89 "category": "unsafe-path",
90 "format": "TAR_GZIP",
91 "bytes": 158,
92 "sha256": "49ff351e2c65bcee2debe141255d00937d063d7f1406fc21866aa20aa4449546",
93 "error_any_of": [
94 "UnsafePath"
95 ],
96 "hostile_name": "../outside/escape.txt"
97 },
98 {
99 "file": "tar-absolute-posix.tar",
100 "category": "unsafe-path",
101 "format": "TAR",
102 "bytes": 10240,
103 "sha256": "0fdca381406c03f61045134874aa821451677ebceb45f16bb0892c3813a7b1be",
104 "error_any_of": [
105 "UnsafePath"
106 ],
107 "hostile_name": "/zipelo-fixture-outside/escape.txt"
108 },
109 {
110 "file": "zip-symlink-escape.zip",
111 "category": "symlink-escape",
112 "format": "ZIP",
113 "bytes": 351,
114 "sha256": "ecce7538871a999dec566684b1aa91a49c983110041f64cdf206640955201015",
115 "error_any_of": [
116 "UnsafePath",
117 "Conflict"
118 ],
119 "link_name": "link",
120 "link_target": "../outside"
121 },
122 {
123 "file": "tar-symlink-escape.tar",
124 "category": "symlink-escape",
125 "format": "TAR",
126 "bytes": 10240,
127 "sha256": "a33e70ad9ce988bf30cbf9b8c03d6a617b2d82b3d59f49b02cb9447c39b4ccf9",
128 "error_any_of": [
129 "UnsafePath",
130 "Conflict"
131 ],
132 "link_name": "link",
133 "link_target": "../outside"
134 },
135 {
136 "file": "zip-output-limit.zip",
137 "category": "output-limit",
138 "format": "ZIP",
139 "bytes": 313,
140 "sha256": "6737aeeb32577caece669c8be8b3a1938b78d33a521d8c400bafcca6f5cdb0fb",
141 "error_any_of": [
142 "Limit"
143 ],
144 "expanded_bytes": 65556,
145 "limits": {
146 "input": 1048576,
147 "output": 1024,
148 "entries": 64
149 },
150 "gzip_output_name": null
151 },
152 {
153 "file": "gzip-output-limit.gz",
154 "category": "output-limit",
155 "format": "GZIP",
156 "bytes": 97,
157 "sha256": "4bb05674d4b00f83dc5201f245bcbcad3fafa5119647d8c8df72bad1d5fff291",
158 "error_any_of": [
159 "Limit"
160 ],
161 "expanded_bytes": 65536,
162 "limits": {
163 "input": 1048576,
164 "output": 1024,
165 "entries": 64
166 },
167 "gzip_output_name": "payload.bin"
168 },
169 {
170 "file": "targz-output-limit.tar.gz",
171 "category": "output-limit",
172 "format": "TAR_GZIP",
173 "bytes": 207,
174 "sha256": "2bf979822e2608339b53cfd8dde281a8256a58b853fcddf606d1ce319ea7da84",
175 "error_any_of": [
176 "Limit"
177 ],
178 "expanded_bytes": 71680,
179 "limits": {
180 "input": 1048576,
181 "output": 1024,
182 "entries": 64
183 },
184 "gzip_output_name": null
185 },
186 {
187 "file": "zip-bad-local-header.zip",
188 "category": "damaged-header",
189 "format": "ZIP",
190 "bytes": 245,
191 "sha256": "bdc9ea0ae8aef98d8bcc56a894cf4cdc56baa375339595e54554a5b08c2a8ae6",
192 "error_any_of": [
193 "Integrity"
194 ],
195 "damage": "second local filename length exceeds archive"
196 },
197 {
198 "file": "tar-bad-checksum.tar",
199 "category": "damaged-header",
200 "format": "TAR",
201 "bytes": 10240,
202 "sha256": "deb83a94302ee0660973d66a58e94a30892a057f958dd4e7aaa933d327c21d91",
203 "error_any_of": [
204 "Integrity"
205 ],
206 "damage": "second header name changed without checksum update"
207 },
208 {
209 "file": "gzip-reserved-flags.gz",
210 "category": "damaged-header",
211 "format": "GZIP",
212 "bytes": 27,
213 "sha256": "a320985b7ae3556bef90f28d58cc82483c85cdbdc11f5f012d84e0fac749872c",
214 "error_any_of": [
215 "Integrity"
216 ],
217 "damage": "reserved flag bit 0x20",
218 "gzip_output_name": "payload.bin"
219 }
220 ]
221}