Kitxuuu commited on
Commit
66e3966
·
verified ·
1 Parent(s): d8dd696

Add files using upload-large-folder tool

Browse files
Files changed (20) hide show
  1. local-test-tika-full-01-vuln_1/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-digests-skip-container.xml +33 -0
  2. local-test-tika-full-01-vuln_1/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-digests.xml +32 -0
  3. local-test-tika-full-01-vuln_1/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-doubling-custom-handler-decorator.xml +27 -0
  4. local-test-tika-full-01-vuln_1/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-geo-point-metadata-filter.xml +24 -0
  5. local-test-tika-full-01-vuln_1/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-multiple-gz.xml +29 -0
  6. local-test-tika-full-01-vuln_1/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-no-names.xml +29 -0
  7. local-test-tika-full-01-vuln_1/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-upcasing-custom-handler-decorator.xml +27 -0
  8. local-test-tika-full-01-vuln_1/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-with-names.xml +29 -0
  9. local-test-tika-full-01-vuln_1/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-rendering-mupdf-config.xml +25 -0
  10. local-test-tika-full-01-vuln_1/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-1558-excludesub.xml +24 -0
  11. local-test-tika-full-01-vuln_1/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-1702-detector-exclude.xml +31 -0
  12. local-test-tika-full-01-vuln_1/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-1702-translator-empty-default.xml +22 -0
  13. local-test-tika-full-01-vuln_1/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-2273-exclude-encoding-detector-default.xml +29 -0
  14. local-test-tika-full-01-vuln_1/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-2485-encoding-detector-mark-limits.xml +38 -0
  15. local-test-tika-full-01-vuln_1/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/parser/TIKA-3137-include.xml +34 -0
  16. local-test-tika-full-01-vuln_1/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/test3mf.3mf +0 -0
  17. local-test-tika-full-01-vuln_1/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/testDSAKEY.pem +15 -0
  18. local-test-tika-full-01-vuln_1/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/testEAR.ear +0 -0
  19. local-test-tika-full-01-vuln_1/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/testLotusEml.eml +71 -0
  20. local-test-tika-full-01-vuln_1/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/testPICT.pct +0 -0
local-test-tika-full-01-vuln_1/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-digests-skip-container.xml ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+ Licensed to the Apache Software Foundation (ASF) under one or more
4
+ contributor license agreements. See the NOTICE file distributed with
5
+ this work for additional information regarding copyright ownership.
6
+ The ASF licenses this file to You under the Apache License, Version 2.0
7
+ (the "License"); you may not use this file except in compliance with
8
+ the License. You may obtain a copy of the License at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ Unless required by applicable law or agreed to in writing, software
13
+ distributed under the License is distributed on an "AS IS" BASIS,
14
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ See the License for the specific language governing permissions and
16
+ limitations under the License.
17
+ -->
18
+ <properties>
19
+ <parsers>
20
+ <parser class="org.apache.tika.parser.DefaultParser"/>
21
+ </parsers>
22
+ <autoDetectParserConfig>
23
+ <spoolToDisk>1000000</spoolToDisk>
24
+ <outputThreshold>1000000</outputThreshold>
25
+ <digesterFactory
26
+ class="org.apache.tika.parser.digestutils.CommonsDigesterFactory">
27
+ <markLimit>100000</markLimit>
28
+ <algorithmString>sha256:32,md5</algorithmString>
29
+ <skipContainerDocument>true</skipContainerDocument>
30
+ </digesterFactory>
31
+ <throwOnZeroBytes>false</throwOnZeroBytes>
32
+ </autoDetectParserConfig>
33
+ </properties>
local-test-tika-full-01-vuln_1/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-digests.xml ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+ Licensed to the Apache Software Foundation (ASF) under one or more
4
+ contributor license agreements. See the NOTICE file distributed with
5
+ this work for additional information regarding copyright ownership.
6
+ The ASF licenses this file to You under the Apache License, Version 2.0
7
+ (the "License"); you may not use this file except in compliance with
8
+ the License. You may obtain a copy of the License at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ Unless required by applicable law or agreed to in writing, software
13
+ distributed under the License is distributed on an "AS IS" BASIS,
14
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ See the License for the specific language governing permissions and
16
+ limitations under the License.
17
+ -->
18
+ <properties>
19
+ <parsers>
20
+ <parser class="org.apache.tika.parser.DefaultParser"/>
21
+ </parsers>
22
+ <autoDetectParserConfig>
23
+ <spoolToDisk>1000000</spoolToDisk>
24
+ <outputThreshold>1000000</outputThreshold>
25
+ <digesterFactory
26
+ class="org.apache.tika.parser.digestutils.CommonsDigesterFactory">
27
+ <markLimit>100000</markLimit>
28
+ <algorithmString>sha256:32,md5</algorithmString>
29
+ </digesterFactory>
30
+ <throwOnZeroBytes>false</throwOnZeroBytes>
31
+ </autoDetectParserConfig>
32
+ </properties>
local-test-tika-full-01-vuln_1/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-doubling-custom-handler-decorator.xml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+ Licensed to the Apache Software Foundation (ASF) under one or more
4
+ contributor license agreements. See the NOTICE file distributed with
5
+ this work for additional information regarding copyright ownership.
6
+ The ASF licenses this file to You under the Apache License, Version 2.0
7
+ (the "License"); you may not use this file except in compliance with
8
+ the License. You may obtain a copy of the License at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ Unless required by applicable law or agreed to in writing, software
13
+ distributed under the License is distributed on an "AS IS" BASIS,
14
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ See the License for the specific language governing permissions and
16
+ limitations under the License.
17
+ -->
18
+ <properties>
19
+ <parsers>
20
+ <parser class="org.apache.tika.parser.DefaultParser"/>
21
+ </parsers>
22
+ <autoDetectParserConfig>
23
+ <spoolToDisk>123450</spoolToDisk>
24
+ <outputThreshold>678900</outputThreshold>
25
+ <contentHandlerDecoratorFactory class="org.apache.tika.sax.DoublingContentHandlerDecoratorFactory"/>
26
+ </autoDetectParserConfig>
27
+ </properties>
local-test-tika-full-01-vuln_1/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-geo-point-metadata-filter.xml ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+ Licensed to the Apache Software Foundation (ASF) under one or more
4
+ contributor license agreements. See the NOTICE file distributed with
5
+ this work for additional information regarding copyright ownership.
6
+ The ASF licenses this file to You under the Apache License, Version 2.0
7
+ (the "License"); you may not use this file except in compliance with
8
+ the License. You may obtain a copy of the License at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ Unless required by applicable law or agreed to in writing, software
13
+ distributed under the License is distributed on an "AS IS" BASIS,
14
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ See the License for the specific language governing permissions and
16
+ limitations under the License.
17
+ -->
18
+ <properties>
19
+ <metadataFilters>
20
+ <metadataFilter class="org.apache.tika.metadata.filter.GeoPointMetadataFilter">
21
+ <geoPointFieldName>myGeoPoint</geoPointFieldName>
22
+ </metadataFilter>
23
+ </metadataFilters>
24
+ </properties>
local-test-tika-full-01-vuln_1/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-multiple-gz.xml ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+ Licensed to the Apache Software Foundation (ASF) under one or more
4
+ contributor license agreements. See the NOTICE file distributed with
5
+ this work for additional information regarding copyright ownership.
6
+ The ASF licenses this file to You under the Apache License, Version 2.0
7
+ (the "License"); you may not use this file except in compliance with
8
+ the License. You may obtain a copy of the License at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ Unless required by applicable law or agreed to in writing, software
13
+ distributed under the License is distributed on an "AS IS" BASIS,
14
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ See the License for the specific language governing permissions and
16
+ limitations under the License.
17
+ -->
18
+ <properties>
19
+ <parsers>
20
+ <parser class="org.apache.tika.parser.DefaultParser">
21
+ <parser-exclude class="org.apache.tika.parser.pkg.CompressorParser"/>
22
+ </parser>
23
+ <parser class="org.apache.tika.parser.pkg.CompressorParser">
24
+ <params>
25
+ <param name="decompressConcatenated" type="bool">true</param>
26
+ </params>
27
+ </parser>
28
+ </parsers>
29
+ </properties>
local-test-tika-full-01-vuln_1/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-no-names.xml ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+ Licensed to the Apache Software Foundation (ASF) under one or more
4
+ contributor license agreements. See the NOTICE file distributed with
5
+ this work for additional information regarding copyright ownership.
6
+ The ASF licenses this file to You under the Apache License, Version 2.0
7
+ (the "License"); you may not use this file except in compliance with
8
+ the License. You may obtain a copy of the License at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ Unless required by applicable law or agreed to in writing, software
13
+ distributed under the License is distributed on an "AS IS" BASIS,
14
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ See the License for the specific language governing permissions and
16
+ limitations under the License.
17
+ -->
18
+ <properties>
19
+ <parsers>
20
+ <parser class="org.apache.tika.parser.DefaultParser"/>
21
+ </parsers>
22
+ <autoDetectParserConfig>
23
+ <spoolToDisk>123450</spoolToDisk>
24
+ <outputThreshold>678900</outputThreshold>
25
+ <embeddedDocumentExtractorFactory class="org.apache.tika.extractor.RUnpackExtractorFactory">
26
+ <writeFileNameToContent>false</writeFileNameToContent>
27
+ </embeddedDocumentExtractorFactory>
28
+ </autoDetectParserConfig>
29
+ </properties>
local-test-tika-full-01-vuln_1/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-upcasing-custom-handler-decorator.xml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+ Licensed to the Apache Software Foundation (ASF) under one or more
4
+ contributor license agreements. See the NOTICE file distributed with
5
+ this work for additional information regarding copyright ownership.
6
+ The ASF licenses this file to You under the Apache License, Version 2.0
7
+ (the "License"); you may not use this file except in compliance with
8
+ the License. You may obtain a copy of the License at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ Unless required by applicable law or agreed to in writing, software
13
+ distributed under the License is distributed on an "AS IS" BASIS,
14
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ See the License for the specific language governing permissions and
16
+ limitations under the License.
17
+ -->
18
+ <properties>
19
+ <parsers>
20
+ <parser class="org.apache.tika.parser.DefaultParser"/>
21
+ </parsers>
22
+ <autoDetectParserConfig>
23
+ <spoolToDisk>123450</spoolToDisk>
24
+ <outputThreshold>678900</outputThreshold>
25
+ <contentHandlerDecoratorFactory class="org.apache.tika.sax.UpcasingContentHandlerDecoratorFactory"/>
26
+ </autoDetectParserConfig>
27
+ </properties>
local-test-tika-full-01-vuln_1/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-with-names.xml ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+ Licensed to the Apache Software Foundation (ASF) under one or more
4
+ contributor license agreements. See the NOTICE file distributed with
5
+ this work for additional information regarding copyright ownership.
6
+ The ASF licenses this file to You under the Apache License, Version 2.0
7
+ (the "License"); you may not use this file except in compliance with
8
+ the License. You may obtain a copy of the License at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ Unless required by applicable law or agreed to in writing, software
13
+ distributed under the License is distributed on an "AS IS" BASIS,
14
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ See the License for the specific language governing permissions and
16
+ limitations under the License.
17
+ -->
18
+ <properties>
19
+ <parsers>
20
+ <parser class="org.apache.tika.parser.DefaultParser"/>
21
+ </parsers>
22
+ <autoDetectParserConfig>
23
+ <spoolToDisk>123450</spoolToDisk>
24
+ <outputThreshold>678900</outputThreshold>
25
+ <embeddedDocumentExtractorFactory class="org.apache.tika.extractor.RUnpackExtractorFactory">
26
+ <writeFileNameToContent>true</writeFileNameToContent>
27
+ </embeddedDocumentExtractorFactory>
28
+ </autoDetectParserConfig>
29
+ </properties>
local-test-tika-full-01-vuln_1/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-rendering-mupdf-config.xml ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+ Licensed to the Apache Software Foundation (ASF) under one or more
4
+ contributor license agreements. See the NOTICE file distributed with
5
+ this work for additional information regarding copyright ownership.
6
+ The ASF licenses this file to You under the Apache License, Version 2.0
7
+ (the "License"); you may not use this file except in compliance with
8
+ the License. You may obtain a copy of the License at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ Unless required by applicable law or agreed to in writing, software
13
+ distributed under the License is distributed on an "AS IS" BASIS,
14
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ See the License for the specific language governing permissions and
16
+ limitations under the License.
17
+ -->
18
+ <properties>
19
+ <parsers>
20
+ <parser class="org.apache.tika.parser.DefaultParser"/>
21
+ </parsers>
22
+ <renderers>
23
+ <renderer class="org.apache.tika.renderer.pdf.MuPDFRenderer"/>
24
+ </renderers>
25
+ </properties>
local-test-tika-full-01-vuln_1/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-1558-excludesub.xml ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+ Licensed to the Apache Software Foundation (ASF) under one or more
4
+ contributor license agreements. See the NOTICE file distributed with
5
+ this work for additional information regarding copyright ownership.
6
+ The ASF licenses this file to You under the Apache License, Version 2.0
7
+ (the "License"); you may not use this file except in compliance with
8
+ the License. You may obtain a copy of the License at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ Unless required by applicable law or agreed to in writing, software
13
+ distributed under the License is distributed on an "AS IS" BASIS,
14
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ See the License for the specific language governing permissions and
16
+ limitations under the License.
17
+ -->
18
+ <properties>
19
+ <parsers>
20
+ <parser class="org.apache.tika.parser.DefaultParser">
21
+ <parser-exclude class="org.apache.tika.parser.xml.XMLParser"/>
22
+ </parser>
23
+ </parsers>
24
+ </properties>
local-test-tika-full-01-vuln_1/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-1702-detector-exclude.xml ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+ Licensed to the Apache Software Foundation (ASF) under one or more
4
+ contributor license agreements. See the NOTICE file distributed with
5
+ this work for additional information regarding copyright ownership.
6
+ The ASF licenses this file to You under the Apache License, Version 2.0
7
+ (the "License"); you may not use this file except in compliance with
8
+ the License. You may obtain a copy of the License at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ Unless required by applicable law or agreed to in writing, software
13
+ distributed under the License is distributed on an "AS IS" BASIS,
14
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ See the License for the specific language governing permissions and
16
+ limitations under the License.
17
+ -->
18
+ <properties>
19
+ <!-- Explicitly request default parsers -->
20
+ <parsers/>
21
+ <detectors>
22
+ <!-- All detectors except built-in container ones -->
23
+ <detector class="org.apache.tika.detect.DefaultDetector">
24
+ <detector-exclude class="org.apache.tika.detect.zip.DefaultZipContainerDetector"/>
25
+ <detector-exclude class="org.apache.tika.detect.microsoft.POIFSContainerDetector"/>
26
+ </detector>
27
+ <!-- One other detector, to check ordering -->
28
+ <detector class="org.apache.tika.detect.EmptyDetector">
29
+ </detector>
30
+ </detectors>
31
+ </properties>
local-test-tika-full-01-vuln_1/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-1702-translator-empty-default.xml ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+ Licensed to the Apache Software Foundation (ASF) under one or more
4
+ contributor license agreements. See the NOTICE file distributed with
5
+ this work for additional information regarding copyright ownership.
6
+ The ASF licenses this file to You under the Apache License, Version 2.0
7
+ (the "License"); you may not use this file except in compliance with
8
+ the License. You may obtain a copy of the License at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ Unless required by applicable law or agreed to in writing, software
13
+ distributed under the License is distributed on an "AS IS" BASIS,
14
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ See the License for the specific language governing permissions and
16
+ limitations under the License.
17
+ -->
18
+ <properties>
19
+ <!-- As Translators don't support Composites, Empty used -->
20
+ <translator class="org.apache.tika.language.translate.EmptyTranslator"/>
21
+ <translator class="org.apache.tika.language.translate.DefaultTranslator"/>
22
+ </properties>
local-test-tika-full-01-vuln_1/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-2273-exclude-encoding-detector-default.xml ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+ Licensed to the Apache Software Foundation (ASF) under one or more
4
+ contributor license agreements. See the NOTICE file distributed with
5
+ this work for additional information regarding copyright ownership.
6
+ The ASF licenses this file to You under the Apache License, Version 2.0
7
+ (the "License"); you may not use this file except in compliance with
8
+ the License. You may obtain a copy of the License at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ Unless required by applicable law or agreed to in writing, software
13
+ distributed under the License is distributed on an "AS IS" BASIS,
14
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ See the License for the specific language governing permissions and
16
+ limitations under the License.
17
+ -->
18
+ <properties>
19
+ <!-- Explicitly request default parsers -->
20
+ <parsers/>
21
+ <encodingDetectors>
22
+ <!-- All detectors except HtmlEncodingDetector -->
23
+ <encodingDetector class="org.apache.tika.detect.DefaultEncodingDetector">
24
+ <encodingDetector-exclude class="org.apache.tika.parser.html.HtmlEncodingDetector"/>
25
+ </encodingDetector>
26
+ <!-- One other detector, to check ordering -->
27
+ <encodingDetector class="org.apache.tika.detect.NonDetectingEncodingDetector"/>
28
+ </encodingDetectors>
29
+ </properties>
local-test-tika-full-01-vuln_1/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-2485-encoding-detector-mark-limits.xml ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+ Licensed to the Apache Software Foundation (ASF) under one or more
4
+ contributor license agreements. See the NOTICE file distributed with
5
+ this work for additional information regarding copyright ownership.
6
+ The ASF licenses this file to You under the Apache License, Version 2.0
7
+ (the "License"); you may not use this file except in compliance with
8
+ the License. You may obtain a copy of the License at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ Unless required by applicable law or agreed to in writing, software
13
+ distributed under the License is distributed on an "AS IS" BASIS,
14
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ See the License for the specific language governing permissions and
16
+ limitations under the License.
17
+ -->
18
+ <properties>
19
+ <!-- Explicitly request default parsers -->
20
+ <parsers/>
21
+ <encodingDetectors>
22
+ <encodingDetector class="org.apache.tika.parser.html.HtmlEncodingDetector">
23
+ <params>
24
+ <param name="markLimit" type="int">64000</param>
25
+ </params>
26
+ </encodingDetector>
27
+ <encodingDetector class="org.apache.tika.parser.txt.UniversalEncodingDetector">
28
+ <params>
29
+ <param name="markLimit" type="int">64001</param>
30
+ </params>
31
+ </encodingDetector>
32
+ <encodingDetector class="org.apache.tika.parser.txt.Icu4jEncodingDetector">
33
+ <params>
34
+ <param name="markLimit" type="int">64002</param>
35
+ </params>
36
+ </encodingDetector>
37
+ </encodingDetectors>
38
+ </properties>
local-test-tika-full-01-vuln_1/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/parser/TIKA-3137-include.xml ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+ Licensed to the Apache Software Foundation (ASF) under one or more
4
+ contributor license agreements. See the NOTICE file distributed with
5
+ this work for additional information regarding copyright ownership.
6
+ The ASF licenses this file to You under the Apache License, Version 2.0
7
+ (the "License"); you may not use this file except in compliance with
8
+ the License. You may obtain a copy of the License at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ Unless required by applicable law or agreed to in writing, software
13
+ distributed under the License is distributed on an "AS IS" BASIS,
14
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ See the License for the specific language governing permissions and
16
+ limitations under the License.
17
+ -->
18
+ <properties>
19
+ <metadataFilters>
20
+ <metadataFilter class="org.apache.tika.metadata.filter.IncludeFieldMetadataFilter">
21
+ <include>
22
+ <field>X-TIKA:content</field>
23
+ <field>extended-properties:Application</field>
24
+ <field>Content-Type</field>
25
+ </include>
26
+ </metadataFilter>
27
+ <metadataFilter class="org.apache.tika.metadata.filter.ClearByMimeMetadataFilter">
28
+ <mimes>
29
+ <mime>image/emf</mime>
30
+ <mime>text/plain</mime>
31
+ </mimes>
32
+ </metadataFilter>
33
+ </metadataFilters>
34
+ </properties>
local-test-tika-full-01-vuln_1/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/test3mf.3mf ADDED
Binary file (28.2 kB). View file
 
local-test-tika-full-01-vuln_1/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/testDSAKEY.pem ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ -----BEGIN PRIVATE KEY-----
2
+ MIICTQIBADCCAi0GByqGSM44BAEwggIgAoIBAQDRXU0Be5k0MI3skB6K0PhyptBh
3
+ WSJ1l+NVSOX7wpXC37upcH7a0ZCfU9RyWqcX9dQFw+TWjlH2ANll/FO4osXkkJVY
4
+ oylJ+p0599v6WRPBS/yQpKuvfqEm5HA78J8ILhnyCCw8hqdlrADBOMGf7tGF5Agw
5
+ hEZJdtHjYRzPWzY0eogptg3wQPd/wO6ZztdW/T9wPK1RDTEhraQwuJTp1tldWjkm
6
+ KutogVR327yAImJ7jhevM6ayCQFybT+mI3h48ixgkewPydU7hUIpEWtXjnwxLecu
7
+ P6hsggyuykxtPFlcK4xb/XKjN4AVEfFA6CJUrkk+FSi+RQfupCraeUXSCS3DAhUA
8
+ xkpKBq0v1k5JA/XlzNFVYgPqah8CggEAWhpzc9y5nYRz/uADJ2DBsk9ho3MovK9i
9
+ FGZyxwD6L66Gf+KqPglRABKa2vfkAVIhzysyaMB7sN0WhGFf9SX2gGnH48YoJHtD
10
+ eNNe8Izd1blIcg71lyT4HLCJDmURTVVQIxzzm97BpW5cYjEAFJAWXQ4lqqJzqnpv
11
+ HrXs4ljAq12tbaGIwBgY5G2f+R2NhKpbdDut423M3CCfM8XnxXlZiHV5x9BvjOWm
12
+ uw2mrsmZI1k2blr+lezA4m6fr9t4iwtDC+0cIpfuAC3/7FSaTcKC7ubMh1cyv/kV
13
+ 6AoWtBXCCkctGNsQIJ0GibPKJZ7E9JoOPBwB16fOTknbXtxBF8klsQQXAhUAwFDM
14
+ 4JZXXO/04oTAZw7IMqVCOLE=
15
+ -----END PRIVATE KEY-----
local-test-tika-full-01-vuln_1/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/testEAR.ear ADDED
Binary file (1.09 kB). View file
 
local-test-tika-full-01-vuln_1/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/testLotusEml.eml ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ X-Notes-Item: CN=XXXX/OU=XX/OU=XXXX/O=XXX/C=XX;
2
+ flags=44; name=ForwardedFrom
3
+ X-Notes-Item: Thu, 4 Oct 2012 13:01:56 +0200;
4
+ type=400; name=ForwardedDate
5
+ X-Notes-Item: Thu, 4 Oct 2012 13:02:39 +0200;
6
+ type=400; name=OriginalModTime
7
+ X-Notes-Item: .;
8
+ name=$StorageTo
9
+ X-Notes-Item: 62AEA923:7CEE804A-C1257A8D:003C970D;
10
+ type=4; name=$Orig
11
+ X-Notes-Item: 2031619;
12
+ name=MIMEMailHeaderCharset
13
+ MIME-Version: 1.0
14
+ X-Mailer: Lotus Notes Release 8.5.3 September 15, 2011
15
+ Message-ID: <OF62AEA923.7CEE804A-ONC1257A8D.003C970D-C1257A8D.003CAB24@LocalDomain>
16
+ Date: Thu, 4 Oct 2012 13:02:39 +0200
17
+ X-Notes-Item: 0;
18
+ name=MAILOPTIONS
19
+ X-Notes-Item: 1;
20
+ name=SaveOptions
21
+ X-Notes-Item: Memo;
22
+ name=Form
23
+ From: XXX.XXX@XXXX.de
24
+ X-Notes-Item: CN=XXXX/OU=XX/OU=XXXX/O=XXX/C=XX;
25
+ name=AltFrom
26
+ X-Notes-Item: StdNotesLtr25;
27
+ name=Logo
28
+ X-Notes-Item: StdNotesLtr25;
29
+ name=dLogo
30
+ X-Notes-Item: True;
31
+ name=useApplet
32
+ X-Notes-Item: 1;
33
+ name=DefaultMailSaveOptions
34
+ X-Notes-Item: ;
35
+ name=Query_String
36
+ X-Notes-Item: 1;
37
+ name=ExpandPersonalGroups
38
+ To: XXXX@alfresco.com
39
+ X-Notes-Item: ;
40
+ flags=44; name=INetCopyTo
41
+ X-Notes-Item: ;
42
+ flags=44; name=INetBlindCopyTo
43
+ X-Notes-Item: ;
44
+ name=tmpImp
45
+ X-Notes-Item: ;
46
+ name=Sign
47
+ X-Notes-Item: ;
48
+ name=Encrypt
49
+ X-Notes-Item: ;
50
+ name=tmpClassification
51
+ X-Notes-Item: ;
52
+ name=SetClassification
53
+ X-Notes-Item: 1;
54
+ name=$NoteHasNativeMIME
55
+ X-MIMETrack: Serialize by Notes Client on XXXX(Release
56
+ 8.5.3|September 15, 2011) at 25.10.2012 12:14:50
57
+ Content-type: multipart/related;
58
+ Boundary="0__=4EBBF01EDFAF119D8f9e8a93df938690918c4EBBF01EDFAF119D"
59
+ Content-Disposition: inline
60
+
61
+ --0__=4EBBF01EDFAF119D8f9e8a93df938690918c4EBBF01EDFAF119D
62
+ Content-type: text/html; charset=ISO-8859-1
63
+ Content-Disposition: inline
64
+ Content-transfer-encoding: quoted-printable
65
+
66
+ <html><body>
67
+ Message body
68
+ </body></html>=
69
+
70
+ --0__=4EBBF01EDFAF119D8f9e8a93df938690918c4EBBF01EDFAF119D--
71
+
local-test-tika-full-01-vuln_1/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/testPICT.pct ADDED