-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
105 lines (105 loc) · 2.58 KB
/
Copy pathpackage.json
File metadata and controls
105 lines (105 loc) · 2.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"name": "bytecode-c2",
"version": "1.1.1",
"description": "Tactical Infrastructure Monitoring & Command and Control System",
"main": "electron/main.js",
"bin": {
"bytecode-c2": "bin/bytecode.js"
},
"files": [
"bin/",
"server/src/",
"server/package.json",
"dashboard/dist/",
"electron/",
"agent/cmd/",
"agent/internal/",
"agent/go.mod",
"agent/go.sum"
],
"scripts": {
"start": "node bin/bytecode.js start",
"build": "cd dashboard && npm run build",
"prepublishOnly": "cd dashboard && npm install && npm run build",
"install-all": "npm install && cd server && npm install && cd ../dashboard && npm install",
"electron:dev": "npm run build && electron .",
"electron:kill": "powershell -Command \"taskkill /F /IM electron.exe /T\" 2>$null; exit 0",
"electron:restart": "npm run electron:kill && npm run electron:dev",
"electron:build": "npm run build && electron-builder build --win --publish never",
"electron:dist": "npm run build && electron-builder build --win --publish never"
},
"keywords": [
"c2",
"redteam",
"monitoring",
"infrastructure"
],
"author": "Antigravity",
"license": "MIT",
"dependencies": {
"bcryptjs": "^2.4.3",
"better-sqlite3": "^11.7.0",
"commander": "^11.1.0",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"express": "^4.21.0",
"jsonwebtoken": "^9.0.2",
"raw-body": "^3.0.0",
"uuid": "^14.0.0",
"ws": "^8.20.0"
},
"devDependencies": {
"cross-env": "^7.0.3",
"electron": "^33.4.11",
"electron-builder": "^25.1.8"
},
"build": {
"appId": "com.bytecode.c2",
"productName": "ByteCode",
"icon": "electron/assets/icon.png",
"directories": {
"output": "dist-electron"
},
"files": [
"electron/**/*",
"server/src/**/*",
"server/package.json",
"server/package-lock.json",
"dashboard/dist/**/*",
"package.json"
],
"extraResources": [
{
"from": "server/node_modules",
"to": "server/node_modules",
"filter": [
"**/*"
]
}
],
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
},
{
"target": "portable",
"arch": [
"x64"
]
}
],
"icon": "electron/assets/icon.png"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "ByteCode C2"
}
}
}