facebook/flipper

Discussion: Allow disabling running `klist.exe`.

Jeffdude opened this issue · 1 comments

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.

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))
}