Tools: githubGrep


Hi, today I’m going to show you a simple tool I’ve developed that allows you to “grep” for a string in a repository or organization on Github. This tool could be used in the recon phase of a pentest or bug hunt.

Github Repository

Description

This tool will allow you to search for any code on a specific repository or organization and even a user

Install

go get github.com/xpl0ited1/githubGrep

Usage

$ githubGrep -search GITHUB -user xpl0ited1 -lang Go

  -content
        display content of code
  -lang string
        programming language
  -org string
        organization to look at
  -page int
        page number, only if results are more than 100 (default 1)
  -repo string
        repo to look at
  -search string
        code to search
  -user string
        user to look at


Examples

alt

alt

img_2.png

img_3.png