https://github.com/edivangalindo/gistz
An easy way to dump gists
https://github.com/edivangalindo/gistz
bugbounty osint red-team secrets security
Last synced: 6 months ago
JSON representation
An easy way to dump gists
- Host: GitHub
- URL: https://github.com/edivangalindo/gistz
- Owner: edivangalindo
- Created: 2022-08-18T20:09:40.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-31T18:51:35.000Z (almost 4 years ago)
- Last Synced: 2024-06-20T12:03:20.043Z (about 2 years ago)
- Topics: bugbounty, osint, red-team, secrets, security
- Language: Go
- Homepage:
- Size: 7.81 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gistz
An easy way to dump gists.
This is inspired in [secretz](https://github.com/lc/secretz) and [jenkinz](https://github.com/lc/jenkinz) created by [lc](https://github.com/lc) but applicated to Github gists.
Pre-requisites:
* You need to config an env called ```GH_AUTH_TOKEN``` with your personal access token, to do the requests
## Usage
Download all gists from one user:
```
echo nat | gistz
```
Download all gists from many users:
```
cat users.txt | gistz
```
This works fine with [gh-members](https://github.com/edivangalindo/gh-members) to get gists from members of a organization:
```
echo github | gh-members | gistz
```
## Installation
First, you'll need to [install go](https://golang.org/doc/install).
Then run this command to download + compile gistz:
```
go install github.com/edivangalindo/gistz@latest
```
You can now run `~/go/bin/gistz`. If you'd like to just run `gistz` without the full path, you'll need to `export PATH="/go/bin/:$PATH"`. You can also add this line to your `~/.bashrc` file if you'd like this to persist.