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

Feature request: support for -A and -B grep flags #29

Open
kmjones1979 opened this issue Jan 5, 2020 · 2 comments
Open

Feature request: support for -A and -B grep flags #29

kmjones1979 opened this issue Jan 5, 2020 · 2 comments

Comments

@kmjones1979
Copy link

I am by no means a go developer or I would submit a pull request / prototype for this request.

It would be nice to have a way to pass -A# or -B# in the gf binary and/or encoding a field in the .json object.

Main use case is making the search more visibly identifiable, i.e. adjacent headers or other multi-line entries that might be relevant or helpful in recon.

@ztgrace
Copy link

ztgrace commented Feb 17, 2020

@kmjones1979 it's already supported, you just need to wrap your grep arguments in quotes like: gf -save csharp_deserial '-HnriEC 5' 'serial.*GetType()'

@kmjones1979
Copy link
Author

kmjones1979 commented Feb 17, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants