gf
gf copied to clipboard
Feature request: support for -A and -B grep flags
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.
@kmjones1979 it's already supported, you just need to wrap your grep arguments in quotes like: gf -save csharp_deserial '-HnriEC 5' 'serial.*GetType()'
Oh nice thanks for the tip Zach
On Sun, Feb 16, 2020 at 8:17 PM Zach Grace [email protected] wrote:
@kmjones1979 https://github.com/kmjones1979 it's already supported, you just need to wrap your grep arguments in quotes like: gf -save csharp_deserial '-HnriEC 5' 'serial.*GetType()'
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/tomnomnom/gf/issues/29?email_source=notifications&email_token=ABUDLS77Z6ZQLH54H6RLJL3RDIFWLA5CNFSM4KC5DXU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL5AITY#issuecomment-586810447, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABUDLSZ7MWEHAGOHPZSVIBLRDIFWLANCNFSM4KC5DXUQ .
-- Kevin Jones [email protected]
YouTube.com/kevinjonescreates Instagram: @kevinjonescreates