Skip to content
Proyectos

Acerca de

一款在github上发现敏感信息的自动化收集工具

Productividad y automatización

Cómo se miden estas cifras

Crecimiento de estrellas medido

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

介绍

gitdorks_go是一款基于GO的自动调用github api收集敏感信息的工具,参考自 GitDorker,做了部分优化。

  • 2022/04/21: 修复出现未知文档错误无限递归的问题,临时解决方案为错误100次后直接停止程序

使用

   gitdorks_go

 ____    __  __  __  __  ____  ___
(  _ \  /. |(  \/  )/  )(_  _)/ __)
 )(_) )(_  _))    (  )(   )(  \__ \
(____/   (_)(_/\/\_)(__) (__) (___/

                       v 0.1
Usage of gitdorks_go:
  -ew int
    	how many seconds does each request should wait ? 
    	# 每2个请求间隔多少秒
  -gd string
    	github dorks file path 
    	# github dorks 文件路径
  -gk string
    	github search keyword
    	# github 搜索keyword
  -nw
    	if get github api rate limited, need wait ? (default true) 
    	# 如果遇到了github速率限制,是否等待
  -nws int
    	how many seconds does it wait each time (default 10)
    	# 如果要等待,需要等待多少秒
  -target string
    	target which search in github
    	# 搜索的目标
  -tf string
    	github personal access token file
    	# github personal access token文件,一行一个
  -token string
    	github personal access token
gitdorks_go -gd Dorks/smalldorks.txt -nws 20 -target gm7.org -tf tokenFile/tf.txt -ew 3

效果图

安装

自己编译

go get github.com/damit5/gitdorks_go

或者

git clone https://github.com/damit5/gitdorks_go.git
cd gitdorks_go
bash build.sh

现成使用

git clone https://github.com/damit5/gitdorks_go.git
cd gitdorks_go/release
./gitdorks_go_amd_linux

文件目录

.
├── Dorks						# 一些推荐dorks
│   ├── alldorksv3
│   ├── medium_dorks.txt
│   └── smalldorks.txt
├── README.md
├── build.sh					# 编译脚本,可以直接用release目录下的
├── go.mod
├── go.sum
├── main.go						# 主程序
├── release
│   ├── gitdorks_go.exe			# windows
│   ├── gitdorks_go_amd_linux	# linux
│   └── gitdorks_go_darwin		# mac
└── tokenFile
    └── tf.txt					# token file

参考

gitdork_v3

Q&A

Access token 在哪

github设置界面

access token

为什么要重复造轮子

GitDorker本来已经很好用了,但是GitHub现在除了一分钟30次请求的限制,还存在次要速率限制,所以使用之前的工具大部分请求都被拦截,拦截了后也不会重新发起请求来获取,相当于过滤掉了这一个关键词,使用如下图,所以用go重写了一个,大概解决了这些问题。

bug

Explorar proyectos relacionados

Cargando…