Skip to content

Errors should go to stderr #2

@nfsec

Description

@nfsec

Hello,

First of all, a very cool tool.
But I think it would be a good idea if errors were redirected to stderr. In this way, we will be able to save file with pure reports to and later process data.

$ ./sandfly-filescan -dir / -elf -csv -entropy 7.7 > raport.csv 2> errors
$ cat raport.csv
kheaders.ko, /lib/modules/5.3.0-45-generic/kernel/kernel/kheaders.ko, 8.00, true
error walking directory (/proc/8705/fd/3) inside search function
$ cat errors
$

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions