Code Monkey home page Code Monkey logo

keytest's Introduction

KeyTest

Find and test API keys

Usage

Find keys

List every single API key and its location

keytest check DIR

Find & check keys

Find and perform every available check to any API key found with keytest check:

keytest check DIR

The results can be saved to a markdown file:

keytest check DIR -o results.md

Input can also come from stdin:

cat some_file.txt | keytest check

Use of a proxy is also possible through HTTP or SOCKS5:

keytest check DIR --upstream-proxy socks5://127.0.0.1:2222

Other options

In 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 200

Installation

With go install:

go install github.com/luastan/keytest@latest

Update

With go install:

go install -a github.com/luastan/keytest@latest

keytest's People

Contributors

luastan avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

ramosslyz

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.