Skip to content

Deobfuscation not available when redirecting STDOUT #1176

@ruppde

Description

@ruppde

If I run floss on a Rust sample, it asks me, if I want deobfuscation:

$ floss sample
INFO: floss.language.identify: Rust binary found with version: version unknown
WARNING: floss: FLOSS handles Rust static strings, but string deobfuscation may be inaccurate and take a long time
Do you want to enable string deobfuscation? (this could take a long time) [y/N]

But if I try to redirect the output into a file, the question doesn't appear anymore and I neither could find a command line option to enable it:

$ floss sample > floss.log
INFO: floss.language.identify: Rust binary found with version: version unknown
WARNING: floss: FLOSS handles Rust static strings, but string deobfuscation may be inaccurate and take a long time
INFO: floss: disabled string deobfuscation
INFO: floss: extracting static strings
INFO: floss: extracting language-specific Rust strings
INFO: floss: finished execution after 0.21 seconds
INFO: floss: rendering results

Would be nice to have a parameter like "always deobfuscate" or "always assume yes to all questions".

Problem is similar to #1006

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