Skip to content

thecyberworld/docser

Repository files navigation

Docser

Docser is a credential scanning tool similar to gitleaks custom tailored for document git repositories which are prone to have a lot of false positives.

PRs Welcome Open Source Love

Prerequisite

go 1.21.0

Installation

$ git clone https://github.com/0xFTW/docser

$ cd docser 

$ go install

$ go build

Adding to path

$ sudo mv docser /usr/local/bin/

$ chmod 755 /usr/local/bin/docser

Usage

$ docser -h
Usage: docser -d /path/to/directory
  -d string
        Directory to be scanned. (Default is current directory)
  -h    Displays help menu

Upgrade

You can upgrade the client to the latest version using the following command.

$ ./docser --upgrade
Application upgraded successfully.

If you are already using the latest version, you will see the following message.

./docser --upgrade
You are using the latest version.

Plans for future

  • Support for toml files for custom configuration
  • Logic to parse finding and show in similar to gitleaks.
  • Multi threading / concurrency for faster processing.
  • Support for remote git repository.

Contributing

  • Contributions make the open source community such an amazing place to learn, inspire, and create.
  • Any contributions you make are truly appreciated.
  • Check out our contribution guidelines for more information.

🛡 License

Docser is licensed under the MIT License - see the LICENSE file for details.