Add files using upload-large-folder tool
Browse files- local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-cad-module/pom.xml +73 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-code-module/pom.xml +95 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-pkg-module/pom.xml +92 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-xmp-commons/pom.xml +71 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-digests-pdf-only.xml +33 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-digests-skip-container.xml +33 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-digests.xml +32 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-doubling-custom-handler-decorator.xml +27 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-geo-point-metadata-filter.xml +24 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-lib-pst.xml +26 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-multiple-gz.xml +29 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-no-names.xml +29 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-tesseract-arbitrary.xml +30 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-upcasing-custom-handler-decorator.xml +27 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-with-names.xml +29 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-rendering-mupdf-config.xml +25 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-1558-exclude.xml +29 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-1558-excludesub.xml +24 -0
- local-test-tika-full-01-vuln_6/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
- local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-1702-translator-default.xml +24 -0
- local-test-tika-full-01-vuln_6/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
- local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-1702-translator-empty.xml +20 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-1708-detector-composite.xml +25 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-1708-detector-default.xml +26 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-2273-encoding-detector-outside-static-init.xml +34 -0
- local-test-tika-full-01-vuln_6/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
- local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-2273-non-detecting-params-bad-charset.xml +29 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-2273-non-detecting-params.xml +29 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-2273-parameterize-encoding-detector.xml +30 -0
- local-test-tika-full-01-vuln_6/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
- local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/parser/TIKA-3137-include.xml +34 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/parser/ocr/tesseract-config.xml +32 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/parser/odf/tika-config-macros.xml +32 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/fake_oom.xml +25 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/heavy_hang.xml +25 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/null_pointer.xml +25 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/real_oom.xml +24 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/sleep_interruptible.xml +25 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/system_exit.xml +25 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/thread_interrupt.xml +25 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/test-columnar.csv +12 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/test-columnar.ods +0 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/testAMR.amr +0 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/testDSAKEY.pem +15 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/testEAR.ear +0 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/testECKEY.pem +6 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/testLotusEml.eml +71 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/testMYSQL.MYI +0 -0
- local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/testNLS1.nls +0 -0
- local-test-tika-full-01-vuln_6/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_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-cad-module/pom.xml
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one
|
| 4 |
+
or more contributor license agreements. See the NOTICE file
|
| 5 |
+
distributed with this work for additional information
|
| 6 |
+
regarding copyright ownership. The ASF licenses this file
|
| 7 |
+
to you under the Apache License, Version 2.0 (the
|
| 8 |
+
"License"); you may not use this file except in compliance
|
| 9 |
+
with the License. You may obtain a copy of the License at
|
| 10 |
+
|
| 11 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 12 |
+
|
| 13 |
+
Unless required by applicable law or agreed to in writing,
|
| 14 |
+
software distributed under the License is distributed on an
|
| 15 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 16 |
+
KIND, either express or implied. See the License for the
|
| 17 |
+
specific language governing permissions and limitations
|
| 18 |
+
under the License.
|
| 19 |
+
-->
|
| 20 |
+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
| 21 |
+
<parent>
|
| 22 |
+
<artifactId>tika-parsers-standard-modules</artifactId>
|
| 23 |
+
<groupId>org.apache.tika</groupId>
|
| 24 |
+
<version>4.0.0-SNAPSHOT</version>
|
| 25 |
+
<relativePath>../pom.xml</relativePath>
|
| 26 |
+
</parent>
|
| 27 |
+
<modelVersion>4.0.0</modelVersion>
|
| 28 |
+
|
| 29 |
+
<artifactId>tika-parser-cad-module</artifactId>
|
| 30 |
+
<name>Apache Tika cad parser module</name>
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
<dependencies>
|
| 34 |
+
<dependency>
|
| 35 |
+
<groupId>${project.groupId}</groupId>
|
| 36 |
+
<artifactId>tika-parser-microsoft-module</artifactId>
|
| 37 |
+
<version>${project.version}</version>
|
| 38 |
+
</dependency>
|
| 39 |
+
<dependency>
|
| 40 |
+
<groupId>com.fasterxml.jackson.core</groupId>
|
| 41 |
+
<artifactId>jackson-core</artifactId>
|
| 42 |
+
</dependency>
|
| 43 |
+
<dependency>
|
| 44 |
+
<groupId>com.fasterxml.jackson.core</groupId>
|
| 45 |
+
<artifactId>jackson-databind</artifactId>
|
| 46 |
+
</dependency>
|
| 47 |
+
</dependencies>
|
| 48 |
+
<build>
|
| 49 |
+
<plugins>
|
| 50 |
+
<plugin>
|
| 51 |
+
<groupId>org.apache.maven.plugins</groupId>
|
| 52 |
+
<artifactId>maven-jar-plugin</artifactId>
|
| 53 |
+
<configuration>
|
| 54 |
+
<archive>
|
| 55 |
+
<manifestEntries>
|
| 56 |
+
<Automatic-Module-Name>org.apache.tika.parser.code</Automatic-Module-Name>
|
| 57 |
+
</manifestEntries>
|
| 58 |
+
</archive>
|
| 59 |
+
</configuration>
|
| 60 |
+
<executions>
|
| 61 |
+
<execution>
|
| 62 |
+
<goals>
|
| 63 |
+
<goal>test-jar</goal>
|
| 64 |
+
</goals>
|
| 65 |
+
</execution>
|
| 66 |
+
</executions>
|
| 67 |
+
</plugin>
|
| 68 |
+
</plugins>
|
| 69 |
+
</build>
|
| 70 |
+
<scm>
|
| 71 |
+
<tag>3.0.0-rc1</tag>
|
| 72 |
+
</scm>
|
| 73 |
+
</project>
|
local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-code-module/pom.xml
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one
|
| 4 |
+
or more contributor license agreements. See the NOTICE file
|
| 5 |
+
distributed with this work for additional information
|
| 6 |
+
regarding copyright ownership. The ASF licenses this file
|
| 7 |
+
to you under the Apache License, Version 2.0 (the
|
| 8 |
+
"License"); you may not use this file except in compliance
|
| 9 |
+
with the License. You may obtain a copy of the License at
|
| 10 |
+
|
| 11 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 12 |
+
|
| 13 |
+
Unless required by applicable law or agreed to in writing,
|
| 14 |
+
software distributed under the License is distributed on an
|
| 15 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 16 |
+
KIND, either express or implied. See the License for the
|
| 17 |
+
specific language governing permissions and limitations
|
| 18 |
+
under the License.
|
| 19 |
+
-->
|
| 20 |
+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
| 21 |
+
<parent>
|
| 22 |
+
<artifactId>tika-parsers-standard-modules</artifactId>
|
| 23 |
+
<groupId>org.apache.tika</groupId>
|
| 24 |
+
<version>4.0.0-SNAPSHOT</version>
|
| 25 |
+
<relativePath>../pom.xml</relativePath>
|
| 26 |
+
</parent>
|
| 27 |
+
<modelVersion>4.0.0</modelVersion>
|
| 28 |
+
|
| 29 |
+
<artifactId>tika-parser-code-module</artifactId>
|
| 30 |
+
<name>Apache Tika code parser module</name>
|
| 31 |
+
|
| 32 |
+
<dependencies>
|
| 33 |
+
<dependency>
|
| 34 |
+
<groupId>${project.groupId}</groupId>
|
| 35 |
+
<artifactId>tika-parser-text-module</artifactId>
|
| 36 |
+
<version>${project.version}</version>
|
| 37 |
+
</dependency>
|
| 38 |
+
<dependency>
|
| 39 |
+
<groupId>org.codelibs</groupId>
|
| 40 |
+
<artifactId>jhighlight</artifactId>
|
| 41 |
+
<version>${jhighlight.version}</version>
|
| 42 |
+
</dependency>
|
| 43 |
+
<dependency>
|
| 44 |
+
<groupId>org.jsoup</groupId>
|
| 45 |
+
<artifactId>jsoup</artifactId>
|
| 46 |
+
</dependency>
|
| 47 |
+
<dependency>
|
| 48 |
+
<groupId>org.ow2.asm</groupId>
|
| 49 |
+
<artifactId>asm</artifactId>
|
| 50 |
+
<version>${asm.version}</version>
|
| 51 |
+
</dependency>
|
| 52 |
+
<dependency>
|
| 53 |
+
<groupId>org.apache.commons</groupId>
|
| 54 |
+
<artifactId>commons-lang3</artifactId>
|
| 55 |
+
</dependency>
|
| 56 |
+
|
| 57 |
+
<dependency>
|
| 58 |
+
<groupId>com.epam</groupId>
|
| 59 |
+
<artifactId>parso</artifactId>
|
| 60 |
+
<version>${parso.version}</version>
|
| 61 |
+
</dependency>
|
| 62 |
+
<dependency>
|
| 63 |
+
<groupId>org.tallison</groupId>
|
| 64 |
+
<artifactId>jmatio</artifactId>
|
| 65 |
+
<version>1.5</version>
|
| 66 |
+
</dependency>
|
| 67 |
+
</dependencies>
|
| 68 |
+
|
| 69 |
+
<build>
|
| 70 |
+
<plugins>
|
| 71 |
+
<plugin>
|
| 72 |
+
<groupId>org.apache.maven.plugins</groupId>
|
| 73 |
+
<artifactId>maven-jar-plugin</artifactId>
|
| 74 |
+
<configuration>
|
| 75 |
+
<archive>
|
| 76 |
+
<manifestEntries>
|
| 77 |
+
<Automatic-Module-Name>org.apache.tika.parser.code</Automatic-Module-Name>
|
| 78 |
+
</manifestEntries>
|
| 79 |
+
</archive>
|
| 80 |
+
</configuration>
|
| 81 |
+
<executions>
|
| 82 |
+
<execution>
|
| 83 |
+
<goals>
|
| 84 |
+
<goal>test-jar</goal>
|
| 85 |
+
</goals>
|
| 86 |
+
</execution>
|
| 87 |
+
</executions>
|
| 88 |
+
</plugin>
|
| 89 |
+
</plugins>
|
| 90 |
+
</build>
|
| 91 |
+
|
| 92 |
+
<scm>
|
| 93 |
+
<tag>3.0.0-rc1</tag>
|
| 94 |
+
</scm>
|
| 95 |
+
</project>
|
local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-pkg-module/pom.xml
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one
|
| 4 |
+
or more contributor license agreements. See the NOTICE file
|
| 5 |
+
distributed with this work for additional information
|
| 6 |
+
regarding copyright ownership. The ASF licenses this file
|
| 7 |
+
to you under the Apache License, Version 2.0 (the
|
| 8 |
+
"License"); you may not use this file except in compliance
|
| 9 |
+
with the License. You may obtain a copy of the License at
|
| 10 |
+
|
| 11 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 12 |
+
|
| 13 |
+
Unless required by applicable law or agreed to in writing,
|
| 14 |
+
software distributed under the License is distributed on an
|
| 15 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 16 |
+
KIND, either express or implied. See the License for the
|
| 17 |
+
specific language governing permissions and limitations
|
| 18 |
+
under the License.
|
| 19 |
+
-->
|
| 20 |
+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
| 21 |
+
<parent>
|
| 22 |
+
<artifactId>tika-parsers-standard-modules</artifactId>
|
| 23 |
+
<groupId>org.apache.tika</groupId>
|
| 24 |
+
<version>4.0.0-SNAPSHOT</version>
|
| 25 |
+
<relativePath>../pom.xml</relativePath>
|
| 26 |
+
</parent>
|
| 27 |
+
<modelVersion>4.0.0</modelVersion>
|
| 28 |
+
|
| 29 |
+
<artifactId>tika-parser-pkg-module</artifactId>
|
| 30 |
+
<name>Apache Tika package parser module</name>
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
<dependencies>
|
| 34 |
+
<dependency>
|
| 35 |
+
<groupId>org.tukaani</groupId>
|
| 36 |
+
<artifactId>xz</artifactId>
|
| 37 |
+
<version>${tukaani.version}</version>
|
| 38 |
+
</dependency>
|
| 39 |
+
<dependency>
|
| 40 |
+
<groupId>org.brotli</groupId>
|
| 41 |
+
<artifactId>dec</artifactId>
|
| 42 |
+
<version>${brotli.version}</version>
|
| 43 |
+
</dependency>
|
| 44 |
+
<dependency>
|
| 45 |
+
<groupId>com.github.luben</groupId>
|
| 46 |
+
<artifactId>zstd-jni</artifactId>
|
| 47 |
+
<version>${zstd.version}</version>
|
| 48 |
+
<scope>provided</scope>
|
| 49 |
+
</dependency>
|
| 50 |
+
<dependency>
|
| 51 |
+
<groupId>${project.groupId}</groupId>
|
| 52 |
+
<artifactId>tika-parser-zip-commons</artifactId>
|
| 53 |
+
<version>${project.version}</version>
|
| 54 |
+
</dependency>
|
| 55 |
+
<dependency>
|
| 56 |
+
<groupId>com.github.junrar</groupId>
|
| 57 |
+
<artifactId>junrar</artifactId>
|
| 58 |
+
<version>${junrar.version}</version>
|
| 59 |
+
</dependency>
|
| 60 |
+
<dependency>
|
| 61 |
+
<groupId>commons-codec</groupId>
|
| 62 |
+
<artifactId>commons-codec</artifactId>
|
| 63 |
+
<scope>test</scope>
|
| 64 |
+
</dependency>
|
| 65 |
+
</dependencies>
|
| 66 |
+
<build>
|
| 67 |
+
<plugins>
|
| 68 |
+
<plugin>
|
| 69 |
+
<groupId>org.apache.maven.plugins</groupId>
|
| 70 |
+
<artifactId>maven-jar-plugin</artifactId>
|
| 71 |
+
<configuration>
|
| 72 |
+
<archive>
|
| 73 |
+
<manifestEntries>
|
| 74 |
+
<Automatic-Module-Name>org.apache.tika.parser.pkg</Automatic-Module-Name>
|
| 75 |
+
</manifestEntries>
|
| 76 |
+
</archive>
|
| 77 |
+
</configuration>
|
| 78 |
+
<executions>
|
| 79 |
+
<execution>
|
| 80 |
+
<goals>
|
| 81 |
+
<goal>test-jar</goal>
|
| 82 |
+
</goals>
|
| 83 |
+
</execution>
|
| 84 |
+
</executions>
|
| 85 |
+
</plugin>
|
| 86 |
+
</plugins>
|
| 87 |
+
</build>
|
| 88 |
+
|
| 89 |
+
<scm>
|
| 90 |
+
<tag>3.0.0-rc1</tag>
|
| 91 |
+
</scm>
|
| 92 |
+
</project>
|
local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-xmp-commons/pom.xml
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one
|
| 4 |
+
or more contributor license agreements. See the NOTICE file
|
| 5 |
+
distributed with this work for additional information
|
| 6 |
+
regarding copyright ownership. The ASF licenses this file
|
| 7 |
+
to you under the Apache License, Version 2.0 (the
|
| 8 |
+
"License"); you may not use this file except in compliance
|
| 9 |
+
with the License. You may obtain a copy of the License at
|
| 10 |
+
|
| 11 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 12 |
+
|
| 13 |
+
Unless required by applicable law or agreed to in writing,
|
| 14 |
+
software distributed under the License is distributed on an
|
| 15 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 16 |
+
KIND, either express or implied. See the License for the
|
| 17 |
+
specific language governing permissions and limitations
|
| 18 |
+
under the License.
|
| 19 |
+
-->
|
| 20 |
+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
| 21 |
+
<parent>
|
| 22 |
+
<artifactId>tika-parsers-standard-modules</artifactId>
|
| 23 |
+
<groupId>org.apache.tika</groupId>
|
| 24 |
+
<version>4.0.0-SNAPSHOT</version>
|
| 25 |
+
<relativePath>../pom.xml</relativePath>
|
| 26 |
+
</parent>
|
| 27 |
+
<modelVersion>4.0.0</modelVersion>
|
| 28 |
+
|
| 29 |
+
<artifactId>tika-parser-xmp-commons</artifactId>
|
| 30 |
+
<name>Apache Tika XMP commons</name>
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
<dependencies>
|
| 34 |
+
<dependency>
|
| 35 |
+
<groupId>org.apache.pdfbox</groupId>
|
| 36 |
+
<artifactId>jempbox</artifactId>
|
| 37 |
+
<version>${jempbox.version}</version>
|
| 38 |
+
</dependency>
|
| 39 |
+
<dependency>
|
| 40 |
+
<groupId>org.apache.pdfbox</groupId>
|
| 41 |
+
<artifactId>xmpbox</artifactId>
|
| 42 |
+
<version>${pdfbox.version}</version>
|
| 43 |
+
</dependency>
|
| 44 |
+
</dependencies>
|
| 45 |
+
<build>
|
| 46 |
+
<plugins>
|
| 47 |
+
<plugin>
|
| 48 |
+
<groupId>org.apache.maven.plugins</groupId>
|
| 49 |
+
<artifactId>maven-jar-plugin</artifactId>
|
| 50 |
+
<configuration>
|
| 51 |
+
<archive>
|
| 52 |
+
<manifestEntries>
|
| 53 |
+
<Automatic-Module-Name>org.apache.tika.parser.xmp</Automatic-Module-Name>
|
| 54 |
+
</manifestEntries>
|
| 55 |
+
</archive>
|
| 56 |
+
</configuration>
|
| 57 |
+
<executions>
|
| 58 |
+
<execution>
|
| 59 |
+
<goals>
|
| 60 |
+
<goal>test-jar</goal>
|
| 61 |
+
</goals>
|
| 62 |
+
</execution>
|
| 63 |
+
</executions>
|
| 64 |
+
</plugin>
|
| 65 |
+
</plugins>
|
| 66 |
+
</build>
|
| 67 |
+
|
| 68 |
+
<scm>
|
| 69 |
+
<tag>3.0.0-rc1</tag>
|
| 70 |
+
</scm>
|
| 71 |
+
</project>
|
local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-digests-pdf-only.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 |
+
<parser-exclude class="org.apache.tika.parser.pdf.PDFParser"/>
|
| 22 |
+
</parser>
|
| 23 |
+
</parsers>
|
| 24 |
+
<autoDetectParserConfig>
|
| 25 |
+
<spoolToDisk>1000000</spoolToDisk>
|
| 26 |
+
<outputThreshold>1000000</outputThreshold>
|
| 27 |
+
<digesterFactory
|
| 28 |
+
class="org.apache.tika.parser.digestutils.CommonsDigesterFactory">
|
| 29 |
+
<markLimit>100000</markLimit>
|
| 30 |
+
<algorithmString>sha256:32,md5</algorithmString>
|
| 31 |
+
</digesterFactory>
|
| 32 |
+
</autoDetectParserConfig>
|
| 33 |
+
</properties>
|
local-test-tika-full-01-vuln_6/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_6/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_6/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_6/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_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-lib-pst.xml
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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.microsoft.pst.OutlookPSTParser"/>
|
| 22 |
+
<parser-exclude class="org.apache.tika.parser.microsoft.pst.PSTMailItemParser"/>
|
| 23 |
+
</parser>
|
| 24 |
+
<parser class="org.apache.tika.parser.microsoft.libpst.LibPstParser"/>
|
| 25 |
+
</parsers>
|
| 26 |
+
</properties>
|
local-test-tika-full-01-vuln_6/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_6/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_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-tesseract-arbitrary.xml
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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.ocr.TesseractOCRParser">
|
| 21 |
+
<params>
|
| 22 |
+
<!-- space delimited key-value pairs -->
|
| 23 |
+
<param name="otherTesseractSettings" type="list">
|
| 24 |
+
<string>textord_initialx_ile 0.75</string>
|
| 25 |
+
<string>textord_noise_hfract 0.15625</string>
|
| 26 |
+
</param>
|
| 27 |
+
</params>
|
| 28 |
+
</parser>
|
| 29 |
+
</parsers>
|
| 30 |
+
</properties>
|
local-test-tika-full-01-vuln_6/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_6/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_6/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_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-1558-exclude.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 |
+
<mime-exclude>image/jpeg</mime-exclude>
|
| 22 |
+
<mime-exclude>application/pdf</mime-exclude>
|
| 23 |
+
<parser-exclude class="org.apache.tika.parser.executable.ExecutableParser"/>
|
| 24 |
+
</parser>
|
| 25 |
+
<parser class="org.apache.tika.parser.EmptyParser">
|
| 26 |
+
<mime>application/pdf</mime>
|
| 27 |
+
</parser>
|
| 28 |
+
</parsers>
|
| 29 |
+
</properties>
|
local-test-tika-full-01-vuln_6/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_6/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_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-1702-translator-default.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 |
+
<!-- Explicitly request default parsers and translators -->
|
| 20 |
+
<parsers/>
|
| 21 |
+
<detectors/>
|
| 22 |
+
<!-- Explicitly request the default Translator -->
|
| 23 |
+
<translator class="org.apache.tika.language.translate.DefaultTranslator"/>
|
| 24 |
+
</properties>
|
local-test-tika-full-01-vuln_6/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_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-1702-translator-empty.xml
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
<translator class="org.apache.tika.language.translate.EmptyTranslator"/>
|
| 20 |
+
</properties>
|
local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-1708-detector-composite.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 |
+
<detectors>
|
| 21 |
+
<detector class="org.apache.tika.detect.microsoft.POIFSContainerDetector"/>
|
| 22 |
+
<detector class="org.apache.tika.mime.MimeTypes"/>
|
| 23 |
+
</detectors>
|
| 24 |
+
<translator class="org.apache.tika.language.translate.DefaultTranslator"/>
|
| 25 |
+
</properties>
|
local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-1708-detector-default.xml
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
<detectors>
|
| 21 |
+
<detector class="org.apache.tika.detect.DefaultDetector">
|
| 22 |
+
<detector-exclude class="org.apache.tika.detect.zip.DefaultZipContainerDetector"/>
|
| 23 |
+
</detector>
|
| 24 |
+
</detectors>
|
| 25 |
+
<translator class="org.apache.tika.language.translate.DefaultTranslator"/>
|
| 26 |
+
</properties>
|
local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-2273-encoding-detector-outside-static-init.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 |
+
<!-- exclude TXTParser from Default, add it as if custom
|
| 20 |
+
and confirm that correct charset detector was added -->
|
| 21 |
+
<parsers>
|
| 22 |
+
<parser class="org.apache.tika.parser.DefaultParser">
|
| 23 |
+
<parser-exclude class="org.apache.tika.parser.txt.TXTParser"/>
|
| 24 |
+
</parser>
|
| 25 |
+
<parser class="org.apache.tika.parser.txt.TXTParser">
|
| 26 |
+
</parser>
|
| 27 |
+
</parsers>
|
| 28 |
+
<encodingDetectors>
|
| 29 |
+
<!-- All detectors except Icu4jEncodingDetector-->
|
| 30 |
+
<encodingDetector class="org.apache.tika.detect.DefaultEncodingDetector">
|
| 31 |
+
<encodingDetector-exclude class="org.apache.tika.parser.txt.Icu4jEncodingDetector"/>
|
| 32 |
+
</encodingDetector>
|
| 33 |
+
</encodingDetectors>
|
| 34 |
+
</properties>
|
local-test-tika-full-01-vuln_6/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_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-2273-non-detecting-params-bad-charset.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 |
+
<!-- One other detector, to check ordering -->
|
| 23 |
+
<encodingDetector class="org.apache.tika.detect.NonDetectingEncodingDetector">
|
| 24 |
+
<params>
|
| 25 |
+
<param name="charset" type="string">wtf8</param>
|
| 26 |
+
</params>
|
| 27 |
+
</encodingDetector>
|
| 28 |
+
</encodingDetectors>
|
| 29 |
+
</properties>
|
local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-2273-non-detecting-params.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 |
+
<!-- One other detector, to check ordering -->
|
| 23 |
+
<encodingDetector class="org.apache.tika.detect.NonDetectingEncodingDetector">
|
| 24 |
+
<params>
|
| 25 |
+
<param name="charset" type="string">UTF-16LE</param>
|
| 26 |
+
</params>
|
| 27 |
+
</encodingDetector>
|
| 28 |
+
</encodingDetectors>
|
| 29 |
+
</properties>
|
local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-2273-parameterize-encoding-detector.xml
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
<!-- One other detector, to check ordering -->
|
| 23 |
+
<encodingDetector class="org.apache.tika.parser.txt.Icu4jEncodingDetector">
|
| 24 |
+
<params>
|
| 25 |
+
<param name="stripMarkup" type="bool">true</param>
|
| 26 |
+
</params>
|
| 27 |
+
</encodingDetector>
|
| 28 |
+
<encodingDetector class="org.apache.tika.detect.NonDetectingEncodingDetector"/>
|
| 29 |
+
</encodingDetectors>
|
| 30 |
+
</properties>
|
local-test-tika-full-01-vuln_6/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_6/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_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/parser/ocr/tesseract-config.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 |
+
<parser-exclude class="org.apache.tika.parser.ocr.TesseractOCRParser"/>
|
| 22 |
+
</parser>
|
| 23 |
+
<parser class="org.apache.tika.parser.ocr.TesseractOCRParser">
|
| 24 |
+
<params>
|
| 25 |
+
<!-- Note that I manually changed the directory to "Tesseract OCR" from "Tesseract-OCR"
|
| 26 |
+
on my local machine for this test -->
|
| 27 |
+
<param name="tesseractPath" type="string">C:\Program Files\Tesseract OCR</param>
|
| 28 |
+
<param name="tessdataPath" type="string">C:\Program Files\Tesseract OCR\tessdata</param>
|
| 29 |
+
</params>
|
| 30 |
+
</parser>
|
| 31 |
+
</parsers>
|
| 32 |
+
</properties>
|
local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/parser/odf/tika-config-macros.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 |
+
<parser class="org.apache.tika.parser.odf.OpenDocumentParser">
|
| 22 |
+
<params>
|
| 23 |
+
<param name="extractMacros" type="bool">true</param>
|
| 24 |
+
</params>
|
| 25 |
+
</parser>
|
| 26 |
+
<parser class="org.apache.tika.parser.odf.FlatOpenDocumentParser">
|
| 27 |
+
<params>
|
| 28 |
+
<param name="extractMacros" type="bool">true</param>
|
| 29 |
+
</params>
|
| 30 |
+
</parser>
|
| 31 |
+
</parsers>
|
| 32 |
+
</properties>
|
local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/fake_oom.xml
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8" ?>
|
| 2 |
+
|
| 3 |
+
<!--
|
| 4 |
+
Licensed to the Apache Software Foundation (ASF) under one
|
| 5 |
+
or more contributor license agreements. See the NOTICE file
|
| 6 |
+
distributed with this work for additional information
|
| 7 |
+
regarding copyright ownership. The ASF licenses this file
|
| 8 |
+
to you under the Apache License, Version 2.0 (the
|
| 9 |
+
"License"); you may not use this file except in compliance
|
| 10 |
+
with the License. You may obtain a copy of the License at
|
| 11 |
+
|
| 12 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 13 |
+
|
| 14 |
+
Unless required by applicable law or agreed to in writing,
|
| 15 |
+
software distributed under the License is distributed on an
|
| 16 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 17 |
+
KIND, either express or implied. See the License for the
|
| 18 |
+
specific language governing permissions and limitations
|
| 19 |
+
under the License.
|
| 20 |
+
-->
|
| 21 |
+
|
| 22 |
+
<mock>
|
| 23 |
+
<metadata action="add" name="author">Nikolai Lobachevsky</metadata>
|
| 24 |
+
<throw class="java.lang.OutOfMemoryError">not another oom</throw>
|
| 25 |
+
</mock>
|
local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/heavy_hang.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
|
| 4 |
+
or more contributor license agreements. See the NOTICE file
|
| 5 |
+
distributed with this work for additional information
|
| 6 |
+
regarding copyright ownership. The ASF licenses this file
|
| 7 |
+
to you under the Apache License, Version 2.0 (the
|
| 8 |
+
"License"); you may not use this file except in compliance
|
| 9 |
+
with the License. You may obtain a copy of the License at
|
| 10 |
+
|
| 11 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 12 |
+
|
| 13 |
+
Unless required by applicable law or agreed to in writing,
|
| 14 |
+
software distributed under the License is distributed on an
|
| 15 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 16 |
+
KIND, either express or implied. See the License for the
|
| 17 |
+
specific language governing permissions and limitations
|
| 18 |
+
under the License.
|
| 19 |
+
-->
|
| 20 |
+
|
| 21 |
+
<mock>
|
| 22 |
+
<metadata action="add" name="author">Nikolai Lobachevsky</metadata>
|
| 23 |
+
<write element="p">some content</write>
|
| 24 |
+
<hang millis="3000" heavy="true" pulse_millis="100" />
|
| 25 |
+
</mock>
|
local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/null_pointer.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
|
| 4 |
+
or more contributor license agreements. See the NOTICE file
|
| 5 |
+
distributed with this work for additional information
|
| 6 |
+
regarding copyright ownership. The ASF licenses this file
|
| 7 |
+
to you under the Apache License, Version 2.0 (the
|
| 8 |
+
"License"); you may not use this file except in compliance
|
| 9 |
+
with the License. You may obtain a copy of the License at
|
| 10 |
+
|
| 11 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 12 |
+
|
| 13 |
+
Unless required by applicable law or agreed to in writing,
|
| 14 |
+
software distributed under the License is distributed on an
|
| 15 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 16 |
+
KIND, either express or implied. See the License for the
|
| 17 |
+
specific language governing permissions and limitations
|
| 18 |
+
under the License.
|
| 19 |
+
-->
|
| 20 |
+
|
| 21 |
+
<mock>
|
| 22 |
+
<metadata action="add" name="author">Nikolai Lobachevsky</metadata>
|
| 23 |
+
<write element="p">some content</write>
|
| 24 |
+
<throw class="java.lang.NullPointerException">another null pointer exception</throw>
|
| 25 |
+
</mock>
|
local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/real_oom.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
|
| 4 |
+
or more contributor license agreements. See the NOTICE file
|
| 5 |
+
distributed with this work for additional information
|
| 6 |
+
regarding copyright ownership. The ASF licenses this file
|
| 7 |
+
to you under the Apache License, Version 2.0 (the
|
| 8 |
+
"License"); you may not use this file except in compliance
|
| 9 |
+
with the License. You may obtain a copy of the License at
|
| 10 |
+
|
| 11 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 12 |
+
|
| 13 |
+
Unless required by applicable law or agreed to in writing,
|
| 14 |
+
software distributed under the License is distributed on an
|
| 15 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 16 |
+
KIND, either express or implied. See the License for the
|
| 17 |
+
specific language governing permissions and limitations
|
| 18 |
+
under the License.
|
| 19 |
+
-->
|
| 20 |
+
|
| 21 |
+
<mock>
|
| 22 |
+
<metadata action="add" name="author">Nikolai Lobachevsky</metadata>
|
| 23 |
+
<oom/>
|
| 24 |
+
</mock>
|
local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/sleep_interruptible.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
|
| 4 |
+
or more contributor license agreements. See the NOTICE file
|
| 5 |
+
distributed with this work for additional information
|
| 6 |
+
regarding copyright ownership. The ASF licenses this file
|
| 7 |
+
to you under the Apache License, Version 2.0 (the
|
| 8 |
+
"License"); you may not use this file except in compliance
|
| 9 |
+
with the License. You may obtain a copy of the License at
|
| 10 |
+
|
| 11 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 12 |
+
|
| 13 |
+
Unless required by applicable law or agreed to in writing,
|
| 14 |
+
software distributed under the License is distributed on an
|
| 15 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 16 |
+
KIND, either express or implied. See the License for the
|
| 17 |
+
specific language governing permissions and limitations
|
| 18 |
+
under the License.
|
| 19 |
+
-->
|
| 20 |
+
|
| 21 |
+
<mock>
|
| 22 |
+
<metadata action="add" name="author">Nikolai Lobachevsky</metadata>
|
| 23 |
+
<write element="p">some content</write>
|
| 24 |
+
<hang millis="3000" heavy="false" interruptible="true" />
|
| 25 |
+
</mock>
|
local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/system_exit.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
|
| 4 |
+
or more contributor license agreements. See the NOTICE file
|
| 5 |
+
distributed with this work for additional information
|
| 6 |
+
regarding copyright ownership. The ASF licenses this file
|
| 7 |
+
to you under the Apache License, Version 2.0 (the
|
| 8 |
+
"License"); you may not use this file except in compliance
|
| 9 |
+
with the License. You may obtain a copy of the License at
|
| 10 |
+
|
| 11 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 12 |
+
|
| 13 |
+
Unless required by applicable law or agreed to in writing,
|
| 14 |
+
software distributed under the License is distributed on an
|
| 15 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 16 |
+
KIND, either express or implied. See the License for the
|
| 17 |
+
specific language governing permissions and limitations
|
| 18 |
+
under the License.
|
| 19 |
+
-->
|
| 20 |
+
|
| 21 |
+
<mock>
|
| 22 |
+
<metadata action="add" name="author">Nikolai Lobachevsky</metadata>
|
| 23 |
+
<write element="p">some content</write>
|
| 24 |
+
<system_exit />
|
| 25 |
+
</mock>
|
local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/thread_interrupt.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
|
| 4 |
+
or more contributor license agreements. See the NOTICE file
|
| 5 |
+
distributed with this work for additional information
|
| 6 |
+
regarding copyright ownership. The ASF licenses this file
|
| 7 |
+
to you under the Apache License, Version 2.0 (the
|
| 8 |
+
"License"); you may not use this file except in compliance
|
| 9 |
+
with the License. You may obtain a copy of the License at
|
| 10 |
+
|
| 11 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 12 |
+
|
| 13 |
+
Unless required by applicable law or agreed to in writing,
|
| 14 |
+
software distributed under the License is distributed on an
|
| 15 |
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 16 |
+
KIND, either express or implied. See the License for the
|
| 17 |
+
specific language governing permissions and limitations
|
| 18 |
+
under the License.
|
| 19 |
+
-->
|
| 20 |
+
|
| 21 |
+
<mock>
|
| 22 |
+
<metadata action="add" name="author">Nikolai Lobachevsky</metadata>
|
| 23 |
+
<write element="p">some content</write>
|
| 24 |
+
<thread_interrupt />
|
| 25 |
+
</mock>
|
local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/test-columnar.csv
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"Record Number","Square of the Record Number","Description of the Row","Percent Done","Percent Increment","date","datetime","time"
|
| 2 |
+
0,0,This is row 0 of 10,0%,M,01-01-1960,01JAN60:00:00:01,0:00:01
|
| 3 |
+
1,1,This is row 1 of 10,10%,0.0%,02-01-1960,01JAN60:00:00:10,0:00:03
|
| 4 |
+
2,4,This is row 2 of 10,20%,50.0%,17-01-1960,01JAN60:00:01:40,0:00:09
|
| 5 |
+
3,9,This is row 3 of 10,30%,66.7%,22-03-1960,01JAN60:00:16:40,0:00:27
|
| 6 |
+
4,16,This is row 4 of 10,40%,75.0%,13-09-1960,01JAN60:02:46:40,0:01:21
|
| 7 |
+
5,25,This is row 5 of 10,50%,80.0%,17-09-1961,02JAN60:03:46:40,0:04:03
|
| 8 |
+
6,36,This is row 6 of 10,60%,83.3%,20-07-1963,12JAN60:13:46:40,0:12:09
|
| 9 |
+
7,49,This is row 7 of 10,70%,85.7%,29-07-1966,25APR60:17:46:40,0:36:27
|
| 10 |
+
8,64,This is row 8 of 10,80%,87.5%,20-03-1971,03MAR63:09:46:40,1:49:21
|
| 11 |
+
9,81,This is row 9 of 10,90%,88.9%,18-12-1977,09SEP91:01:46:40,5:28:03
|
| 12 |
+
10,100,This is row 10 of 10,100%,90.0%,19-05-1987,19NOV76:17:46:40,16:24:09
|
local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/test-columnar.ods
ADDED
|
Binary file (12.9 kB). View file
|
|
|
local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/testAMR.amr
ADDED
|
Binary file (3.62 kB). View file
|
|
|
local-test-tika-full-01-vuln_6/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_6/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_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/testECKEY.pem
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
-----BEGIN PRIVATE KEY-----
|
| 2 |
+
MIG2AgEAMBAGByqGSM49AgEGBSuBBAAiBIGeMIGbAgEBBDC/CFlieW48GC1RB2Nh
|
| 3 |
+
19wlRZO4QNAVsmttUmwXh46i9dWSs1hnaENPcn9b0kPtFQShZANiAATd5hKUV7K/
|
| 4 |
+
sTuBHS1FDOVqXrKOBp7t+tRZTaOV3/gkKyXSfzDRGxVIJR/hL0c5f7A7PzC994yV
|
| 5 |
+
JvHbi1XtfeaSWZojKI/4Dxvcy8vpL2Cwf4+jpWLDpF3zAP7W9CwMAjE=
|
| 6 |
+
-----END PRIVATE KEY-----
|
local-test-tika-full-01-vuln_6/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_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/testMYSQL.MYI
ADDED
|
Binary file (1.02 kB). View file
|
|
|
local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/testNLS1.nls
ADDED
|
Binary file (59 Bytes). View file
|
|
|
local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/testPICT.pct
ADDED
|
|