PATH:
opt
/
bitninja-threat-hunting
/
node_modules
/
node-pty
/
src
/** * Copyright (c) 2019, Microsoft Corporation (MIT License). * * This module fetches the console process list for a particular PID. It must be * called from a different process (child_process.fork) as there can only be a * single console attached to a process. */ let getConsoleProcessList: any; try { getConsoleProcessList = require('../build/Release/conpty_console_list.node').getConsoleProcessList; } catch (err) { getConsoleProcessList = require('../build/Debug/conpty_console_list.node').getConsoleProcessList; } const shellPid = parseInt(process.argv[2], 10); const consoleProcessList = getConsoleProcessList(shellPid); process.send!({ consoleProcessList }); process.exit(0);
[+]
shared
[-] windowsPtyAgent.test.ts
[edit]
[-] index.ts
[edit]
[-] tsconfig.json
[edit]
[-] windowsTerminal.test.ts
[edit]
[+]
..
[-] unixTerminal.test.ts
[edit]
[-] native.d.ts
[edit]
[-] terminal.test.ts
[edit]
[-] conpty_console_list_agent.ts
[edit]
[-] eventEmitter2.test.ts
[edit]
[-] utils.ts
[edit]
[-] windowsConoutConnection.ts
[edit]
[-] eventEmitter2.ts
[edit]
[+]
worker
[-] interfaces.ts
[edit]
[-] unixTerminal.ts
[edit]
[-] types.ts
[edit]
[+]
unix
[-] windowsTerminal.ts
[edit]
[+]
win
[-] testUtils.test.ts
[edit]
[-] windowsPtyAgent.ts
[edit]
[-] terminal.ts
[edit]