Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant