Find and test API keys
List every single API key and its location
keytest check DIRFind and perform every available check to any API key found with keytest check:
keytest check DIRThe results can be saved to a markdown file:
keytest check DIR -o results.mdInput can also come from stdin:
cat some_file.txt | keytest checkUse of a proxy is also possible through HTTP or SOCKS5:
keytest check DIR --upstream-proxy socks5://127.0.0.1:2222In any mode you can specify the number of workers. The workers are goroutines, so you can specify relatively high values.
The main concern is on some OSes, where the number of open file descriptors is capped (around 1024).
So take in mind every worker will have 1 file descriptor open.
Default value is 100, but you can change it with the --workers option.
keytest check DIR --workers 200With go install:
go install github.com/luastan/keytest@latestWith go install:
go install -a github.com/luastan/keytest@latest