Repository navigation
Expand file tree
/
Copy pathcommand-ref.json
More file actions
408 lines (408 loc) · 11.6 KB
/
Copy pathcommand-ref.json
File metadata and controls
408 lines (408 loc) · 11.6 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
{
"generatedFrom": "lib/cli/reference.js COMMAND_GROUPS",
"version": "2.46.3",
"commandCount": 89,
"groups": [
{
"title": "AI & Nexus",
"commands": [
{
"usage": "nexus [opts] [task]",
"desc": "Nexus AI coder chat: -e claude|gemini|codex|opencode|aider|ollama, -y skip prompts, --print headless"
},
{
"usage": "nexus run \"<goal>\" [opts]",
"desc": "autonomous multi-level runner: -e engine, --overnight, --until, --resume"
},
{
"usage": "nexus serve [port]",
"desc": "headless Nexus service: POST /run {goal} (loopback-only, token-gated)"
},
{
"usage": "update [--check]",
"desc": "self-update to the latest version (git fast-forward; --check only reports)"
},
{
"usage": "init",
"desc": "scaffold Nexus in this project (.nexus/NEXUS.md + config)"
},
{
"usage": "docs [topic]",
"desc": "built-in Nexus documentation (docs all for everything)"
},
{
"usage": "report [--json] [--since <date>]",
"desc": "AI cost & usage report for chargeback (reads .nexus/usage.jsonl)"
},
{
"usage": "savings [--json] [--since <date>]",
"desc": "cost-savings analysis: run-rate, 30d projection, local/downshift levers"
},
{
"usage": "todo [TAG] [--max N] [--json]",
"desc": "scan the project for TODO/FIXME/HACK markers (CI gate)"
},
{
"usage": "stats [--json]",
"desc": "codebase overview: files, lines & languages, largest files"
},
{
"usage": "deps [--json] [--strict]",
"desc": "dependency hygiene: unused + undeclared imports (CI gate)"
},
{
"usage": "env [--json] [--strict]",
"desc": "env-var audit: code vs .env.example (undocumented/unused)"
},
{
"usage": "changelog [range] [--json]",
"desc": "release notes from git history, grouped by commit type"
},
{
"usage": "compliance [verify <file>]",
"desc": "signed audit+usage compliance bundle for SOC2/review"
}
]
},
{
"title": "API",
"commands": [
{
"usage": "api start [--port 8080] [--host 127.0.0.1]",
"desc": "start the REST API server (loopback unless --host)"
},
{
"usage": "api stop",
"desc": "stop the API server"
}
]
},
{
"title": "Setup & security",
"commands": [
{
"usage": "doctor",
"desc": "health check: engines, Ollama, models, MCP, policy, memory, disk"
},
{
"usage": "mcp [--list]",
"desc": "MCP server: the Darknode Deck's tools for any AI client (Claude, Cursor, Codex, Gemini...)"
},
{
"usage": "policy [init|--json]",
"desc": "show/scaffold the security policy (init writes a starter .nexus/policy.json)"
},
{
"usage": "audit [verify|--json]",
"desc": "show the audit trail; 'verify' checks the hash chain (exit 1 if tampered)"
},
{
"usage": "marketplace [list|install|init]",
"desc": "browse, install & publish agents, skills, hooks, pipelines"
},
{
"usage": "cron [list|add|remove|run]",
"desc": "scheduled pipeline runs (cron.json)"
},
{
"usage": "login [google|github|<code>]",
"desc": "sign in (paste your code from the website Settings)"
},
{
"usage": "setup <tool>",
"desc": "auto-configure a tool on first use"
}
]
},
{
"title": "Recon",
"commands": [
{
"usage": "scan <host> [ports]",
"desc": "TCP scan (ports: top | 1-1024 | 80,443)"
},
{
"usage": "dns <domain>",
"desc": "A / AAAA / MX / NS / TXT / CNAME + reverse"
},
{
"usage": "whois <domain|ip>",
"desc": "native WHOIS lookup"
},
{
"usage": "headers <url>",
"desc": "HTTP status + security-header check"
},
{
"usage": "cert <host>",
"desc": "TLS certificate inspector"
},
{
"usage": "subs <domain>",
"desc": "passive subdomain enum (crt.sh)"
},
{
"usage": "cve <keyword | CVE-id>",
"desc": "search the NVD vulnerability database"
},
{
"usage": "fuzz <url> [wordlist]",
"desc": "directory / content brute-forcer"
},
{
"usage": "nmap <host> [args]",
"desc": "system nmap wrapper (falls back to the native scanner)"
},
{
"usage": "nuclei <target> [args]",
"desc": "run projectdiscovery nuclei templates (if installed)"
},
{
"usage": "subrecon <domain>",
"desc": "chained recon: subs → resolve → live-HTTP probe"
}
]
},
{
"title": "Offensive",
"commands": [
{
"usage": "revshell <lang> <ip> <port>",
"desc": "reverse-shell one-liner"
},
{
"usage": "serve [port] [dir]",
"desc": "HTTP file server for payload delivery (default 8000)"
},
{
"usage": "listen [port]",
"desc": "TCP listener to catch a reverse shell (default 4444)"
},
{
"usage": "payloads [class]",
"desc": "payload library (sqli, xss, lfi, cmdi, ssti, ssrf)"
},
{
"usage": "hashcat <hashfile> <mode> [wl]",
"desc": "hashcat runner (run with no mode for the mode list)"
},
{
"usage": "lab [doctor|up <t>|sandbox|down|<id>]",
"desc": "security lab: isolated vulnerable targets + malware-detonation sandbox"
}
]
},
{
"title": "Encoding & hashing",
"commands": [
{
"usage": "encode <type> <text>",
"desc": "encode text (b64|hex|url|base32|base58|rot13)"
},
{
"usage": "decode <type> <text>",
"desc": "decode text (b64|hex|url|base32|base58|rot13)"
},
{
"usage": "hash <text>",
"desc": "md5 / sha1 / sha256 / sha512"
},
{
"usage": "hashfile <file>",
"desc": "md5 / sha1 / sha256 / sha512 of a file"
},
{
"usage": "hashid <hash>",
"desc": "identify a hash type"
},
{
"usage": "hexdump <text>",
"desc": "canonical hex + ASCII dump (aliases: xxd, hd)"
},
{
"usage": "strings [-n min] <text>",
"desc": "extract printable runs from input"
},
{
"usage": "rot [n] <text>",
"desc": "Caesar / ROT-N cipher (default 13)"
},
{
"usage": "xor <key> <text> | -d <key> <hex>",
"desc": "repeating-key XOR (encrypt to hex / decrypt)"
},
{
"usage": "genpass [length]",
"desc": "generate a strong random password (default 20)"
},
{
"usage": "defang <ioc>",
"desc": "neutralize a URL/IP/email for safe pasting (hxxp, [.])"
},
{
"usage": "refang <text>",
"desc": "reverse defang"
}
]
},
{
"title": "Network & analysis",
"commands": [
{
"usage": "entropy <string>",
"desc": "Shannon entropy — flag high-entropy secrets/keys"
},
{
"usage": "epoch [ts|date]",
"desc": "unix timestamp <-> ISO/UTC (no arg = now)"
},
{
"usage": "incidr <ip> <cidr>",
"desc": "is an IP inside a CIDR range? (firewall/allowlist checks)"
},
{
"usage": "port <number|service>",
"desc": "port <-> service lookup (both directions)"
},
{
"usage": "passphrase [count]",
"desc": "memorable diceware passphrase (default 4 words)"
},
{
"usage": "url <url>",
"desc": "break a URL into scheme/host/port/path/query/fragment"
},
{
"usage": "totp <base32-secret>",
"desc": "generate a 2FA (TOTP) code from a secret"
},
{
"usage": "useragent <ua-string>",
"desc": "parse a User-Agent (browser / OS / device / bot)"
},
{
"usage": "cidr <a.b.c.d/xx>",
"desc": "subnet calculator (range, hosts, mask)"
},
{
"usage": "ipclass <ip>",
"desc": "classify an IP scope (private/loopback/CGNAT/global) — offline"
},
{
"usage": "luhn <number>",
"desc": "validate a Luhn (mod-10) number; append '?' for the check digit"
},
{
"usage": "jwt <token>",
"desc": "decode a JWT header + payload"
},
{
"usage": "dorks <domain>",
"desc": "print Google dork search URLs for a domain"
},
{
"usage": "uuid",
"desc": "generate a random UUID v4"
},
{
"usage": "myip",
"desc": "show your public IP address"
},
{
"usage": "ipinfo <ip>",
"desc": "geolocate an IP (city, ISP, ASN)"
},
{
"usage": "status <code>",
"desc": "look up an HTTP status code"
}
]
},
{
"title": "Git",
"commands": [
{
"usage": "git clone <url>",
"desc": "clone a repo (DARKNODE_GH_TOKEN for private)"
},
{
"usage": "git push [message]",
"desc": "commit all changes + push"
},
{
"usage": "git pull",
"desc": "pull the latest changes"
},
{
"usage": "git status",
"desc": "working-tree status"
},
{
"usage": "git log",
"desc": "recent commits"
},
{
"usage": "git diff [file]",
"desc": "working-tree diff"
},
{
"usage": "git branch",
"desc": "list branches"
},
{
"usage": "git checkout <branch>",
"desc": "switch branch"
},
{
"usage": "git repos",
"desc": "list your repositories"
},
{
"usage": "git new <name>",
"desc": "create a private repo"
},
{
"usage": "git issues <owner/repo>",
"desc": "list open issues"
},
{
"usage": "git prs <owner/repo>",
"desc": "list open pull requests"
},
{
"usage": "git issue <owner/repo> \"title\"",
"desc": "create an issue"
},
{
"usage": "git pr \"title\" [base]",
"desc": "open a PR from the current branch"
},
{
"usage": "git comment <owner/repo> <n> \"…\"",
"desc": "comment on an issue/PR"
},
{
"usage": "git gists",
"desc": "list your gists"
},
{
"usage": "git gist <file> [description]",
"desc": "create a gist from a file"
}
]
},
{
"title": "Reference",
"commands": [
{
"usage": "cheats [topic]",
"desc": "__CHEATS__"
},
{
"usage": "tools",
"desc": "tool catalog + install commands"
}
]
}
]
}