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

Implement support for Regex filtering of strings. #3

Closed
KelSolaar opened this issue Nov 2, 2019 · 1 comment
Closed

Implement support for Regex filtering of strings. #3

KelSolaar opened this issue Nov 2, 2019 · 1 comment

Comments

@KelSolaar
Copy link
Contributor

Hi,

Follow-up of the email thread: I was looking at using stringsext to scrape paths in binary files, however, piping the output to grep for example, is very slow for large files, e.g. 25Go, I was thinking that having native Regex filtering of the found strings would maybe help here instead of piping a torrent of data via stdout.

Cheers,

Thomas

@getreu
Copy link
Owner

getreu commented Jan 3, 2020

having native Regex filtering of the found strings

There is a trade-off between speed and flexibility. As I understood, your main use-case is to scan quickly for path strings in binary data. The new Stringsext version 2 has some support for this, try:

stringsext --grep-char=47 input.raw 

@getreu getreu closed this as completed Jan 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants