Jump to content

Displaying on demand scan results.

Recommended Posts

Hi, I'm migrating from ESET NOD32 Antivirus for Linux Desktop to ESET PROTECT Essential On-Prem.

In the new product I'm unable to retrieve the on demand scan results.

Such command:
$ /opt/eset/eea/bin/odscan -s --profile "@In-depth scan" --readonly <sample>
$ echo $?

gives no output to stdout. I can see that the scan succeeded based on the return code.
There are also two files created in `/opt/eset/eea/log/ods` folder: `<random_name>.dat`, `<random_name>.stat`.

Is there a way to read the scan results from command line?

Link to comment
Share on other sites

  • Administrators

Did you try "lslog --ods-details=%logname%" ?

root@Ubuntu20:/opt/eset/eea/sbin$ sudo ./lslog --help
Usage: lslog [OPTIONS..]
ESET Endpoint Antivirus Logs listing utility

  -f, --follow                   Wait for new logs and append them to the
  -o, --optimize                 Optimize logs.
  -c, --csv                      Print logs in csv format
  -e, --events                   List Event Log records.
  -l, --device-control           List Device control Log records.
  -n, --sent-files               List sent files logs.
  -s, --scans                    List On-demand scan logs.
      --with-log-name            Show additional column with log name in
                                   On-demand scan logs. It can be used for
                                   listing additional information about
                                   On-demand logs.
      --ods-details=log-name     Print details of particular On-demand scan.
      --ods-detections=log-name  Print detections found during particular
                                   On-demand scan.
      --ods-notscanned=log-name  Print files not scanned during particular
                                   On-demand scan.
  -d, --detections               List Detection Log records.
Common options:
  -h, --help                     show help and quit
  -v, --version                  show version information and quit


Link to comment
Share on other sites

Hi Marcos,
Thank you for your quick reply! I've tested it and it works great.

Link to comment
Share on other sites

This topic is now closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...