@eyeauras/insight-cli 0.6.2 → 0.6.4
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.
- package/.cli-package-build.json +1 -1
- package/SKILL.md +1 -1
- package/dist/src/contexts.d.ts +9 -0
- package/dist/src/contexts.js +120 -12
- package/dist/src/lifecycle.d.ts +2 -0
- package/dist/src/lifecycle.js +49 -2
- package/dist/src/research.d.ts +4 -0
- package/dist/src/storage-gc.js +4 -0
- package/dist/src/workspace.d.ts +4 -0
- package/dist/src/workspace.js +18 -6
- package/package.json +1 -1
- package/references/native/InsightNativeCheckout.java +29 -1
- package/skill-bundle/insight-artifacts/SKILL.md +1 -1
- package/skill-bundle/insight-binary/SKILL.md +1 -1
- package/skill-bundle/insight-capture/SKILL.md +1 -1
- package/skill-bundle/insight-cli/SKILL.md +1 -1
- package/skill-bundle/insight-die/SKILL.md +1 -1
- package/skill-bundle/insight-dnspy/SKILL.md +1 -1
- package/skill-bundle/insight-dotnet-dump/SKILL.md +1 -1
- package/skill-bundle/insight-dotnet-stack/SKILL.md +1 -1
- package/skill-bundle/insight-dotnet-trace/SKILL.md +1 -1
- package/skill-bundle/insight-frida/SKILL.md +1 -1
- package/skill-bundle/insight-ghidra/SKILL.md +1 -1
- package/skill-bundle/insight-ilspy/SKILL.md +1 -1
- package/skill-bundle/insight-interop/SKILL.md +1 -1
- package/skill-bundle/insight-lldb/SKILL.md +1 -1
- package/skill-bundle/insight-llvm/SKILL.md +1 -1
- package/skill-bundle/insight-managed-heap/SKILL.md +1 -1
- package/skill-bundle/insight-managed-metadata/SKILL.md +1 -1
- package/skill-bundle/insight-mitmproxy/SKILL.md +1 -1
- package/skill-bundle/insight-overview/SKILL.md +1 -1
- package/skill-bundle/insight-procmon/SKILL.md +1 -1
- package/skill-bundle/insight-re/SKILL.md +1 -1
- package/skill-bundle/insight-sevenzip/SKILL.md +1 -1
- package/skill-bundle/insight-strace/SKILL.md +1 -1
- package/skill-bundle/insight-tshark/SKILL.md +1 -1
- package/skill-bundle/insight-windbg/SKILL.md +1 -1
- package/skill-bundle/manifest.json +1 -1
- package/skills/insight-artifacts/SKILL.md +1 -1
- package/skills/insight-binary/SKILL.md +1 -1
- package/skills/insight-capture/SKILL.md +1 -1
- package/skills/insight-die/SKILL.md +1 -1
- package/skills/insight-dnspy/SKILL.md +1 -1
- package/skills/insight-dotnet-dump/SKILL.md +1 -1
- package/skills/insight-dotnet-stack/SKILL.md +1 -1
- package/skills/insight-dotnet-trace/SKILL.md +1 -1
- package/skills/insight-frida/SKILL.md +1 -1
- package/skills/insight-ghidra/SKILL.md +1 -1
- package/skills/insight-ilspy/SKILL.md +1 -1
- package/skills/insight-interop/SKILL.md +1 -1
- package/skills/insight-lldb/SKILL.md +1 -1
- package/skills/insight-llvm/SKILL.md +1 -1
- package/skills/insight-managed-heap/SKILL.md +1 -1
- package/skills/insight-managed-metadata/SKILL.md +1 -1
- package/skills/insight-mitmproxy/SKILL.md +1 -1
- package/skills/insight-overview/SKILL.md +1 -1
- package/skills/insight-procmon/SKILL.md +1 -1
- package/skills/insight-re/SKILL.md +1 -1
- package/skills/insight-sevenzip/SKILL.md +1 -1
- package/skills/insight-strace/SKILL.md +1 -1
- package/skills/insight-tshark/SKILL.md +1 -1
- package/skills/insight-windbg/SKILL.md +1 -1
package/.cli-package-build.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":1,"artifact":"
|
|
1
|
+
{"version":1,"artifact":"ce6f430f05ce42ee60d9d43ddf0f5bb7eeaeaa4406e3af9a2e809837901f85aa"}
|
package/SKILL.md
CHANGED
|
@@ -3,7 +3,7 @@ name: insight-cli
|
|
|
3
3
|
description: Choose and prepare reverse-engineering capabilities from the insight-cli toolbox for binary, managed-code and runtime investigations. Use to discover the appropriate tool or its packaged skill before installing native runtimes.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# insight-cli 0.6.
|
|
6
|
+
# insight-cli 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
package/dist/src/contexts.d.ts
CHANGED
|
@@ -145,6 +145,9 @@ export declare class GhidraContexts {
|
|
|
145
145
|
private neverStartedOrClosed;
|
|
146
146
|
/** A pending checkout intent may own a server checkout, so it is never treated as detached work. */
|
|
147
147
|
detachedStopped(scope: Scope): Promise<boolean>;
|
|
148
|
+
/** Absence is proved by the owned storage that remains: nothing of the context may survive beside the lost root. */
|
|
149
|
+
missingCheckout(scope: Scope): Promise<NativeCheckout>;
|
|
150
|
+
abandonMissing(scope: Scope, check: boolean): Promise<void>;
|
|
148
151
|
collect(dryRun: boolean): Promise<{
|
|
149
152
|
retained: {
|
|
150
153
|
path: string;
|
|
@@ -220,6 +223,12 @@ export declare class GhidraContexts {
|
|
|
220
223
|
projectOutcome(requestId: string, expected: Record<string, unknown>): Promise<Record<string, unknown> | undefined>;
|
|
221
224
|
private debuggerMetadataChanges;
|
|
222
225
|
close(scope: Scope): Promise<void>;
|
|
226
|
+
/**
|
|
227
|
+
* The worker that last used a context root. A start records process.json first and current.json only once its
|
|
228
|
+
* program is open, so a failed start leaves an older current receipt. It is superseded only by a receipt of the
|
|
229
|
+
* same context and root, and only after the older worker is proved gone.
|
|
230
|
+
*/
|
|
231
|
+
private lastWorker;
|
|
223
232
|
closed(scope: Scope): Promise<boolean>;
|
|
224
233
|
latest(targetId: string): Promise<{
|
|
225
234
|
revision: number;
|
package/dist/src/contexts.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { migrateLegacy } from './legacy-migration.js';
|
|
1
|
+
import { migrateLegacy, migrationProcessBlockers } from './legacy-migration.js';
|
|
2
2
|
import { collectStorage } from './storage-gc.js';
|
|
3
3
|
import { ownedDirectory, projectPathWithin, sameDirectory } from './directory-identity.js';
|
|
4
4
|
import { releaseStoppedContextCredential, launchContextCredential } from './context-credential.js';
|
|
@@ -10,7 +10,7 @@ import { verifyGhidraProcess } from './ghidra-processes.js';
|
|
|
10
10
|
import { processIdentity } from './tool-runtime/identity.js';
|
|
11
11
|
import { runtimeProcesses } from './runtime-manager.js';
|
|
12
12
|
import { randomUUID, randomBytes } from 'node:crypto';
|
|
13
|
-
import { mkdir, mkdtemp, open, readFile, readdir, rename, link, realpath, copyFile, chmod, writeFile, unlink } from 'node:fs/promises';
|
|
13
|
+
import { mkdir, mkdtemp, open, readFile, readdir, lstat, rename, link, realpath, copyFile, chmod, writeFile, unlink } from 'node:fs/promises';
|
|
14
14
|
import { constants } from 'node:fs';
|
|
15
15
|
import { join, delimiter, resolve, dirname, basename } from 'node:path';
|
|
16
16
|
import { createServer } from 'node:net';
|
|
@@ -790,6 +790,81 @@ export class GhidraContexts {
|
|
|
790
790
|
return false;
|
|
791
791
|
return this.neverStartedOrClosed(context);
|
|
792
792
|
}
|
|
793
|
+
/** Absence is proved by the owned storage that remains: nothing of the context may survive beside the lost root. */
|
|
794
|
+
async missingCheckout(scope) {
|
|
795
|
+
const context = this.workspace.context(scope), checkout = context.nativeCheckout, contexts = join(this.directory(), 'context'), parent = join(contexts, context.id);
|
|
796
|
+
if (!checkout || checkout.state === 'dropped')
|
|
797
|
+
fail('unsupported', 'This context has no retained native checkout.');
|
|
798
|
+
const name = basename(checkout.root);
|
|
799
|
+
if (basename(dirname(checkout.root)) !== context.id)
|
|
800
|
+
fail('binding', 'Native checkout receipt names a directory outside this context.');
|
|
801
|
+
if (await realpath(contexts) !== join(await realpath(this.workspace.directory), 'ghidra-native', 'context'))
|
|
802
|
+
fail('binding', 'Owned context storage moved.');
|
|
803
|
+
const absent = async (path) => { try {
|
|
804
|
+
await lstat(path);
|
|
805
|
+
return false;
|
|
806
|
+
}
|
|
807
|
+
catch (error) {
|
|
808
|
+
if (error.code === 'ENOENT')
|
|
809
|
+
return true;
|
|
810
|
+
throw error;
|
|
811
|
+
} };
|
|
812
|
+
if (!await absent(checkout.root) || !await absent(join(parent, name)))
|
|
813
|
+
fail('blocked', 'The native checkout project still exists; it is not lost.');
|
|
814
|
+
// Only receipts of the lost root may remain beside it, and its last worker must be gone.
|
|
815
|
+
if (!await absent(parent))
|
|
816
|
+
for (const entry of await readdir(parent, { withFileTypes: true })) {
|
|
817
|
+
if (!entry.isFile() || !['checkout.json', 'current.json'].includes(entry.name))
|
|
818
|
+
fail('blocked', 'Other retained data of this context still exists; its checkout is not proved lost.');
|
|
819
|
+
const receipt = object(JSON.parse(await readFile(join(parent, entry.name), 'utf8')));
|
|
820
|
+
if (typeof receipt.root !== 'string' || basename(receipt.root) !== name || basename(dirname(receipt.root)) !== context.id)
|
|
821
|
+
fail('blocked', 'A retained receipt names another project of this context.');
|
|
822
|
+
if (entry.name === 'current.json' && (!Number.isSafeInteger(receipt.pid) || alive(Number(receipt.pid))))
|
|
823
|
+
fail('busy', 'The last worker of this context is not proved stopped.');
|
|
824
|
+
}
|
|
825
|
+
// A project renamed inside owned storage keeps its owner receipt.
|
|
826
|
+
for (const owner of await readdir(contexts, { withFileTypes: true }))
|
|
827
|
+
if (owner.isDirectory())
|
|
828
|
+
for (const root of await readdir(join(contexts, owner.name), { withFileTypes: true }))
|
|
829
|
+
if (root.isDirectory()) {
|
|
830
|
+
let value;
|
|
831
|
+
try {
|
|
832
|
+
value = JSON.parse(await readFile(join(contexts, owner.name, root.name, 'native-owner.json'), 'utf8'));
|
|
833
|
+
}
|
|
834
|
+
catch (error) {
|
|
835
|
+
if (error.code === 'ENOENT')
|
|
836
|
+
continue;
|
|
837
|
+
throw error;
|
|
838
|
+
}
|
|
839
|
+
if (object(value).context === context.id)
|
|
840
|
+
fail('blocked', 'A project of this context still exists under another name; restore its directory.');
|
|
841
|
+
}
|
|
842
|
+
const process = await runtimeProcesses(dirname(this.workspace.directory));
|
|
843
|
+
if (this.capacity.slots.has(context.id) || process.some(p => p.kind !== 'server') || (await migrationProcessBlockers(this.c.appArguments.AppDataDirectory)).length)
|
|
844
|
+
fail('busy', 'Stop or reconcile every Ghidra worker and native helper before giving up a missing checkout.');
|
|
845
|
+
return checkout;
|
|
846
|
+
}
|
|
847
|
+
async abandonMissing(scope, check) {
|
|
848
|
+
const checkout = await this.missingCheckout(scope), context = this.workspace.context(scope), server = this.server(), binding = await server.ensure();
|
|
849
|
+
if (checkout.origin !== binding.origin || checkout.repository !== binding.repository || checkout.path !== programPath(scope.target))
|
|
850
|
+
fail('binding', 'Native checkout server binding changed.');
|
|
851
|
+
const value = await server.nativeCheckout(binding, { root: checkout.root, operation: 'abandon', check, fileId: checkout.fileId, checkoutId: checkout.checkoutId, baseVersion: checkout.baseVersion,
|
|
852
|
+
owner: { protocol: this.nativeEngine, context: context.id, target: scope.target, path: checkout.path, repository: checkout.repository } });
|
|
853
|
+
if (value.state !== (check ? 'endable' : 'abandoned'))
|
|
854
|
+
fail('unknown', 'The server checkout is not proved ended; repeat this command.');
|
|
855
|
+
if (check)
|
|
856
|
+
return;
|
|
857
|
+
// Receipts of the lost root would otherwise be read as an unproved worker; they stay as evidence.
|
|
858
|
+
const kept = join(this.workspace.directory, 'native-discards', scope.target);
|
|
859
|
+
await mkdir(kept, { recursive: true, mode: 0o700 });
|
|
860
|
+
try {
|
|
861
|
+
await rename(join(this.directory(), 'context', context.id), join(kept, context.id + '-receipts-' + randomUUID()));
|
|
862
|
+
}
|
|
863
|
+
catch (error) {
|
|
864
|
+
if (error.code !== 'ENOENT')
|
|
865
|
+
throw error;
|
|
866
|
+
}
|
|
867
|
+
}
|
|
793
868
|
async collect(dryRun) {
|
|
794
869
|
return collectStorage(this.workspace, { closed: c => this.neverStartedOrClosed(c), release: c => this.releaseUnchanged(c) }, dryRun, message => this.c.progress(message));
|
|
795
870
|
}
|
|
@@ -873,9 +948,9 @@ export class GhidraContexts {
|
|
|
873
948
|
const context = this.workspace.context(scope), target = this.workspace.target(scope.target);
|
|
874
949
|
if (this.workspace.unresolved(scope).some(intent => intent.id !== request && intent.operation !== 'ghidra.open'))
|
|
875
950
|
fail('blocked', 'This context retains an unresolved operation; reconcile its recorded outcome before continuing.');
|
|
876
|
-
let binding;
|
|
951
|
+
let binding, unfinished = false;
|
|
877
952
|
try {
|
|
878
|
-
binding =
|
|
953
|
+
({ binding, unfinished } = await this.lastWorker(context.id));
|
|
879
954
|
}
|
|
880
955
|
catch (error) {
|
|
881
956
|
if (error.code !== 'ENOENT')
|
|
@@ -894,12 +969,14 @@ export class GhidraContexts {
|
|
|
894
969
|
}
|
|
895
970
|
if (context.workingSnapshot && !context.nativeCheckout)
|
|
896
971
|
fail('migration', 'This context contains legacy detached work; run ghidra migrate --target ' + scope.target + ' --dry-run, then ghidra migrate --target ' + scope.target + '. Its data is retained.');
|
|
897
|
-
if (binding && !stopped && alive(binding.pid) && (
|
|
972
|
+
if (binding && unfinished && !stopped && alive(binding.pid) && !await this.retiredWorker(binding))
|
|
973
|
+
fail('busy', 'A worker of this context has not finished starting; it is retained.');
|
|
974
|
+
if (binding && !unfinished && !stopped && alive(binding.pid) && ((binding.viewEpoch ?? 0) !== (context.viewEpoch ?? 0) ||
|
|
898
975
|
binding.baseRevision !== context.baseRevision && context.baseRevision !== undefined)) {
|
|
899
976
|
await this.stopRecord(await this.verified(binding, target), true, false, 'view_replaced');
|
|
900
977
|
stopped = true;
|
|
901
978
|
}
|
|
902
|
-
if (binding && !stopped && alive(binding.pid)) {
|
|
979
|
+
if (binding && !unfinished && !stopped && alive(binding.pid)) {
|
|
903
980
|
if (binding.context !== context.id)
|
|
904
981
|
fail('binding', 'Native process belongs to a different working context.');
|
|
905
982
|
try {
|
|
@@ -918,7 +995,7 @@ export class GhidraContexts {
|
|
|
918
995
|
await this.model(target);
|
|
919
996
|
if (binding && !stopped && !alive(binding.pid))
|
|
920
997
|
await recordLifecycle(this.workspace, context.id, { at: new Date().toISOString(), event: 'stop', reason: 'unknown', pid: binding.pid });
|
|
921
|
-
if (binding && (stopped || !alive(binding.pid))) {
|
|
998
|
+
if (binding && (stopped || unfinished || !alive(binding.pid))) {
|
|
922
999
|
if (binding.context !== context.id || binding.target !== scope.target)
|
|
923
1000
|
fail('binding', 'Retired native credential belongs to another context.');
|
|
924
1001
|
await releaseStoppedContextCredential(this.directory(), binding, this.c.secrets, alive, () => this.retiredWorker(binding));
|
|
@@ -1433,9 +1510,32 @@ public class ${name} extends GhidraScript {
|
|
|
1433
1510
|
this.workspace.saveContext(scope, context.generation, { state: 'stopped', workingSnapshot: snapshot, complexChanges, ...(debuggerState ? { debugger: { ...debuggerState, connected: false, traces: debuggerState.traces.map(trace => ({ ...trace, connected: false })) } } : {}) });
|
|
1434
1511
|
await this.stopRecord(record, true, true, 'explicit_close');
|
|
1435
1512
|
}
|
|
1513
|
+
/**
|
|
1514
|
+
* The worker that last used a context root. A start records process.json first and current.json only once its
|
|
1515
|
+
* program is open, so a failed start leaves an older current receipt. It is superseded only by a receipt of the
|
|
1516
|
+
* same context and root, and only after the older worker is proved gone.
|
|
1517
|
+
*/
|
|
1518
|
+
async lastWorker(context) {
|
|
1519
|
+
const binding = JSON.parse(await readFile(join(this.directory(), 'context', context, 'current.json'), 'utf8'));
|
|
1520
|
+
let started;
|
|
1521
|
+
try {
|
|
1522
|
+
started = JSON.parse(await readFile(join(binding.root, 'process.json'), 'utf8'));
|
|
1523
|
+
}
|
|
1524
|
+
catch (error) {
|
|
1525
|
+
if (error.code === 'ENOENT')
|
|
1526
|
+
return { binding, unfinished: false };
|
|
1527
|
+
throw error;
|
|
1528
|
+
}
|
|
1529
|
+
const identity = (b) => stable({ context: b.context ?? null, target: b.target, session: b.session ?? null, kind: b.kind, root: b.root, program: b.program });
|
|
1530
|
+
if (stable(started) === stable(binding) || binding.context !== context || identity(started) !== identity(binding) ||
|
|
1531
|
+
!Number.isSafeInteger(started.pid) || started.pid < 1 || !started.tokenSecret || started.tokenSecret === binding.tokenSecret ||
|
|
1532
|
+
alive(binding.pid) && !await this.retiredWorker(binding))
|
|
1533
|
+
return { binding, unfinished: false };
|
|
1534
|
+
return { binding: started, unfinished: true };
|
|
1535
|
+
}
|
|
1436
1536
|
async closed(scope) {
|
|
1437
|
-
const context = this.workspace.context(scope)
|
|
1438
|
-
const binding =
|
|
1537
|
+
const context = this.workspace.context(scope);
|
|
1538
|
+
const { binding, unfinished } = await this.lastWorker(context.id), root = await realpath(binding.root);
|
|
1439
1539
|
if (!ownedDirectory(root, this.directory(), [binding.kind, binding.context ?? binding.target, basename(root)]) || binding.context !== context.id || binding.target !== scope.target ||
|
|
1440
1540
|
stable(JSON.parse(await readFile(join(root, 'process.json'), 'utf8'))) !== stable(binding))
|
|
1441
1541
|
fail('binding', 'Closed context receipt changed.');
|
|
@@ -1450,8 +1550,10 @@ public class ${name} extends GhidraScript {
|
|
|
1450
1550
|
if (error.code !== 'ENOENT')
|
|
1451
1551
|
throw error;
|
|
1452
1552
|
}
|
|
1453
|
-
if (!alive(binding.pid))
|
|
1553
|
+
if (!alive(binding.pid) || unfinished && await this.retiredWorker(binding))
|
|
1454
1554
|
return true;
|
|
1555
|
+
if (unfinished)
|
|
1556
|
+
return false;
|
|
1455
1557
|
await this.verified(binding, this.workspace.target(scope.target));
|
|
1456
1558
|
return false;
|
|
1457
1559
|
}
|
|
@@ -1611,9 +1713,9 @@ public class ${name} extends GhidraScript {
|
|
|
1611
1713
|
for (const entry of entries) {
|
|
1612
1714
|
if (!entry.isDirectory())
|
|
1613
1715
|
continue;
|
|
1614
|
-
let binding;
|
|
1716
|
+
let binding, unfinished = false;
|
|
1615
1717
|
try {
|
|
1616
|
-
binding =
|
|
1718
|
+
({ binding, unfinished } = await this.lastWorker(entry.name));
|
|
1617
1719
|
}
|
|
1618
1720
|
catch (error) {
|
|
1619
1721
|
if (error.code === 'ENOENT')
|
|
@@ -1632,6 +1734,12 @@ public class ${name} extends GhidraScript {
|
|
|
1632
1734
|
throw error;
|
|
1633
1735
|
}
|
|
1634
1736
|
if (!stopped && alive(binding.pid)) {
|
|
1737
|
+
// An unfinished start is never adopted; its own context reports it, others keep working.
|
|
1738
|
+
if (unfinished) {
|
|
1739
|
+
if (!await this.retiredWorker(binding))
|
|
1740
|
+
this.capacity.slots.add(entry.name);
|
|
1741
|
+
continue;
|
|
1742
|
+
}
|
|
1635
1743
|
if (binding.mode === 'headless' && await this.retiredInventoryWorker(binding))
|
|
1636
1744
|
continue;
|
|
1637
1745
|
// A replacement owner must also release contexts it has not read yet.
|
package/dist/src/lifecycle.d.ts
CHANGED
|
@@ -59,6 +59,8 @@ export declare class Lifecycle {
|
|
|
59
59
|
discard(selected: Scope, callerId?: string): Promise<unknown>;
|
|
60
60
|
/** Gives up detached work that has no native continuation. Nothing is replayed or published; a journal keeps its identity. */
|
|
61
61
|
discardLegacy(selected: Scope, acknowledged: boolean, callerId?: string): Promise<unknown>;
|
|
62
|
+
/** Gives up a native checkout whose project no longer exists. Only its exact server checkout is ended. */
|
|
63
|
+
discardMissing(selected: Scope, acknowledged: boolean, callerId?: string): Promise<unknown>;
|
|
62
64
|
saveAll(session: string, callerId?: string): Promise<unknown>;
|
|
63
65
|
}
|
|
64
66
|
export declare function lifecycleCommands(service: (context: CommandContext) => Lifecycle, runtimeStatus?: (context: CommandContext) => Promise<unknown>): CommandDefinition[];
|
package/dist/src/lifecycle.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { command, Permission, CliError } from '@eyeauras/cli-factory';
|
|
2
2
|
import { scope } from './research.js';
|
|
3
|
-
import { legacyDiscardOperation } from './workspace.js';
|
|
3
|
+
import { legacyDiscardOperation, missingDiscardOperation } from './workspace.js';
|
|
4
4
|
import { id, fail, object, digest } from './model.js';
|
|
5
5
|
import { selectedOptions } from './arguments.js';
|
|
6
6
|
import { mkdir } from 'node:fs/promises';
|
|
@@ -183,6 +183,52 @@ export class Lifecycle {
|
|
|
183
183
|
discardedRequests: unresolved.map(pending => pending.callerId ?? pending.id), ...(current.workingSnapshot ? { discardedSha256: current.workingSnapshot.sha256 } : {}), pendingChanges: 0 });
|
|
184
184
|
});
|
|
185
185
|
}
|
|
186
|
+
/** Gives up a native checkout whose project no longer exists. Only its exact server checkout is ended. */
|
|
187
|
+
async discardMissing(selected, acknowledged, callerId) {
|
|
188
|
+
if (!acknowledged)
|
|
189
|
+
fail('invalid', 'Explicit --acknowledge-lost-work is required.');
|
|
190
|
+
const reserved = this.workspace.reserveRequest(selected, missingDiscardOperation, {}, callerId);
|
|
191
|
+
return this.research.ordered(selected, async () => {
|
|
192
|
+
const request = this.workspace.request(reserved.request.id);
|
|
193
|
+
if (request.state === 'applied')
|
|
194
|
+
return request.result;
|
|
195
|
+
// Ending the recorded checkout is idempotent, so an interrupted run is simply repeated.
|
|
196
|
+
if (!['accepted', 'running'].includes(request.state))
|
|
197
|
+
fail('unknown', 'Missing checkout discard did not complete; repeat it with a new request.', request.result);
|
|
198
|
+
const current = this.workspace.context(selected), backend = await this.backend();
|
|
199
|
+
let checkout;
|
|
200
|
+
try {
|
|
201
|
+
if (this.workspace.activePublication(selected.target))
|
|
202
|
+
fail('blocked', 'Publication must be reconciled before discarding a missing checkout.');
|
|
203
|
+
if (this.workspace.model(selected.target).state !== 'ready')
|
|
204
|
+
fail('blocked', 'Initial publication of this model must be reconciled before discarding a missing checkout.');
|
|
205
|
+
if (current.debugger?.connected)
|
|
206
|
+
fail('busy', 'Close the live debugger context before discarding it.');
|
|
207
|
+
if (this.workspace.checkoutReferenced(current))
|
|
208
|
+
fail('blocked', 'An unresolved operation in another context references this checkout.');
|
|
209
|
+
if (!backend.missingCheckout || !backend.abandonMissing)
|
|
210
|
+
fail('unsupported', 'The selected backend cannot give up a missing native checkout.');
|
|
211
|
+
checkout = await backend.missingCheckout(selected);
|
|
212
|
+
if (request.state === 'accepted')
|
|
213
|
+
await backend.abandonMissing(selected, true);
|
|
214
|
+
}
|
|
215
|
+
catch (error) {
|
|
216
|
+
// Nothing was changed, so a refused intent must not block a restored project.
|
|
217
|
+
if (request.state === 'accepted')
|
|
218
|
+
this.workspace.recordRequest(request.id, 'failed', { ...selected, state: 'not_discarded' });
|
|
219
|
+
throw error;
|
|
220
|
+
}
|
|
221
|
+
const unresolved = this.workspace.unfinished(selected).filter(pending => pending.id !== request.id);
|
|
222
|
+
const root = join(this.workspace.directory, 'native-discards', selected.target);
|
|
223
|
+
await mkdir(root, { recursive: true, mode: 0o700 });
|
|
224
|
+
await migrationDurable(join(root, current.id + '-' + request.id + '.json'), { schema: 1, request: request.id, original: current, unresolved });
|
|
225
|
+
if (request.state === 'accepted')
|
|
226
|
+
this.workspace.startRequest(request.id, { kind: 'missing-discard', generation: current.generation, checkout });
|
|
227
|
+
await backend.abandonMissing(selected, false);
|
|
228
|
+
return this.workspace.discardMissing(selected, request.id, current.generation, { ...selected, state: 'discarded', discardedChanges: current.scalars.length + current.complexChanges.length,
|
|
229
|
+
discardedRequests: unresolved.map(pending => pending.callerId ?? pending.id), checkoutId: checkout.checkoutId, pendingChanges: 0 });
|
|
230
|
+
});
|
|
231
|
+
}
|
|
186
232
|
async saveAll(session, callerId) {
|
|
187
233
|
this.workspace.session(session);
|
|
188
234
|
const reserved = this.workspace.reserveAdministration('session.ghidra.save', { session }, callerId), request = this.workspace.administration(reserved.request.id);
|
|
@@ -226,7 +272,8 @@ export class Lifecycle {
|
|
|
226
272
|
export function lifecycleCommands(service, runtimeStatus) {
|
|
227
273
|
return [command('changes', 'Manage unpublished edits in the selected context', [
|
|
228
274
|
command('discard', 'Retain native keep data, discard private edits and check out the current server version', ({ options: o }, c) => service(c).discard(scope(o), o.requestId === undefined ? undefined : id(o.requestId)), { permission: 'Destructive', options: [...selectedOptions, { flags: '--request-id <id>', description: 'Retrieve the same local discard result' }] }),
|
|
229
|
-
command('discard-legacy', 'Give up detached work of an older engine; gc then reclaims it and the next open starts a native checkout', ({ options: o }, c) => service(c).discardLegacy(scope(o), Boolean(o.acknowledgeLostWork), o.requestId === undefined ? undefined : id(o.requestId)), { permission: 'Destructive', options: [...selectedOptions, { flags: '--acknowledge-lost-work', description: 'Accept that unpublished edits and unknown outcomes of this context are dropped' }, { flags: '--request-id <id>', description: 'Retrieve the same discard result' }] })
|
|
275
|
+
command('discard-legacy', 'Give up detached work of an older engine; gc then reclaims it and the next open starts a native checkout', ({ options: o }, c) => service(c).discardLegacy(scope(o), Boolean(o.acknowledgeLostWork), o.requestId === undefined ? undefined : id(o.requestId)), { permission: 'Destructive', options: [...selectedOptions, { flags: '--acknowledge-lost-work', description: 'Accept that unpublished edits and unknown outcomes of this context are dropped' }, { flags: '--request-id <id>', description: 'Retrieve the same discard result' }] }),
|
|
276
|
+
command('discard-missing', 'Give up a native checkout whose project directory no longer exists and end its server checkout; the next open starts a new one', ({ options: o }, c) => service(c).discardMissing(scope(o), Boolean(o.acknowledgeLostWork), o.requestId === undefined ? undefined : id(o.requestId)), { permission: 'Destructive', options: [...selectedOptions, { flags: '--acknowledge-lost-work', description: 'Accept that unpublished edits and unknown outcomes of this context are lost' }, { flags: '--request-id <id>', description: 'Retrieve the same discard result' }] })
|
|
230
277
|
]),
|
|
231
278
|
command('save-all', 'Save every Ghidra context in the explicit session; outcomes are per context', ({ options: o }, c) => service(c).saveAll(id(o.session), o.requestId === undefined ? undefined : id(o.requestId)), { permission: Permission.Update, options: [{ flags: '--session <id>', description: 'Explicit session whose contexts are saved', required: true }, { flags: '--request-id <id>', description: 'Retrieve the recorded session save outcomes' }] }),
|
|
232
279
|
command('status', 'Inspect the installed runtime, or verify a selected context', ({ options: o }, c) => {
|
package/dist/src/research.d.ts
CHANGED
|
@@ -13,6 +13,10 @@ export interface ResearchBackend {
|
|
|
13
13
|
collect?(dryRun: boolean): Promise<unknown>;
|
|
14
14
|
releaseUnchanged?(scope: Scope): Promise<boolean>;
|
|
15
15
|
detachedStopped?(scope: Scope): Promise<boolean>;
|
|
16
|
+
/** Proves that the checkout's project is gone and nothing of it runs; returns the receipt it proved. */
|
|
17
|
+
missingCheckout?(scope: Scope): Promise<NativeCheckout>;
|
|
18
|
+
/** Ends exactly that checkout on its server, or with check only proves that it could. Repeating it is safe. */
|
|
19
|
+
abandonMissing?(scope: Scope, check: boolean): Promise<void>;
|
|
16
20
|
updateNative?(scope: Scope, request: string): Promise<{
|
|
17
21
|
state: 'ready' | 'empty';
|
|
18
22
|
revision: number;
|
package/dist/src/storage-gc.js
CHANGED
|
@@ -207,6 +207,10 @@ export async function collectStorage(workspace, port, dryRun, progress = () => {
|
|
|
207
207
|
keep(checkout.root, 'An unresolved operation in another context references this checkout.');
|
|
208
208
|
continue;
|
|
209
209
|
}
|
|
210
|
+
if (checkout.state === 'active' && !await present(checkout.root)) {
|
|
211
|
+
keep(checkout.root, 'Native checkout project is missing; its server checkout is retained.');
|
|
212
|
+
continue;
|
|
213
|
+
}
|
|
210
214
|
const project = join(checkout.root, 'view.rep');
|
|
211
215
|
if (dryRun) {
|
|
212
216
|
if (workspace.unchangedNative(context))
|
package/dist/src/workspace.d.ts
CHANGED
|
@@ -139,6 +139,7 @@ export interface OpenReservation {
|
|
|
139
139
|
}
|
|
140
140
|
type ContextPatch = Partial<Pick<GhidraContext, 'state' | 'baseRevision' | 'baseSnapshot' | 'workingSnapshot' | 'viewEpoch' | 'scalars' | 'complexChanges' | 'debugger' | 'syncPolicy' | 'nativeCheckout'>>;
|
|
141
141
|
/** Profile root state, deliberately separate from the earlier coordinator.sqlite journals. */
|
|
142
|
+
export declare const missingDiscardOperation = "ghidra.changes.discard-missing";
|
|
142
143
|
export declare const legacyDiscardOperation = "ghidra.changes.discard-legacy";
|
|
143
144
|
export declare class Workspace {
|
|
144
145
|
readonly profile: string;
|
|
@@ -180,6 +181,9 @@ export declare class Workspace {
|
|
|
180
181
|
* a native checkout, and exactly those non-applied rows stop owning evidence. Their own outcomes stay readable.
|
|
181
182
|
*/
|
|
182
183
|
discardLegacy(scope: Scope, request: string, generation: number, result: Record<string, unknown>): unknown;
|
|
184
|
+
/** The same for a native checkout whose project is gone and whose server checkout was ended. */
|
|
185
|
+
discardMissing(scope: Scope, request: string, generation: number, result: Record<string, unknown>): unknown;
|
|
186
|
+
private giveUp;
|
|
183
187
|
/** An abandoned or otherwise unknown terminal effect keeps all of its native evidence. */
|
|
184
188
|
uncertainOutcome(scope: Scope): boolean;
|
|
185
189
|
/** Receipt-only comparison; native state is verified separately before any release. */
|
package/dist/src/workspace.js
CHANGED
|
@@ -48,6 +48,7 @@ function page(limit, offset) {
|
|
|
48
48
|
fail('invalid', 'Pagination requires a limit of 1–100 and a nonnegative offset.');
|
|
49
49
|
}
|
|
50
50
|
/** Profile root state, deliberately separate from the earlier coordinator.sqlite journals. */
|
|
51
|
+
export const missingDiscardOperation = 'ghidra.changes.discard-missing';
|
|
51
52
|
export const legacyDiscardOperation = 'ghidra.changes.discard-legacy';
|
|
52
53
|
export class Workspace {
|
|
53
54
|
profile;
|
|
@@ -283,18 +284,29 @@ export class Workspace {
|
|
|
283
284
|
* a native checkout, and exactly those non-applied rows stop owning evidence. Their own outcomes stay readable.
|
|
284
285
|
*/
|
|
285
286
|
discardLegacy(scope, request, generation, result) {
|
|
287
|
+
return this.giveUp(scope, request, generation, result, legacyDiscardOperation);
|
|
288
|
+
}
|
|
289
|
+
/** The same for a native checkout whose project is gone and whose server checkout was ended. */
|
|
290
|
+
discardMissing(scope, request, generation, result) {
|
|
291
|
+
return this.giveUp(scope, request, generation, result, missingDiscardOperation);
|
|
292
|
+
}
|
|
293
|
+
giveUp(scope, request, generation, result, operation) {
|
|
286
294
|
return this.transaction(() => {
|
|
287
295
|
const context = this.context(scope), intent = this.request(request), model = this.model(scope.target);
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
296
|
+
const checkout = context.nativeCheckout, missing = operation === missingDiscardOperation;
|
|
297
|
+
if (context.generation !== generation || missing !== Boolean(checkout) || checkout?.state === 'dropped' || this.activePublication(scope.target) || context.debugger?.connected || model.state !== 'ready' ||
|
|
298
|
+
intent.context !== context.id || intent.operation !== operation || intent.state !== 'running')
|
|
299
|
+
fail('blocked', 'Only an unchanged, stopped context can be discarded.');
|
|
291
300
|
for (const pending of this.unfinished(scope))
|
|
292
301
|
if (pending.id !== request)
|
|
293
|
-
this.writeRequest(pending.id, 'failed', { ...scope, state: 'discarded', reason: 'explicit_legacy_discard' });
|
|
302
|
+
this.writeRequest(pending.id, 'failed', { ...scope, state: 'discarded', reason: missing ? 'explicit_missing_discard' : 'explicit_legacy_discard' });
|
|
294
303
|
for (const row of this.db.prepare("SELECT id,data FROM requests WHERE context=? AND state='failed'").all(context.id))
|
|
295
304
|
this.db.prepare('UPDATE requests SET data=? WHERE id=?').run(bounded({ ...JSON.parse(String(row.data)), dropped: true }), String(row.id));
|
|
296
|
-
this.writeContext(scope, generation, { state: 'stopped', workingSnapshot: undefined, baseSnapshot: undefined, baseRevision: undefined,
|
|
297
|
-
|
|
305
|
+
this.writeContext(scope, generation, { state: 'stopped', workingSnapshot: undefined, baseSnapshot: undefined, baseRevision: undefined,
|
|
306
|
+
// Saved traces of a native context live outside its project.
|
|
307
|
+
...(missing ? {} : { debugger: undefined }),
|
|
308
|
+
scalars: [], complexChanges: [], viewEpoch: (context.viewEpoch ?? 0) + 1,
|
|
309
|
+
...(checkout ? { nativeCheckout: (({ conflict, ...rest }) => ({ ...rest, state: 'dropped' }))(checkout) } : {}) });
|
|
298
310
|
return this.writeRequest(request, 'applied', result).result;
|
|
299
311
|
});
|
|
300
312
|
}
|
package/package.json
CHANGED
|
@@ -86,13 +86,38 @@ public final class InsightNativeCheckout {
|
|
|
86
86
|
out.put("checkouts",Arrays.stream(repository.getCheckouts("/",name)).map(c->Map.of("id",c.getCheckoutId(),"version",c.getCheckoutVersion(),"user",c.getUser())).toList());
|
|
87
87
|
out.put("checkinActive",repository.isCheckinActive("/",name));
|
|
88
88
|
}
|
|
89
|
+
/** Ends exactly one server checkout whose own project no longer exists; its private work cannot be recovered. */
|
|
90
|
+
static Map<String,Object> abandon(RepositoryAdapter repository,JsonObject q,JsonObject owner)throws Exception {
|
|
91
|
+
Path root=Path.of(text(q,"root"));String name=text(owner,"path").substring(1);long id=q.get("checkoutId").getAsLong();
|
|
92
|
+
require(root.isAbsolute()&&!Files.exists(root,LinkOption.NOFOLLOW_LINKS),"Native project still exists");
|
|
93
|
+
require(root.getParent().getFileName().toString().equals(text(owner,"context")),"Malformed native binding");
|
|
94
|
+
var item=repository.getItem("/",name);require(item!=null&&item.getFileID().equals(text(q,"fileId")),"Native file ID changed");
|
|
95
|
+
require(!repository.isCheckinActive("/",name),"A native check-in is active");
|
|
96
|
+
String owned="/"+text(owner,"context")+"/"+root.getFileName()+"/view";boolean present=false;
|
|
97
|
+
// Everything is proved before the only effect.
|
|
98
|
+
for(var checkout:repository.getCheckouts("/",name)){
|
|
99
|
+
boolean project=Objects.toString(checkout.getProjectPath(),"").replace('\\','/').endsWith(owned);
|
|
100
|
+
require(project==(checkout.getCheckoutId()==id),"Server checkout belongs to another project");
|
|
101
|
+
if(!project)continue;
|
|
102
|
+
require(checkout.getUser().equals(System.getenv("GHIDRA_SERVER_USER"))&&checkout.getCheckoutType()==ghidra.framework.store.CheckoutType.NORMAL&&
|
|
103
|
+
checkout.getCheckoutVersion()==q.get("baseVersion").getAsInt(),"Server checkout differs from its receipt");
|
|
104
|
+
present=true;
|
|
105
|
+
}
|
|
106
|
+
if(q.get("check").getAsBoolean())return Map.of("state","endable");
|
|
107
|
+
require(!Files.exists(root,LinkOption.NOFOLLOW_LINKS),"Native project still exists");
|
|
108
|
+
if(present)repository.terminateCheckout("/",name,id,false);
|
|
109
|
+
for(var checkout:repository.getCheckouts("/",name))require(checkout.getCheckoutId()!=id,"Owned checkout remains");
|
|
110
|
+
return Map.of("state","abandoned","terminated",present);
|
|
111
|
+
}
|
|
89
112
|
public static void main(String[] args){
|
|
90
113
|
var output=System.out;System.setOut(System.err);Project project=null;GhidraServerManager server=null;
|
|
91
114
|
Map<String,Object> out=new LinkedHashMap<>();
|
|
92
115
|
try {
|
|
93
116
|
require(args.length==1,"Owned request required");
|
|
94
117
|
JsonObject q=JsonParser.parseString(Files.readString(Path.of(args[0]))).getAsJsonObject();
|
|
95
|
-
|
|
118
|
+
boolean abandoning=text(q,"operation").equals("abandon");
|
|
119
|
+
Path root=abandoning?Path.of(text(q,"root")):Path.of(text(q,"root")).toRealPath();
|
|
120
|
+
JsonObject owner=abandoning?q.getAsJsonObject("owner"):JsonParser.parseString(Files.readString(root.resolve("native-owner.json"))).getAsJsonObject();
|
|
96
121
|
require(owner.equals(q.getAsJsonObject("owner")),"Native owner receipt changed");
|
|
97
122
|
require(text(owner,"protocol").equals("native-checkout-v1")&&text(owner,"path").equals("/"+text(owner,"target")+".bin"),"Malformed native binding");
|
|
98
123
|
String operation=text(q,"operation"),path=text(owner,"path"),name=path.substring(1);
|
|
@@ -102,6 +127,9 @@ public final class InsightNativeCheckout {
|
|
|
102
127
|
server=new GhidraServerManager();server.connect();require(server.isConnected(),"Native repository disconnected");
|
|
103
128
|
RepositoryAdapter repository=server.server().getRepository(text(owner,"repository"));repository.connect();
|
|
104
129
|
require(repository.getUser().hasWritePermission()&&repository.getUser().getName().equals(System.getenv("GHIDRA_SERVER_USER")),"Publisher authority required");
|
|
130
|
+
if(abandoning){
|
|
131
|
+
out.putAll(abandon(repository,q,owner));repository.disconnect();server.disconnect();output.println(GSON.toJson(out));System.exit(0);
|
|
132
|
+
}
|
|
105
133
|
ProjectLocator locator=new ProjectLocator(root.toString(),"view");Projects manager=new Projects();
|
|
106
134
|
// After a proved release the project is never reopened: an interrupted deletion can leave it unreadable.
|
|
107
135
|
if((operation.equals("release")||operation.equals("drop"))&&released(root,q)){
|
|
@@ -3,7 +3,7 @@ name: insight-artifacts
|
|
|
3
3
|
description: Retain a completed reverse-engineering evidence file or directory as an ordinary checkpoint using insight-cli artifacts save. Use after Ghidra or any external tool; preserve existing project formats and source of truth.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight Artifacts 0.6.
|
|
6
|
+
# Insight Artifacts 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-binary
|
|
|
3
3
|
description: Query structured PE, ELF and thin Mach-O headers, sections, imports and exports, or make an explicitly guarded new PE subsystem copy through insight-cli binary. Use for scoped binary structure, linkage and copy-only header edits without target execution.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight Binary 0.6.
|
|
6
|
+
# Insight Binary 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-capture
|
|
|
3
3
|
description: Capture one explicitly authorized native program run, exact stdout/stderr and declared file snapshots through insight-cli capture, then inspect or compare retained reports without replay. Use for controlled input/output research, preserving original files and interrupted or unknown outcomes.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight Capture 0.6.
|
|
6
|
+
# Insight Capture 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-cli
|
|
|
3
3
|
description: Choose and prepare reverse-engineering capabilities from the insight-cli toolbox for binary, managed-code and runtime investigations. Use to discover the appropriate tool or its packaged skill before installing native runtimes.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# insight-cli 0.6.
|
|
6
|
+
# insight-cli 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-die
|
|
|
3
3
|
description: Classify unknown executable or container inputs by format, architecture and compiler/runtime/packer signatures with Detect It Easy before choosing managed or native analysis. Use insight-cli die for static triage and preserve scan uncertainty.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight Detect It Easy 0.6.
|
|
6
|
+
# Insight Detect It Easy 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-dnspy
|
|
|
3
3
|
description: Debug a managed Windows EXE at an IL breakpoint and read primitive arguments, or change one expected IL Int32 constant in a new assembly copy through insight-cli dnspy. Use when C# decompilation needs observed execution or a controlled binary edit.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight dnSpyEx 0.6.
|
|
6
|
+
# Insight dnSpyEx 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-dotnet-dump
|
|
|
3
3
|
description: Capture a managed heap dump or inspect compatible .NET dumps with SOS to recover waiting stacks, objects, fields and retention evidence.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight .NET Dump 0.6.
|
|
6
|
+
# Insight .NET Dump 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-dotnet-stack
|
|
|
3
3
|
description: Inspect live managed thread stacks to identify active or waiting work in an explicitly selected .NET process without taking a dump.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight .NET Stack 0.6.
|
|
6
|
+
# Insight .NET Stack 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-dotnet-trace
|
|
|
3
3
|
description: Collect and inspect bounded .NET EventPipe traces to identify sampled thread work, waits or runtime activity; distinguish wall-clock samples from CPU consumption.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight .NET Trace 0.6.
|
|
6
|
+
# Insight .NET Trace 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-frida
|
|
|
3
3
|
description: Observe native call arguments/results or inspect runtime modules and exports in an explicitly selected authorized process with bounded Frida scripts. Use insight-cli frida to corroborate static findings with actual execution on macOS ARM64.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight Frida 0.6.
|
|
6
|
+
# Insight Frida 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-ghidra
|
|
|
3
3
|
description: Inspect or edit native binaries with Ghidra through insight-cli; use isolated contexts, multi-agent merge/refresh, server, GUI or debugger workflows. Choose this for static native behavior and references, not C# recovery from managed IL.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight Ghidra 0.6.
|
|
6
|
+
# Insight Ghidra 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-ilspy
|
|
|
3
3
|
description: Recover C#, inspect IL/types/metadata, extract resources or export projects from managed .NET assemblies through insight-cli ILSpy. Choose native analysis for NativeAOT or ordinary PE machine code.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight ILSpy 0.6.
|
|
6
|
+
# Insight ILSpy 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-interop
|
|
|
3
3
|
description: Trace a .NET P/Invoke declaration to an explicitly supplied native library export and Ghidra function through insight-cli ilspy query, binary query and scoped ghidra APIs. Use for managed/native linkage evidence while keeping static correspondence separate from observed loading or execution.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight Interop 0.6.
|
|
6
|
+
# Insight Interop 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-lldb
|
|
|
3
3
|
description: Observe native runtime arguments, return values, registers, stacks and bounded memory at a selected breakpoint using an owned LLDB launch. Use insight-cli lldb on macOS ARM64 when static findings need a concrete execution check.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight LLDB 0.6.
|
|
6
|
+
# Insight LLDB 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-llvm
|
|
|
3
3
|
description: Inspect PE, ELF and Mach-O headers, dependencies, exports and symbols; query PDB debug information or a small instruction window with insight-cli LLVM utilities before opening a full analysis project.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight LLVM 0.6.
|
|
6
|
+
# Insight LLVM 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-managed-heap
|
|
|
3
3
|
description: Query structured .NET heap objects, primitive fields and managed stacks from a retained CoreCLR dump through insight-cli dotnet-dump query. Use for bounded offline dump investigation with an explicit matching DAC, preserving uncertainty and immutable input identity.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight Managed Heap 0.6.
|
|
6
|
+
# Insight Managed Heap 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-managed-metadata
|
|
|
3
3
|
description: Query managed assembly metadata, MethodDef tokens, P/Invoke declarations and bounded IL, or compare two C#/.NET assemblies through insight-cli ilspy query/compare. Use for structured static evidence and changed-method research without executing the target.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight Managed Metadata 0.6.
|
|
6
|
+
# Insight Managed Metadata 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-mitmproxy
|
|
|
3
3
|
description: Record, inspect and compare HTTP request/response evidence with insight-cli mitmproxy. Use when an owned client can explicitly use a loopback proxy; read native flow archives or HAR without replaying traffic. System interception and global certificate trust are outside this facade.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight mitmproxy 0.6.
|
|
6
|
+
# Insight mitmproxy 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-overview
|
|
|
3
3
|
description: Choose bounded tool overviews and focused drilldown through insight-cli without flooding agent context with whole-program code, traces or dumps. Use for tool discovery, scoped evidence paging and keeping native partial coverage separate from complete results.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight Overview 0.6.
|
|
6
|
+
# Insight Overview 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-procmon
|
|
|
3
3
|
description: Observe actual file and registry access by an authorized running Windows process through insight-cli procmon. Use when static paths or configuration guesses need runtime evidence; inspect retained captures without collecting again.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight ProcMon 0.6.
|
|
6
|
+
# Insight ProcMon 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-re
|
|
|
3
3
|
description: Investigate shipped programs and binary artifacts with insight-cli and other available tools; retain ordinary research files, coordinate independent agents and publish Ghidra annotations. Use for reverse engineering behavior, not ordinary source-repository browsing.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight RE 0.6.
|
|
6
|
+
# Insight RE 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-sevenzip
|
|
|
3
3
|
description: Inventory, integrity-check and recover files from archives and supported containers with insight-cli 7-Zip, then hand recovered binaries or configuration to the appropriate research tool.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight 7-Zip 0.6.
|
|
6
|
+
# Insight 7-Zip 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-strace
|
|
|
3
3
|
description: Observe actual file reads, writes, process creation and network syscalls in an authorized owned native Linux launch using insight-cli strace. Use when static inference needs concrete operating-system interaction evidence.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight strace 0.6.
|
|
6
|
+
# Insight strace 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-tshark
|
|
|
3
3
|
description: Inspect an offline PCAP or PCAPNG with insight-cli tshark to identify protocols, HTTP/DNS/TLS fields, packet evidence and reconstructed TCP/UDP streams. Use for captured traffic questions; live acquisition and TLS decryption are separate tasks.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight TShark 0.6.
|
|
6
|
+
# Insight TShark 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-windbg
|
|
|
3
3
|
description: Investigate Windows native user-mode minidumps using bounded stacks, threads, registers, modules, memory and disassembly through insight-cli windbg. Use on Windows x64 when a captured runtime state needs native debugger evidence.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight WinDbg 0.6.
|
|
6
|
+
# Insight WinDbg 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-artifacts
|
|
|
3
3
|
description: Retain a completed reverse-engineering evidence file or directory as an ordinary checkpoint using insight-cli artifacts save. Use after Ghidra or any external tool; preserve existing project formats and source of truth.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight Artifacts 0.6.
|
|
6
|
+
# Insight Artifacts 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-binary
|
|
|
3
3
|
description: Query structured PE, ELF and thin Mach-O headers, sections, imports and exports, or make an explicitly guarded new PE subsystem copy through insight-cli binary. Use for scoped binary structure, linkage and copy-only header edits without target execution.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight Binary 0.6.
|
|
6
|
+
# Insight Binary 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-capture
|
|
|
3
3
|
description: Capture one explicitly authorized native program run, exact stdout/stderr and declared file snapshots through insight-cli capture, then inspect or compare retained reports without replay. Use for controlled input/output research, preserving original files and interrupted or unknown outcomes.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight Capture 0.6.
|
|
6
|
+
# Insight Capture 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-die
|
|
|
3
3
|
description: Classify unknown executable or container inputs by format, architecture and compiler/runtime/packer signatures with Detect It Easy before choosing managed or native analysis. Use insight-cli die for static triage and preserve scan uncertainty.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight Detect It Easy 0.6.
|
|
6
|
+
# Insight Detect It Easy 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-dnspy
|
|
|
3
3
|
description: Debug a managed Windows EXE at an IL breakpoint and read primitive arguments, or change one expected IL Int32 constant in a new assembly copy through insight-cli dnspy. Use when C# decompilation needs observed execution or a controlled binary edit.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight dnSpyEx 0.6.
|
|
6
|
+
# Insight dnSpyEx 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-dotnet-dump
|
|
|
3
3
|
description: Capture a managed heap dump or inspect compatible .NET dumps with SOS to recover waiting stacks, objects, fields and retention evidence.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight .NET Dump 0.6.
|
|
6
|
+
# Insight .NET Dump 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-dotnet-stack
|
|
|
3
3
|
description: Inspect live managed thread stacks to identify active or waiting work in an explicitly selected .NET process without taking a dump.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight .NET Stack 0.6.
|
|
6
|
+
# Insight .NET Stack 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-dotnet-trace
|
|
|
3
3
|
description: Collect and inspect bounded .NET EventPipe traces to identify sampled thread work, waits or runtime activity; distinguish wall-clock samples from CPU consumption.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight .NET Trace 0.6.
|
|
6
|
+
# Insight .NET Trace 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-frida
|
|
|
3
3
|
description: Observe native call arguments/results or inspect runtime modules and exports in an explicitly selected authorized process with bounded Frida scripts. Use insight-cli frida to corroborate static findings with actual execution on macOS ARM64.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight Frida 0.6.
|
|
6
|
+
# Insight Frida 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-ghidra
|
|
|
3
3
|
description: Inspect or edit native binaries with Ghidra through insight-cli; use isolated contexts, multi-agent merge/refresh, server, GUI or debugger workflows. Choose this for static native behavior and references, not C# recovery from managed IL.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight Ghidra 0.6.
|
|
6
|
+
# Insight Ghidra 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-ilspy
|
|
|
3
3
|
description: Recover C#, inspect IL/types/metadata, extract resources or export projects from managed .NET assemblies through insight-cli ILSpy. Choose native analysis for NativeAOT or ordinary PE machine code.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight ILSpy 0.6.
|
|
6
|
+
# Insight ILSpy 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-interop
|
|
|
3
3
|
description: Trace a .NET P/Invoke declaration to an explicitly supplied native library export and Ghidra function through insight-cli ilspy query, binary query and scoped ghidra APIs. Use for managed/native linkage evidence while keeping static correspondence separate from observed loading or execution.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight Interop 0.6.
|
|
6
|
+
# Insight Interop 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-lldb
|
|
|
3
3
|
description: Observe native runtime arguments, return values, registers, stacks and bounded memory at a selected breakpoint using an owned LLDB launch. Use insight-cli lldb on macOS ARM64 when static findings need a concrete execution check.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight LLDB 0.6.
|
|
6
|
+
# Insight LLDB 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-llvm
|
|
|
3
3
|
description: Inspect PE, ELF and Mach-O headers, dependencies, exports and symbols; query PDB debug information or a small instruction window with insight-cli LLVM utilities before opening a full analysis project.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight LLVM 0.6.
|
|
6
|
+
# Insight LLVM 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-managed-heap
|
|
|
3
3
|
description: Query structured .NET heap objects, primitive fields and managed stacks from a retained CoreCLR dump through insight-cli dotnet-dump query. Use for bounded offline dump investigation with an explicit matching DAC, preserving uncertainty and immutable input identity.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight Managed Heap 0.6.
|
|
6
|
+
# Insight Managed Heap 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-managed-metadata
|
|
|
3
3
|
description: Query managed assembly metadata, MethodDef tokens, P/Invoke declarations and bounded IL, or compare two C#/.NET assemblies through insight-cli ilspy query/compare. Use for structured static evidence and changed-method research without executing the target.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight Managed Metadata 0.6.
|
|
6
|
+
# Insight Managed Metadata 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-mitmproxy
|
|
|
3
3
|
description: Record, inspect and compare HTTP request/response evidence with insight-cli mitmproxy. Use when an owned client can explicitly use a loopback proxy; read native flow archives or HAR without replaying traffic. System interception and global certificate trust are outside this facade.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight mitmproxy 0.6.
|
|
6
|
+
# Insight mitmproxy 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-overview
|
|
|
3
3
|
description: Choose bounded tool overviews and focused drilldown through insight-cli without flooding agent context with whole-program code, traces or dumps. Use for tool discovery, scoped evidence paging and keeping native partial coverage separate from complete results.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight Overview 0.6.
|
|
6
|
+
# Insight Overview 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-procmon
|
|
|
3
3
|
description: Observe actual file and registry access by an authorized running Windows process through insight-cli procmon. Use when static paths or configuration guesses need runtime evidence; inspect retained captures without collecting again.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight ProcMon 0.6.
|
|
6
|
+
# Insight ProcMon 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-re
|
|
|
3
3
|
description: Investigate shipped programs and binary artifacts with insight-cli and other available tools; retain ordinary research files, coordinate independent agents and publish Ghidra annotations. Use for reverse engineering behavior, not ordinary source-repository browsing.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight RE 0.6.
|
|
6
|
+
# Insight RE 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-sevenzip
|
|
|
3
3
|
description: Inventory, integrity-check and recover files from archives and supported containers with insight-cli 7-Zip, then hand recovered binaries or configuration to the appropriate research tool.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight 7-Zip 0.6.
|
|
6
|
+
# Insight 7-Zip 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-strace
|
|
|
3
3
|
description: Observe actual file reads, writes, process creation and network syscalls in an authorized owned native Linux launch using insight-cli strace. Use when static inference needs concrete operating-system interaction evidence.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight strace 0.6.
|
|
6
|
+
# Insight strace 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-tshark
|
|
|
3
3
|
description: Inspect an offline PCAP or PCAPNG with insight-cli tshark to identify protocols, HTTP/DNS/TLS fields, packet evidence and reconstructed TCP/UDP streams. Use for captured traffic questions; live acquisition and TLS decryption are separate tasks.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight TShark 0.6.
|
|
6
|
+
# Insight TShark 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ name: insight-windbg
|
|
|
3
3
|
description: Investigate Windows native user-mode minidumps using bounded stacks, threads, registers, modules, memory and disassembly through insight-cli windbg. Use on Windows x64 when a captured runtime state needs native debugger evidence.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight WinDbg 0.6.
|
|
6
|
+
# Insight WinDbg 0.6.4
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|