Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.

Discussion: Allow disabling running klist.exe. #5568

Open
Jeffdude opened this issue Apr 10, 2024 · 1 comment
Open

Discussion: Allow disabling running klist.exe. #5568

Jeffdude opened this issue Apr 10, 2024 · 1 comment

Comments

@Jeffdude
Copy link

Jeffdude commented Apr 10, 2024

My company's IT department flags all devices that run this command, and I'm going to need to compile this utility myself without the klist functionality if I want to continue using this application.

klist is run here:

const cmd = 'klist --json';

I'm not going to comment on how common or reasonable of an IT policy this is, but this person would probably have also liked to have the ability to disable running klist: #1961 and it seems to indicate that some antivirus software will flag this command as well.

Thank you for your time.

@Jeffdude
Copy link
Author

For anyone who might find this helpful in the future. I worked around this by replacing the above function with the following code, and recompiling the project from source.

export async function isFBEmployee(): Promise<boolean> {
  return new Promise((resolve) => resolve(false))
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant