mandiant / capa

The FLARE team's open-source tool to identify capabilities in executable files.
https://mandiant.github.io/capa/
Apache License 2.0
4.14k stars 522 forks source link

capa explorer web: no horizontal scroll when viewing long entries #2434

Open mike-hunhoff opened 3 hours ago

mike-hunhoff commented 3 hours ago

There is no horizontal scroll when expanding long entries, which makes viewing the corresponding columns impossible. This issue was experienced in Chrome, not sure if specific to this browser or not.

e.g. Screenshot from 2024-10-02 11-24-08

The above is from the example dynamic view linked from the web interface.

mike-hunhoff commented 3 hours ago

Ideally, text wrapping should be used for cases like this.

s-ff commented 2 hours ago

Could you share the sample with me? I'll take a look.

mike-hunhoff commented 2 hours ago

Could you share the sample with me? I'll take a look.

It's the example dynamic sample linked from the web interface (preview dynamic)

s-ff commented 2 hours ago
Seems to work for me (I am on Firefox). I'll implement text wrapping.
![Kapture 2024-10-02 at 19 53 41](https://github.com/user-attachments/assets/98c40a29-2ac0-4346-98da-30fa14acc2fa)
s-ff commented 2 hours ago

Let me know if this word wrap fix works for you: https://s-ff.github.io/capa/explorer/#/analysis?rdoc=https://raw.githubusercontent.com/mandiant/capa-testfiles/master/rd/0000a65749f5902c4d82ffa701198038f0b4870b00a27cfca109f8f933476d82.json.gz also check rule "read file on Windows"