Go scripts for finding an API key / some keywords in repository

Git-Secret

Go scripts for finding an API key / some keywords in repository

Update V1.0 🚀

  • Added some API Key checker

Screenshoot 📷

image

How to Install

go get github.com/daffainfo/Git-Secret

How to Use

./Git-Secret
  • For path contain dorks, you can fill it with some keywords, for example

keyword.txt

password
username
keys
access_keys

Reference 📚

Owner
Muhammad Daffa
Cybersecurity Enthusiast
Muhammad Daffa
Comments
  • Support `go install`

    Support `go install`

    The documentation refers to go get but it's deprecated. go install should be used instead, for instance:

    go install github.com/daffainfo/Git-Secret@latest
    

    Which generates an error:

    $ go install github.com/daffainfo/Git-Secret@latest
    go: github.com/daffainfo/Git-Secret@latest (in github.com/daffainfo/[email protected]):
    	The go.mod file for the module providing named packages contains one or
    	more replace directives. It must not contain directives that would cause
    	it to be interpreted differently than if it were the main module.
    

    Reference: https://go.dev/doc/go-get-install-deprecation

  • Some Issues

    Some Issues

    Anyone having save issues ?

    ### Choose Branches: 2021/08/04 16:46:09 json: cannot unmarshal object into Go value of type main.Branch

    the tool does not give option to identify the branches as shown in the image. But I would appreciate if you can give more usage example, thank you.

  • Check for empty URL before proceeding

    Check for empty URL before proceeding

    Hi, here my proposal to fix issue #7. Hope it helps :+1: PS: just noticed my editor automatically removed some trailing white spaces from the original code. The actual fix is on lines 262-265.

  • Program crashes when no URL is provided

    Program crashes when no URL is provided

    Hi! When no URL is provided the program crashes with an index out of range error (see below). To reproduce it just press Enter when prompted for the URL.

    panic: runtime error: index out of range [3] with length 1
    
    goroutine 1 [running]:
    main.main()
    	/home/REDACTED/Git-Secret/main.go:268 +0xc8f
    
  • How can we add authentication to access Github Enterprise (https://github.company.com/) ?

    How can we add authentication to access Github Enterprise (https://github.company.com/) ?

    Instead of searching public Github (https://github.com), ... I want to run this program to find secrets in a company's Github Enterprise (https://github.company.com) which requires authentication.

    I think this can be done using a github token, but I don't know how to add this feature.

  • Add support to `go install` command

    Add support to `go install` command

    This pull request solves issue #5. Summary of changes:

    • Bump Go version to 1.18
    • Update go.mod to support the go install command
    • Update README.md with build and installation instructions
    • Add .gitignore file

    :warning: For the go install command to work, you need to create a v1.0.2 tag. Notice that the tag needs to start with v otherwise go install won't find it.

Related tags
Yet another StructTag, with some features liked cache and alias.

Yet another StructTag, with some features liked cache and alias.

Nov 1, 2021
Just some random matchers
Just some random matchers

The package provides a matcher interface to match a given value of any types.

Nov 3, 2022
Generate some random data

fake-data-generator-api generate some random data installing and using

Dec 2, 2022
Checking if some websites of interest are online

Web site status checker Checking if some websites of interest are online. A little weekend project. Technologies used Go Gin Current sites supported G

Nov 28, 2021
Some utility functions for generic types in Go.

GOUF - Utility Functions for generic types Go team released Go 1.18 beta recently with support for Generics(a.k.a type parameters). This package provi

Apr 13, 2022
Listing git repository from URL/User/Org
Listing git repository from URL/User/Org

This tool is available when the repository, such as github, is included in the bugbounty scope. Sometimes specified as an org name or user name rather than a specific repository, you can use this tool to extract url from all public repositories included in the org/user.

Dec 20, 2022
🏠 The opensource repository of Edgeless PE Project

Edgeless 强大而优雅的PE工具 同时也许是东半球第一个部分开源的PE项目 主页 • 文档 • 下载站 • 博客 • QQ群 ?? English Version (May not the latest) 许可证 Edgeless的自编代码基于MPL2.0许可证开源,除了setTheme.cm

Jan 1, 2023
Returns an array of Philippine zipcode details given a search key

Returns an array of Philippine zipcode details given a search key

Jan 20, 2022
Go API backed by the native Dart Sass Embedded executable.

This is a Go API backed by the native Dart Sass Embedded executable. The primary motivation for this project is to provide SCSS support to Hugo. I wel

Jan 5, 2023
A pluggable backend API that enforces the Event Sourcing Pattern for persisting & broadcasting application state changes
A pluggable backend API that enforces the Event Sourcing Pattern for persisting & broadcasting application state changes

A pluggable "Application State Gateway" that enforces the Event Sourcing Pattern for securely persisting & broadcasting application state ch

Nov 1, 2022
The easiest way to make API documents for GraphQL

Document Generator for GraphQL gqldoc is now alpha gqldoc is command line tool to generate documents from GraphQL schema or your GraphQL endpoint. the

Dec 20, 2022
reflect api without runtime reflect.Value cost

reflect2 reflect api that avoids runtime reflect.Value cost reflect get/set interface{}, with type checking reflect get/set unsafe.Pointer, without ty

Jan 4, 2023
Cross-platform Bluetooth API for Go and TinyGo.
Cross-platform Bluetooth API for Go and TinyGo.

Go Bluetooth is a cross-platform package for using Bluetooth Low Energy hardware from the Go programming language.

Jan 6, 2023
this is an api that execute your deno code and send you the output

this a simple api that execute your deno code and send you the output, has not limit per request example request: in deno: const rawResponse = await f

Dec 23, 2022
🚀 Use Lanyard API easily in your Go app!

?? Go Lanyard Use Lanyard API easily in your Go app! ?? Installation Initialize your project (go mod init example.com/example) Add package (go get git

Mar 11, 2022
A simple API for computing diffs of your documents over the time built on a scalable technology stack.

Diffme API WIP - this is an API to compute diffs between documents. It serves as a way to easily create audit logs for documents in your system, think

Sep 8, 2021
An Api for Task by Appointy made using go.

AppointyTask API How to Compile Export All the required environment variables. MONGO_URI = Database URI PORT = Port to run the server on DATABA

Oct 10, 2021
Instagram Backend API Using GO
Instagram Backend API Using GO

InstaCloneGo ⚡ Instagram Backend API Using GO Setup ❄️ go run server.go API END POINTS CREATE USERS :http://localhost:8001/users GET A USER USING ID

Oct 10, 2021
An implement of CNI depending on neutron API

An implement of CNI depending on neutron API

Dec 27, 2021