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

Incorrect ESET antivirus version #785

Open
halfspawn opened this issue Mar 3, 2020 · 1 comment
Open

Incorrect ESET antivirus version #785

halfspawn opened this issue Mar 3, 2020 · 1 comment

Comments

@halfspawn
Copy link

halfspawn commented Mar 3, 2020

Fusioninventory-agent collect ESET installed software version instead of ProductVersion in registry (after update of Eset).

In function _setESETInfos:

    my $esetReg = _getSoftwareRegistryKeys(
        'ESET\ESET Security\CurrentVersion\Info',
        [ qw(ProductVersion ScannerVersion ProductName AppDataDir) ]
    );
    return unless $esetReg;
    unless ($antivirus->{VERSION})  {
        $antivirus->{VERSION} = $esetReg->{"/ProductVersion"}
            if $esetReg->{"/ProductVersion"};
    }

Best regards.

@g-bougard
Copy link
Contributor

Hi @halfspawn

indeed, I don't understand the problem here and your explanation is not fully clear. Can you give a detailed example ?

Do you mean $antivirus->{VERSION} is still set and we should replace it with the $esetReg->{"/ProductVersion"} content if defined ?

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

2 participants