Feature request: support for -A and -B grep flags
Opened this issue · 2 comments
kmjones1979 commented
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 commented
@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 commented
Oh nice thanks for the tip Zach
On Sun, Feb 16, 2020 at 8:17 PM Zach Grace ***@***.***> 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
<#29?email_source=notifications&email_token=ABUDLS77Z6ZQLH54H6RLJL3RDIFWLA5CNFSM4KC5DXU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL5AITY#issuecomment-586810447>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABUDLSZ7MWEHAGOHPZSVIBLRDIFWLANCNFSM4KC5DXUQ>
.
--
Kevin Jones
jones.kevin@gmail.com
YouTube.com/kevinjonescreates
Instagram: @kevinjonescreates