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

Allow enabling line wrapping in file preview #242

Open
kam193 opened this issue Jul 24, 2024 · 0 comments
Open

Allow enabling line wrapping in file preview #242

kam193 opened this issue Jul 24, 2024 · 0 comments
Assignees
Labels
assess We still haven't decided if this will be worked on or not enhancement New feature or request

Comments

@kam193
Copy link

kam193 commented Jul 24, 2024

Is your feature request related to a problem? Please describe.
Malicious scripts use different techniques to hide in the source code. Some of them are: long one-liners or adding a lot of whitespace to move the code away from the screen. AssemblyLine does not wrap lines in the code preview, and does not allow changing preview settings. This makes finding such cases harder.

Describe the solution you'd like
A configuration possibility to enable line wrapping. Ideally per-user or per-view, so the user can choose what is the most important.

Describe alternatives you've considered
Hardcoded line wrapping, but it can make other use cases harder.

Additional context

Here you can see an example how the file looks like in the preview vs. what is important in this line (note - the line number in the service results is wrong, should be 37, as the selected one)
obraz

@kam193 kam193 added assess We still haven't decided if this will be worked on or not enhancement New feature or request labels Jul 24, 2024
@cccs-rs cccs-rs self-assigned this Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assess We still haven't decided if this will be worked on or not enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants