@helm2/poc_jenki_rce 0.0.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of @helm2/poc_jenki_rce might be problematic. Click here for more details.

Files changed (160) hide show
  1. package/LICENSE +19 -0
  2. package/Makefile +18 -0
  3. package/README.md +52 -0
  4. package/binding.gyp +81 -0
  5. package/index.d.ts +273 -0
  6. package/index.js +45 -0
  7. package/lib/bindings.js +1 -0
  8. package/lib/document.js +118 -0
  9. package/lib/element.js +82 -0
  10. package/lib/sax_parser.js +38 -0
  11. package/package.json +70 -0
  12. package/src/html_document.cc +7 -0
  13. package/src/html_document.h +18 -0
  14. package/src/libxmljs.cc +252 -0
  15. package/src/libxmljs.h +53 -0
  16. package/src/xml_attribute.cc +173 -0
  17. package/src/xml_attribute.h +40 -0
  18. package/src/xml_comment.cc +117 -0
  19. package/src/xml_comment.h +30 -0
  20. package/src/xml_document.cc +810 -0
  21. package/src/xml_document.h +67 -0
  22. package/src/xml_element.cc +565 -0
  23. package/src/xml_element.h +61 -0
  24. package/src/xml_namespace.cc +158 -0
  25. package/src/xml_namespace.h +39 -0
  26. package/src/xml_node.cc +761 -0
  27. package/src/xml_node.h +73 -0
  28. package/src/xml_pi.cc +161 -0
  29. package/src/xml_pi.h +34 -0
  30. package/src/xml_sax_parser.cc +424 -0
  31. package/src/xml_sax_parser.h +73 -0
  32. package/src/xml_syntax_error.cc +66 -0
  33. package/src/xml_syntax_error.h +25 -0
  34. package/src/xml_text.cc +320 -0
  35. package/src/xml_text.h +48 -0
  36. package/src/xml_textwriter.cc +315 -0
  37. package/src/xml_textwriter.h +62 -0
  38. package/src/xml_xpath_context.cc +70 -0
  39. package/src/xml_xpath_context.h +23 -0
  40. package/vendor/libxml/Copyright +23 -0
  41. package/vendor/libxml/DOCBparser.c +305 -0
  42. package/vendor/libxml/HTMLparser.c +7287 -0
  43. package/vendor/libxml/HTMLtree.c +1200 -0
  44. package/vendor/libxml/Makefile +2983 -0
  45. package/vendor/libxml/SAX.c +180 -0
  46. package/vendor/libxml/SAX2.c +3036 -0
  47. package/vendor/libxml/buf.c +1351 -0
  48. package/vendor/libxml/buf.h +72 -0
  49. package/vendor/libxml/c14n.c +2234 -0
  50. package/vendor/libxml/catalog.c +3828 -0
  51. package/vendor/libxml/chvalid.c +336 -0
  52. package/vendor/libxml/config.h +294 -0
  53. package/vendor/libxml/config.h.gch +0 -0
  54. package/vendor/libxml/debugXML.c +3423 -0
  55. package/vendor/libxml/dict.c +1298 -0
  56. package/vendor/libxml/elfgcchack.h +17818 -0
  57. package/vendor/libxml/enc.h +32 -0
  58. package/vendor/libxml/encoding.c +3975 -0
  59. package/vendor/libxml/entities.c +1163 -0
  60. package/vendor/libxml/error.c +998 -0
  61. package/vendor/libxml/globals.c +1126 -0
  62. package/vendor/libxml/hash.c +1146 -0
  63. package/vendor/libxml/include/libxml/DOCBparser.h +96 -0
  64. package/vendor/libxml/include/libxml/HTMLparser.h +306 -0
  65. package/vendor/libxml/include/libxml/HTMLtree.h +147 -0
  66. package/vendor/libxml/include/libxml/Makefile +725 -0
  67. package/vendor/libxml/include/libxml/Makefile.am +54 -0
  68. package/vendor/libxml/include/libxml/Makefile.in +725 -0
  69. package/vendor/libxml/include/libxml/SAX.h +173 -0
  70. package/vendor/libxml/include/libxml/SAX2.h +178 -0
  71. package/vendor/libxml/include/libxml/c14n.h +128 -0
  72. package/vendor/libxml/include/libxml/catalog.h +182 -0
  73. package/vendor/libxml/include/libxml/chvalid.h +230 -0
  74. package/vendor/libxml/include/libxml/debugXML.h +217 -0
  75. package/vendor/libxml/include/libxml/dict.h +79 -0
  76. package/vendor/libxml/include/libxml/encoding.h +245 -0
  77. package/vendor/libxml/include/libxml/entities.h +151 -0
  78. package/vendor/libxml/include/libxml/globals.h +508 -0
  79. package/vendor/libxml/include/libxml/hash.h +236 -0
  80. package/vendor/libxml/include/libxml/list.h +137 -0
  81. package/vendor/libxml/include/libxml/nanoftp.h +163 -0
  82. package/vendor/libxml/include/libxml/nanohttp.h +81 -0
  83. package/vendor/libxml/include/libxml/parser.h +1243 -0
  84. package/vendor/libxml/include/libxml/parserInternals.h +644 -0
  85. package/vendor/libxml/include/libxml/pattern.h +100 -0
  86. package/vendor/libxml/include/libxml/relaxng.h +217 -0
  87. package/vendor/libxml/include/libxml/schemasInternals.h +958 -0
  88. package/vendor/libxml/include/libxml/schematron.h +142 -0
  89. package/vendor/libxml/include/libxml/threads.h +89 -0
  90. package/vendor/libxml/include/libxml/tree.h +1311 -0
  91. package/vendor/libxml/include/libxml/uri.h +94 -0
  92. package/vendor/libxml/include/libxml/valid.h +458 -0
  93. package/vendor/libxml/include/libxml/xinclude.h +129 -0
  94. package/vendor/libxml/include/libxml/xlink.h +189 -0
  95. package/vendor/libxml/include/libxml/xmlIO.h +368 -0
  96. package/vendor/libxml/include/libxml/xmlautomata.h +146 -0
  97. package/vendor/libxml/include/libxml/xmlerror.h +945 -0
  98. package/vendor/libxml/include/libxml/xmlexports.h +77 -0
  99. package/vendor/libxml/include/libxml/xmlmemory.h +224 -0
  100. package/vendor/libxml/include/libxml/xmlmodule.h +57 -0
  101. package/vendor/libxml/include/libxml/xmlreader.h +428 -0
  102. package/vendor/libxml/include/libxml/xmlregexp.h +222 -0
  103. package/vendor/libxml/include/libxml/xmlsave.h +88 -0
  104. package/vendor/libxml/include/libxml/xmlschemas.h +246 -0
  105. package/vendor/libxml/include/libxml/xmlschemastypes.h +151 -0
  106. package/vendor/libxml/include/libxml/xmlstring.h +140 -0
  107. package/vendor/libxml/include/libxml/xmlunicode.h +202 -0
  108. package/vendor/libxml/include/libxml/xmlversion.h +484 -0
  109. package/vendor/libxml/include/libxml/xmlwin32version.h +239 -0
  110. package/vendor/libxml/include/libxml/xmlwriter.h +488 -0
  111. package/vendor/libxml/include/libxml/xpath.h +564 -0
  112. package/vendor/libxml/include/libxml/xpathInternals.h +632 -0
  113. package/vendor/libxml/include/libxml/xpointer.h +114 -0
  114. package/vendor/libxml/include/win32config.h +122 -0
  115. package/vendor/libxml/include/wsockcompat.h +54 -0
  116. package/vendor/libxml/legacy.c +1343 -0
  117. package/vendor/libxml/libxml.h +134 -0
  118. package/vendor/libxml/list.c +779 -0
  119. package/vendor/libxml/nanoftp.c +2118 -0
  120. package/vendor/libxml/nanohttp.c +1899 -0
  121. package/vendor/libxml/parser.c +15553 -0
  122. package/vendor/libxml/parserInternals.c +2164 -0
  123. package/vendor/libxml/pattern.c +2621 -0
  124. package/vendor/libxml/relaxng.c +11101 -0
  125. package/vendor/libxml/rngparser.c +1595 -0
  126. package/vendor/libxml/runsuite.c +1157 -0
  127. package/vendor/libxml/save.h +36 -0
  128. package/vendor/libxml/schematron.c +1787 -0
  129. package/vendor/libxml/threads.c +1049 -0
  130. package/vendor/libxml/timsort.h +601 -0
  131. package/vendor/libxml/tree.c +10183 -0
  132. package/vendor/libxml/trio.c +6895 -0
  133. package/vendor/libxml/trio.h +230 -0
  134. package/vendor/libxml/triodef.h +228 -0
  135. package/vendor/libxml/trionan.c +914 -0
  136. package/vendor/libxml/trionan.h +84 -0
  137. package/vendor/libxml/triop.h +150 -0
  138. package/vendor/libxml/triostr.c +2112 -0
  139. package/vendor/libxml/triostr.h +144 -0
  140. package/vendor/libxml/uri.c +2561 -0
  141. package/vendor/libxml/valid.c +7138 -0
  142. package/vendor/libxml/xinclude.c +2657 -0
  143. package/vendor/libxml/xlink.c +183 -0
  144. package/vendor/libxml/xmlIO.c +4135 -0
  145. package/vendor/libxml/xmlcatalog.c +624 -0
  146. package/vendor/libxml/xmllint.c +3796 -0
  147. package/vendor/libxml/xmlmemory.c +1163 -0
  148. package/vendor/libxml/xmlmodule.c +468 -0
  149. package/vendor/libxml/xmlreader.c +6033 -0
  150. package/vendor/libxml/xmlregexp.c +8271 -0
  151. package/vendor/libxml/xmlsave.c +2735 -0
  152. package/vendor/libxml/xmlschemas.c +29173 -0
  153. package/vendor/libxml/xmlschemastypes.c +6276 -0
  154. package/vendor/libxml/xmlstring.c +1050 -0
  155. package/vendor/libxml/xmlunicode.c +3179 -0
  156. package/vendor/libxml/xmlwriter.c +4738 -0
  157. package/vendor/libxml/xpath.c +14734 -0
  158. package/vendor/libxml/xpointer.c +2969 -0
  159. package/vendor/libxml/xzlib.c +815 -0
  160. package/vendor/libxml/xzlib.h +19 -0
@@ -0,0 +1,239 @@
1
+ /*
2
+ * Summary: compile-time version information on Windows
3
+ * Description: compile-time version information for the XML library
4
+ * when compiled on the Windows platform
5
+ *
6
+ * Copy: See Copyright for the status of this software.
7
+ *
8
+ * Author: Daniel Veillard
9
+ */
10
+
11
+ #ifndef __XML_VERSION_H__
12
+ #define __XML_VERSION_H__
13
+
14
+ #ifdef __cplusplus
15
+ extern "C" {
16
+ #endif
17
+
18
+ /*
19
+ * use those to be sure nothing nasty will happen if
20
+ * your library and includes mismatch
21
+ */
22
+ #ifndef LIBXML2_COMPILING_MSCCDEF
23
+ extern void xmlCheckVersion(int version);
24
+ #endif /* LIBXML2_COMPILING_MSCCDEF */
25
+
26
+ /**
27
+ * LIBXML_DOTTED_VERSION:
28
+ *
29
+ * the version string like "1.2.3"
30
+ */
31
+ #define LIBXML_DOTTED_VERSION "2.4.26"
32
+
33
+ /**
34
+ * LIBXML_VERSION:
35
+ *
36
+ * the version number: 1.2.3 value is 1002003
37
+ */
38
+ #define LIBXML_VERSION 20426
39
+
40
+ /**
41
+ * LIBXML_VERSION_STRING:
42
+ *
43
+ * the version number string, 1.2.3 value is "1002003"
44
+ */
45
+ #define LIBXML_VERSION_STRING "20426"
46
+
47
+ /**
48
+ * LIBXML_TEST_VERSION:
49
+ *
50
+ * Macro to check that the libxml version in use is compatible with
51
+ * the version the software has been compiled against
52
+ */
53
+ #define LIBXML_TEST_VERSION xmlCheckVersion(20426);
54
+
55
+ #if 0
56
+ /**
57
+ * WITH_TRIO:
58
+ *
59
+ * defined if the trio support need to be configured in
60
+ */
61
+ #define WITH_TRIO
62
+ #else
63
+ /**
64
+ * WITHOUT_TRIO:
65
+ *
66
+ * defined if the trio support should not be configured in
67
+ */
68
+ #define WITHOUT_TRIO
69
+ #endif
70
+
71
+ /**
72
+ * LIBXML_THREAD_ENABLED:
73
+ *
74
+ * Whether the thread support is configured in
75
+ */
76
+ #if 0
77
+ #define LIBXML_THREAD_ENABLED
78
+ #endif
79
+
80
+ /**
81
+ * LIBXML_FTP_ENABLED:
82
+ *
83
+ * Whether the FTP support is configured in
84
+ */
85
+ #if 1
86
+ #define LIBXML_FTP_ENABLED
87
+ #endif
88
+
89
+ /**
90
+ * LIBXML_HTTP_ENABLED:
91
+ *
92
+ * Whether the HTTP support is configured in
93
+ */
94
+ #if 1
95
+ #define LIBXML_HTTP_ENABLED
96
+ #endif
97
+
98
+ /**
99
+ * LIBXML_HTML_ENABLED:
100
+ *
101
+ * Whether the HTML support is configured in
102
+ */
103
+ #if 1
104
+ #define LIBXML_HTML_ENABLED
105
+ #endif
106
+
107
+ /**
108
+ * LIBXML_CATALOG_ENABLED:
109
+ *
110
+ * Whether the Catalog support is configured in
111
+ */
112
+ #if 1
113
+ #define LIBXML_CATALOG_ENABLED
114
+ #endif
115
+
116
+ /**
117
+ * LIBXML_DOCB_ENABLED:
118
+ *
119
+ * Whether the SGML Docbook support is configured in
120
+ */
121
+ #if 1
122
+ #define LIBXML_DOCB_ENABLED
123
+ #endif
124
+
125
+ /**
126
+ * LIBXML_XPATH_ENABLED:
127
+ *
128
+ * Whether XPath is configured in
129
+ */
130
+ #if 1
131
+ #define LIBXML_XPATH_ENABLED
132
+ #endif
133
+
134
+ /**
135
+ * LIBXML_XPTR_ENABLED:
136
+ *
137
+ * Whether XPointer is configured in
138
+ */
139
+ #if 1
140
+ #define LIBXML_XPTR_ENABLED
141
+ #endif
142
+
143
+ /**
144
+ * LIBXML_C14N_ENABLED:
145
+ *
146
+ * Whether the Canonicalization support is configured in
147
+ */
148
+ #if 0
149
+ #define LIBXML_C14N_ENABLED
150
+ #endif
151
+
152
+ /**
153
+ * LIBXML_XINCLUDE_ENABLED:
154
+ *
155
+ * Whether XInclude is configured in
156
+ */
157
+ #if 1
158
+ #define LIBXML_XINCLUDE_ENABLED
159
+ #endif
160
+
161
+ /**
162
+ * LIBXML_ICONV_ENABLED:
163
+ *
164
+ * Whether iconv support is available
165
+ */
166
+ #if 0
167
+ #define LIBXML_ICONV_ENABLED
168
+ #endif
169
+
170
+ /**
171
+ * LIBXML_DEBUG_ENABLED:
172
+ *
173
+ * Whether Debugging module is configured in
174
+ */
175
+ #if 1
176
+ #define LIBXML_DEBUG_ENABLED
177
+ #endif
178
+
179
+ /**
180
+ * DEBUG_MEMORY_LOCATION:
181
+ *
182
+ * Whether the memory debugging is configured in
183
+ */
184
+ #if 0
185
+ #define DEBUG_MEMORY_LOCATION
186
+ #endif
187
+
188
+ /**
189
+ * LIBXML_DLL_IMPORT:
190
+ *
191
+ * Used on Windows (MS C compiler only) to declare a variable as
192
+ * imported from the library. This macro should be empty when compiling
193
+ * libxml itself. It should expand to __declspec(dllimport)
194
+ * when the client code includes this header, and that only if the client
195
+ * links dynamically against libxml.
196
+ * For this to work, we need three macros. One tells us which compiler is
197
+ * being used and luckily the compiler defines such a thing: _MSC_VER. The
198
+ * second macro tells us if we are compiling libxml or the client code and
199
+ * we define the macro IN_LIBXML on the compiler's command line for this
200
+ * purpose. The third macro, LIBXML_STATIC, must be defined by any client
201
+ * code which links against libxml statically.
202
+ */
203
+ #ifndef LIBXML_DLL_IMPORT
204
+ #if defined(_MSC_VER) && !defined(IN_LIBXML) && !defined(LIBXML_STATIC)
205
+ #define LIBXML_DLL_IMPORT __declspec(dllimport)
206
+ #else
207
+ #define LIBXML_DLL_IMPORT
208
+ #endif
209
+ #endif
210
+
211
+ /**
212
+ * ATTRIBUTE_UNUSED:
213
+ *
214
+ * Macro used to signal to GCC unused function parameters
215
+ */
216
+ #ifdef __GNUC__
217
+ #ifndef ATTRIBUTE_UNUSED
218
+ #define ATTRIBUTE_UNUSED
219
+ #endif
220
+ #else
221
+ #define ATTRIBUTE_UNUSED
222
+ #endif
223
+
224
+ /*
225
+ * #pragma comment(lib, "iconv.lib")
226
+ *
227
+ * pragma understood my MS compiler which enables a conditional link with
228
+ * iconv.
229
+ */
230
+ #ifdef _MSC_VER
231
+ #if defined LIBXML_ICONV_ENABLED && !defined LIBXML2_COMPILING_MSCCDEF
232
+ #pragma comment(lib, "iconv.lib")
233
+ #endif
234
+ #endif
235
+
236
+ #ifdef __cplusplus
237
+ }
238
+ #endif /* __cplusplus */
239
+ #endif