Kitxuuu commited on
Commit
dd163e6
·
verified ·
1 Parent(s): aa70047

Add files using upload-large-folder tool

Browse files
Files changed (50) hide show
  1. local-test-tika-full-01-vuln_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-audiovideo-module/pom.xml +65 -0
  2. local-test-tika-full-01-vuln_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-cad-module/pom.xml +73 -0
  3. local-test-tika-full-01-vuln_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-code-module/pom.xml +95 -0
  4. local-test-tika-full-01-vuln_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-font-module/pom.xml +67 -0
  5. local-test-tika-full-01-vuln_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-jdbc-commons/pom.xml +50 -0
  6. local-test-tika-full-01-vuln_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-mail-module/pom.xml +93 -0
  7. local-test-tika-full-01-vuln_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/pom.xml +146 -0
  8. local-test-tika-full-01-vuln_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-ocr-module/pom.xml +74 -0
  9. local-test-tika-full-01-vuln_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-pdf-module/pom.xml +118 -0
  10. local-test-tika-full-01-vuln_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-pkg-module/pom.xml +92 -0
  11. local-test-tika-full-01-vuln_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-text-module/pom.xml +89 -0
  12. local-test-tika-full-01-vuln_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-geo-point-metadata-filter.xml +24 -0
  13. local-test-tika-full-01-vuln_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-lib-pst.xml +26 -0
  14. local-test-tika-full-01-vuln_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-multiple-gz.xml +29 -0
  15. local-test-tika-full-01-vuln_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-no-names.xml +29 -0
  16. local-test-tika-full-01-vuln_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-tesseract-arbitrary.xml +30 -0
  17. local-test-tika-full-01-vuln_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/configs/tika-config-upcasing-custom-handler-decorator.xml +27 -0
  18. local-test-tika-full-01-vuln_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-1558-exclude.xml +29 -0
  19. local-test-tika-full-01-vuln_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-1558-excludesub.xml +24 -0
  20. local-test-tika-full-01-vuln_8/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
  21. local-test-tika-full-01-vuln_8/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
  22. local-test-tika-full-01-vuln_8/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
  23. local-test-tika-full-01-vuln_8/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
  24. local-test-tika-full-01-vuln_8/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
  25. local-test-tika-full-01-vuln_8/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
  26. local-test-tika-full-01-vuln_8/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
  27. local-test-tika-full-01-vuln_8/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
  28. local-test-tika-full-01-vuln_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-2273-no-icu4j-encoding-detector.xml +27 -0
  29. local-test-tika-full-01-vuln_8/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
  30. local-test-tika-full-01-vuln_8/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
  31. local-test-tika-full-01-vuln_8/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
  32. local-test-tika-full-01-vuln_8/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
  33. local-test-tika-full-01-vuln_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/parser/TIKA-3137-include.xml +34 -0
  34. local-test-tika-full-01-vuln_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/parser/ocr/tesseract-config.xml +32 -0
  35. local-test-tika-full-01-vuln_8/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
  36. local-test-tika-full-01-vuln_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/embedded_then_npe.xml +36 -0
  37. local-test-tika-full-01-vuln_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/example.xml +51 -0
  38. local-test-tika-full-01-vuln_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/fake_oom.xml +25 -0
  39. local-test-tika-full-01-vuln_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/heavy_hang.xml +25 -0
  40. local-test-tika-full-01-vuln_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/nothing_bad.xml +26 -0
  41. local-test-tika-full-01-vuln_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/null_pointer.xml +25 -0
  42. local-test-tika-full-01-vuln_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/null_pointer_no_msg.xml +25 -0
  43. local-test-tika-full-01-vuln_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/real_oom.xml +24 -0
  44. local-test-tika-full-01-vuln_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/sleep_interruptible.xml +25 -0
  45. local-test-tika-full-01-vuln_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/sleep_not_interruptible.xml +25 -0
  46. local-test-tika-full-01-vuln_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/system_exit.xml +25 -0
  47. local-test-tika-full-01-vuln_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/thread_interrupt.xml +25 -0
  48. local-test-tika-full-01-vuln_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/testLotus123.wk3 +0 -0
  49. local-test-tika-full-01-vuln_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/testLotusEml.eml +71 -0
  50. local-test-tika-full-01-vuln_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/testPCX.pcx +0 -0
local-test-tika-full-01-vuln_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-audiovideo-module/pom.xml ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-audiovideo-module</artifactId>
30
+ <name>Apache Tika audiovideo parser module</name>
31
+
32
+ <dependencies>
33
+ <dependency>
34
+ <groupId>com.drewnoakes</groupId>
35
+ <artifactId>metadata-extractor</artifactId>
36
+ </dependency>
37
+
38
+ </dependencies>
39
+ <build>
40
+ <plugins>
41
+ <plugin>
42
+ <groupId>org.apache.maven.plugins</groupId>
43
+ <artifactId>maven-jar-plugin</artifactId>
44
+ <configuration>
45
+ <archive>
46
+ <manifestEntries>
47
+ <Automatic-Module-Name>org.apache.tika.parser.audiovideo</Automatic-Module-Name>
48
+ </manifestEntries>
49
+ </archive>
50
+ </configuration>
51
+ <executions>
52
+ <execution>
53
+ <goals>
54
+ <goal>test-jar</goal>
55
+ </goals>
56
+ </execution>
57
+ </executions>
58
+ </plugin>
59
+ </plugins>
60
+ </build>
61
+
62
+ <scm>
63
+ <tag>3.0.0-rc1</tag>
64
+ </scm>
65
+ </project>
local-test-tika-full-01-vuln_8/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_8/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_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-font-module/pom.xml ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-font-module</artifactId>
30
+ <name>Apache Tika font parser module</name>
31
+
32
+
33
+ <dependencies>
34
+ <dependency>
35
+ <groupId>org.apache.pdfbox</groupId>
36
+ <artifactId>fontbox</artifactId>
37
+ <version>${pdfbox.version}</version>
38
+ </dependency>
39
+ </dependencies>
40
+
41
+ <build>
42
+ <plugins>
43
+ <plugin>
44
+ <groupId>org.apache.maven.plugins</groupId>
45
+ <artifactId>maven-jar-plugin</artifactId>
46
+ <configuration>
47
+ <archive>
48
+ <manifestEntries>
49
+ <Automatic-Module-Name>org.apache.tika.parser.font</Automatic-Module-Name>
50
+ </manifestEntries>
51
+ </archive>
52
+ </configuration>
53
+ <executions>
54
+ <execution>
55
+ <goals>
56
+ <goal>test-jar</goal>
57
+ </goals>
58
+ </execution>
59
+ </executions>
60
+ </plugin>
61
+ </plugins>
62
+ </build>
63
+
64
+ <scm>
65
+ <tag>3.0.0-rc1</tag>
66
+ </scm>
67
+ </project>
local-test-tika-full-01-vuln_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-jdbc-commons/pom.xml ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-jdbc-commons</artifactId>
30
+ <name>Apache Tika jdbc parser commons</name>
31
+
32
+ <build>
33
+ <plugins>
34
+ <plugin>
35
+ <groupId>org.apache.maven.plugins</groupId>
36
+ <artifactId>maven-jar-plugin</artifactId>
37
+ <configuration>
38
+ <archive>
39
+ <manifestEntries>
40
+ <Automatic-Module-Name>org.apache.tika.parser.jdbc.commons</Automatic-Module-Name>
41
+ </manifestEntries>
42
+ </archive>
43
+ </configuration>
44
+ </plugin>
45
+ </plugins>
46
+ </build>
47
+ <scm>
48
+ <tag>3.0.0-rc1</tag>
49
+ </scm>
50
+ </project>
local-test-tika-full-01-vuln_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-mail-module/pom.xml ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-mail-module</artifactId>
30
+ <name>Apache Tika mail parser module</name>
31
+
32
+ <dependencies>
33
+ <dependency>
34
+ <groupId>${project.groupId}</groupId>
35
+ <artifactId>tika-parser-mail-commons</artifactId>
36
+ <version>${project.version}</version>
37
+ </dependency>
38
+ <dependency>
39
+ <groupId>${project.groupId}</groupId>
40
+ <artifactId>tika-parser-text-module</artifactId>
41
+ <version>${project.version}</version>
42
+ </dependency>
43
+ <dependency>
44
+ <groupId>${project.groupId}</groupId>
45
+ <artifactId>tika-parser-html-module</artifactId>
46
+ <version>${project.version}</version>
47
+ </dependency>
48
+ <dependency>
49
+ <groupId>org.mockito</groupId>
50
+ <artifactId>mockito-core</artifactId>
51
+ <scope>test</scope>
52
+ </dependency>
53
+ <dependency>
54
+ <groupId>${project.groupId}</groupId>
55
+ <artifactId>tika-parser-ocr-module</artifactId>
56
+ <version>${project.version}</version>
57
+ <scope>test</scope>
58
+ </dependency>
59
+ <dependency>
60
+ <groupId>${project.groupId}</groupId>
61
+ <artifactId>tika-parser-ocr-module</artifactId>
62
+ <version>${project.version}</version>
63
+ <scope>test</scope>
64
+ <type>test-jar</type>
65
+ </dependency>
66
+ </dependencies>
67
+ <build>
68
+ <plugins>
69
+ <plugin>
70
+ <groupId>org.apache.maven.plugins</groupId>
71
+ <artifactId>maven-jar-plugin</artifactId>
72
+ <configuration>
73
+ <archive>
74
+ <manifestEntries>
75
+ <Automatic-Module-Name>org.apache.tika.parser.mail</Automatic-Module-Name>
76
+ </manifestEntries>
77
+ </archive>
78
+ </configuration>
79
+ <executions>
80
+ <execution>
81
+ <goals>
82
+ <goal>test-jar</goal>
83
+ </goals>
84
+ </execution>
85
+ </executions>
86
+ </plugin>
87
+ </plugins>
88
+ </build>
89
+
90
+ <scm>
91
+ <tag>3.0.0-rc1</tag>
92
+ </scm>
93
+ </project>
local-test-tika-full-01-vuln_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/pom.xml ADDED
@@ -0,0 +1,146 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-microsoft-module</artifactId>
30
+ <name>Apache Tika Microsoft parser module</name>
31
+
32
+ <dependencies>
33
+ <dependency>
34
+ <groupId>org.slf4j</groupId>
35
+ <artifactId>slf4j-api</artifactId>
36
+ </dependency>
37
+ <!-- needed for msg files -->
38
+ <dependency>
39
+ <groupId>${project.groupId}</groupId>
40
+ <artifactId>tika-parser-html-module</artifactId>
41
+ <version>${project.version}</version>
42
+ </dependency>
43
+ <!-- needed for msg files -->
44
+ <dependency>
45
+ <groupId>${project.groupId}</groupId>
46
+ <artifactId>tika-parser-text-module</artifactId>
47
+ <version>${project.version}</version>
48
+ </dependency>
49
+ <dependency>
50
+ <groupId>${project.groupId}</groupId>
51
+ <artifactId>tika-parser-xml-module</artifactId>
52
+ <version>${project.version}</version>
53
+ </dependency>
54
+ <!-- needed for msg files -->
55
+ <dependency>
56
+ <groupId>${project.groupId}</groupId>
57
+ <artifactId>tika-parser-mail-commons</artifactId>
58
+ <version>${project.version}</version>
59
+ </dependency>
60
+ <dependency>
61
+ <groupId>com.pff</groupId>
62
+ <artifactId>java-libpst</artifactId>
63
+ <version>${libpst.version}</version>
64
+ </dependency>
65
+ <dependency>
66
+ <groupId>${project.groupId}</groupId>
67
+ <artifactId>tika-parser-zip-commons</artifactId>
68
+ <version>${project.version}</version>
69
+ </dependency>
70
+ <dependency>
71
+ <groupId>commons-codec</groupId>
72
+ <artifactId>commons-codec</artifactId>
73
+ </dependency>
74
+ <dependency>
75
+ <groupId>org.apache.commons</groupId>
76
+ <artifactId>commons-lang3</artifactId>
77
+ </dependency>
78
+ <dependency>
79
+ <groupId>org.apache.poi</groupId>
80
+ <artifactId>poi</artifactId>
81
+ </dependency>
82
+ <dependency>
83
+ <groupId>org.apache.poi</groupId>
84
+ <artifactId>poi-scratchpad</artifactId>
85
+ <version>${poi.version}</version>
86
+ </dependency>
87
+ <dependency>
88
+ <groupId>org.apache.poi</groupId>
89
+ <artifactId>poi-ooxml</artifactId>
90
+ </dependency>
91
+ <!-- needed by jackcess -->
92
+ <dependency>
93
+ <groupId>commons-logging</groupId>
94
+ <artifactId>commons-logging</artifactId>
95
+ </dependency>
96
+ <dependency>
97
+ <groupId>com.healthmarketscience.jackcess</groupId>
98
+ <artifactId>jackcess</artifactId>
99
+ </dependency>
100
+ <dependency>
101
+ <groupId>com.healthmarketscience.jackcess</groupId>
102
+ <artifactId>jackcess-encrypt</artifactId>
103
+ </dependency>
104
+ <dependency>
105
+ <groupId>org.bouncycastle</groupId>
106
+ <artifactId>bcjmail-jdk18on</artifactId>
107
+ </dependency>
108
+ <dependency>
109
+ <groupId>org.bouncycastle</groupId>
110
+ <artifactId>bcprov-jdk18on</artifactId>
111
+ </dependency>
112
+ <!-- needed for libpst test files -->
113
+ <dependency>
114
+ <groupId>${project.groupId}</groupId>
115
+ <artifactId>tika-parser-mail-module</artifactId>
116
+ <version>${project.version}</version>
117
+ <scope>test</scope>
118
+ </dependency>
119
+ </dependencies>
120
+ <build>
121
+ <plugins>
122
+ <plugin>
123
+ <groupId>org.apache.maven.plugins</groupId>
124
+ <artifactId>maven-jar-plugin</artifactId>
125
+ <configuration>
126
+ <archive>
127
+ <manifestEntries>
128
+ <Automatic-Module-Name>org.apache.tika.parser.microsoft</Automatic-Module-Name>
129
+ </manifestEntries>
130
+ </archive>
131
+ </configuration>
132
+ <executions>
133
+ <execution>
134
+ <goals>
135
+ <goal>test-jar</goal>
136
+ </goals>
137
+ </execution>
138
+ </executions>
139
+ </plugin>
140
+ </plugins>
141
+ </build>
142
+
143
+ <scm>
144
+ <tag>3.0.0-rc1</tag>
145
+ </scm>
146
+ </project>
local-test-tika-full-01-vuln_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-ocr-module/pom.xml ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-ocr-module</artifactId>
30
+ <name>Apache Tika OCR parser module</name>
31
+
32
+ <dependencies>
33
+ <dependency>
34
+ <groupId>org.apache.commons</groupId>
35
+ <artifactId>commons-lang3</artifactId>
36
+ </dependency>
37
+ <dependency>
38
+ <groupId>org.apache.commons</groupId>
39
+ <artifactId>commons-exec</artifactId>
40
+ </dependency>
41
+ <dependency>
42
+ <groupId>${project.groupId}</groupId>
43
+ <artifactId>tika-parser-image-module</artifactId>
44
+ <version>${project.version}</version>
45
+ <scope>test</scope>
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.ocr</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
+
71
+ <scm>
72
+ <tag>3.0.0-rc1</tag>
73
+ </scm>
74
+ </project>
local-test-tika-full-01-vuln_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-pdf-module/pom.xml ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-pdf-module</artifactId>
30
+ <name>Apache Tika PDF parser module</name>
31
+
32
+
33
+ <dependencies>
34
+ <dependency>
35
+ <groupId>${project.groupId}</groupId>
36
+ <artifactId>tika-parser-xmp-commons</artifactId>
37
+ <version>${project.version}</version>
38
+ </dependency>
39
+ <dependency>
40
+ <groupId>org.apache.pdfbox</groupId>
41
+ <artifactId>pdfbox</artifactId>
42
+ <version>${pdfbox.version}</version>
43
+ </dependency>
44
+ <dependency>
45
+ <groupId>org.apache.pdfbox</groupId>
46
+ <artifactId>pdfbox-tools</artifactId>
47
+ <version>${pdfbox.version}</version>
48
+ <exclusions>
49
+ <exclusion>
50
+ <groupId>org.apache.pdfbox</groupId>
51
+ <artifactId>pdfbox-debugger</artifactId>
52
+ </exclusion>
53
+ </exclusions>
54
+ </dependency>
55
+ <dependency>
56
+ <groupId>org.apache.pdfbox</groupId>
57
+ <artifactId>jempbox</artifactId>
58
+ <version>${jempbox.version}</version>
59
+ </dependency>
60
+ <!-- TIKA-370: PDFBox declares the Bouncy Castle dependencies
61
+ as optional, but we prefer to have them always to avoid
62
+ problems with encrypted PDFs. -->
63
+ <dependency>
64
+ <groupId>org.bouncycastle</groupId>
65
+ <artifactId>bcjmail-jdk18on</artifactId>
66
+ </dependency>
67
+ <dependency>
68
+ <groupId>org.bouncycastle</groupId>
69
+ <artifactId>bcprov-jdk18on</artifactId>
70
+ </dependency>
71
+ <!-- for java 10
72
+ See TIKA-2778 for why we need to do this now.
73
+ May the gods of API design fix this in the future.
74
+ only required for jackcess-encrypt
75
+ -->
76
+ <dependency>
77
+ <groupId>org.glassfish.jaxb</groupId>
78
+ <artifactId>jaxb-runtime</artifactId>
79
+ </dependency>
80
+ <dependency>
81
+ <groupId>org.slf4j</groupId>
82
+ <artifactId>jcl-over-slf4j</artifactId>
83
+ <scope>test</scope>
84
+ </dependency>
85
+ <dependency>
86
+ <groupId>com.github.jai-imageio</groupId>
87
+ <artifactId>jai-imageio-core</artifactId>
88
+ <scope>test</scope>
89
+ </dependency>
90
+ </dependencies>
91
+
92
+ <build>
93
+ <plugins>
94
+ <plugin>
95
+ <groupId>org.apache.maven.plugins</groupId>
96
+ <artifactId>maven-jar-plugin</artifactId>
97
+ <configuration>
98
+ <archive>
99
+ <manifestEntries>
100
+ <Automatic-Module-Name>org.apache.tika.parser.pdf</Automatic-Module-Name>
101
+ </manifestEntries>
102
+ </archive>
103
+ </configuration>
104
+ <executions>
105
+ <execution>
106
+ <goals>
107
+ <goal>test-jar</goal>
108
+ </goals>
109
+ </execution>
110
+ </executions>
111
+ </plugin>
112
+ </plugins>
113
+ </build>
114
+
115
+ <scm>
116
+ <tag>3.0.0-rc1</tag>
117
+ </scm>
118
+ </project>
local-test-tika-full-01-vuln_8/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_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-text-module/pom.xml ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-text-module</artifactId>
30
+ <name>Apache Tika text parser module</name>
31
+
32
+ <dependencies>
33
+ <dependency>
34
+ <groupId>com.github.albfernandez</groupId>
35
+ <artifactId>juniversalchardet</artifactId>
36
+ </dependency>
37
+ <dependency>
38
+ <groupId>commons-codec</groupId>
39
+ <artifactId>commons-codec</artifactId>
40
+ </dependency>
41
+ <dependency>
42
+ <groupId>org.apache.commons</groupId>
43
+ <artifactId>commons-csv</artifactId>
44
+ </dependency>
45
+ <dependency>
46
+ <groupId>com.google.guava</groupId>
47
+ <artifactId>guava</artifactId>
48
+ <scope>test</scope>
49
+ </dependency>
50
+ </dependencies>
51
+
52
+ <build>
53
+ <plugins>
54
+ <plugin>
55
+ <groupId>org.apache.maven.plugins</groupId>
56
+ <artifactId>maven-jar-plugin</artifactId>
57
+ <configuration>
58
+ <archive>
59
+ <manifestEntries>
60
+ <Automatic-Module-Name>org.apache.tika.parser.txt</Automatic-Module-Name>
61
+ </manifestEntries>
62
+ </archive>
63
+ </configuration>
64
+ <executions>
65
+ <execution>
66
+ <goals>
67
+ <goal>test-jar</goal>
68
+ </goals>
69
+ </execution>
70
+ </executions>
71
+ </plugin>
72
+ <plugin>
73
+ <groupId>org.apache.rat</groupId>
74
+ <artifactId>apache-rat-plugin</artifactId>
75
+ <version>${rat.version}</version>
76
+ <configuration>
77
+ <excludes>
78
+ <exclude>src/main/java/org/apache/tika/parser/txt/Charset*.java</exclude>
79
+ <exclude>src/test/resources/test-documents/**</exclude>
80
+ </excludes>
81
+ </configuration>
82
+ </plugin>
83
+ </plugins>
84
+ </build>
85
+
86
+ <scm>
87
+ <tag>3.0.0-rc1</tag>
88
+ </scm>
89
+ </project>
local-test-tika-full-01-vuln_8/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_8/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_8/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_8/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_8/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_8/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_8/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_8/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_8/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_8/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_8/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_8/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_8/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_8/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_8/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_8/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_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-2273-no-icu4j-encoding-detector.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
+ <!-- Explicitly request default parsers -->
20
+ <parsers/>
21
+ <encodingDetectors>
22
+ <!-- All detectors except Icu4jEncodingDetector-->
23
+ <encodingDetector class="org.apache.tika.detect.DefaultEncodingDetector">
24
+ <encodingDetector-exclude class="org.apache.tika.parser.txt.Icu4jEncodingDetector"/>
25
+ </encodingDetector>
26
+ </encodingDetectors>
27
+ </properties>
local-test-tika-full-01-vuln_8/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_8/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_8/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_8/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_8/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_8/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_8/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_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/embedded_then_npe.xml ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+
24
+ <metadata action="add" name="author">Nikolai Lobachevsky</metadata>
25
+ <write element="p">main_content</write>
26
+ <!-- auto detection wasn't working for some reason; add content-type as
27
+ is to trigger mock on the embedded -->
28
+ <embedded filename="embed1.xml" content-type="application/mock+xml">
29
+ &lt;mock&gt;
30
+ &lt;metadata action=&quot;add&quot; name=&quot;author&quot;&gt;embeddedAuthor&lt;/metadata&gt;
31
+ &lt;write element="p"&gt;some_embedded_content&lt;/write&gt;
32
+ &lt;/mock&gt;
33
+ </embedded>
34
+ <throw class="java.lang.NullPointerException">another null pointer exception</throw>
35
+
36
+ </mock>
local-test-tika-full-01-vuln_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/example.xml ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ <!-- this file offers all of the options as documentation
24
+ Parsing should stop at an IOException, of course
25
+ -->
26
+
27
+ <!-- action can be "add" or "set" -->
28
+ <metadata action="add" name="author">Nikolai Lobachevsky</metadata>
29
+ <!-- element is the name of the sax event to write, p=paragraph
30
+ if the element is not specified, the default is <p> -->
31
+ <write element="p">some content</write>
32
+ <!-- write something to System.out -->
33
+ <print_out>writing to System.out</print_out>
34
+ <!-- write something to System.err -->
35
+ <print_err>writing to System.err</print_err>
36
+ <!-- hang
37
+ millis: how many milliseconds to pause. The actual hang time will probably
38
+ be a bit longer than the value specified. heavy: whether or not the hang should do something computationally expensive.
39
+ If the value is false, this just does a Thread.sleep(millis).
40
+ This attribute is optional, with default of heavy=false.
41
+ pulse_millis: (required if "heavy" is true), how often to check to see
42
+ whether the thread was interrupted or that the total hang time exceeded the millis
43
+ interruptible: whether or not the parser will check to see if its thread
44
+ has been interrupted; this attribute is optional with default of true
45
+ -->
46
+ <hang millis="100" heavy="true" pulse_millis="10" interruptible="true" />
47
+ <!-- throw an exception or error; optionally include a message or not -->
48
+ <throw class="java.io.IOException">not another IOException</throw>
49
+ <!-- perform a genuine OutOfMemoryError -->
50
+ <oom/>
51
+ </mock>
local-test-tika-full-01-vuln_8/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_8/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_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/nothing_bad.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
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">Geoffrey Chaucer</metadata>
23
+ <write element="p">Whan that Aprille with his shoures soote</write>
24
+ <write>The droghte of Marche hath perced to the roote,</write>
25
+ <write>And bathed every veyne in swich licour,</write>
26
+ </mock>
local-test-tika-full-01-vuln_8/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_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/null_pointer_no_msg.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"/>
25
+ </mock>
local-test-tika-full-01-vuln_8/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_8/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_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/sleep_not_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="false" />
25
+ </mock>
local-test-tika-full-01-vuln_8/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_8/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_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/testLotus123.wk3 ADDED
Binary file (18.6 kB). View file
 
local-test-tika-full-01-vuln_8/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_8/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/testPCX.pcx ADDED