• Stars
    star
    158
  • Rank 237,095 (Top 5 %)
  • Language
    Python
  • License
    GNU General Publi...
  • Created over 7 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Python script to scan Git repos for interesting strings

Reposcanner

Reposcanner is a python script to search through the commit history of Git repositories looking for interesting strings such as API keys, inspired by truffleHog.

Installation

The python Git module is required (python3-git on Debian).

Docker

docker build -t reposcanner .
docker run -it --rm reposcanner -h
docker run -it --rm reposcanner -r <repository>

Usage

./reposcanner -r <repository>

Options:

optional arguments:
  -h, --help                     show this help message and exit
  -r REPO, --repo REPO           Repo to scan
  -c COUNT, --count COUNT        Number of commits to scan (default all)
  -e ENTROPY, --entropy ENTROPY  Minimum entropy to report (default 4.3)
  -l LENGTH, --length LENGTH     Maxmimum line length (default 500)
  -b BRANCH, --branch BRANCH     Scan a specific branch
  -v, --verbose                  Verbose output

Example:

./reposcanner.py -r https://github.com/Dionach/reposcanner -v -a -c 30

More Repositories

1

CMSmap

CMSmap is a python open source CMS scanner that automates the process of detecting security flaws of the most popular CMSs.
Python
1,011
star
2

NtdsAudit

An Active Directory audit utility
C#
398
star
3

PhEmail

PhEmail is a python open source phishing email tool that automates the process of sending phishing emails as part of a social engineering test
Python
327
star
4

PANhunt

PANhunt searches for credit card numbers (PANs) in directories.
Python
133
star
5

StripHeaders

A Native-Code module for IIS 7.0 and above, designed to easily remove unnecessary response headers and prevent information leakage of software and version information, which can be useful to an attacker.
C++
122
star
6

pgexec

Script and resources to execute shell commands using access to a PostgreSQL service
Shell
62
star
7

PassHunt

Search drives for documents containing passwords
Python
61
star
8

pwdumpstats

Script to output stats around weak passwords and password re-use from an NtdsAudit (pwdump) file
Python
56
star
9

Splunk-Web-Shell

Splunk Web Shell
JavaScript
50
star
10

HeadersAnalyzer

Burp extension that checks for interesting and security headers
Python
42
star
11

ShareAudit

A tool for auditing network shares in an Active Directory environment
C#
40
star
12

CodeIgniterXor

CodeIgniter <=2.1.4 session cookie decryption vulnerability
Python
39
star
13

magicmapping

Script to find exploitable magic methods for PHP object injection
PHP
27
star
14

FlashSec

Repository aimed to compile scripts and tools that can be used during penetration tests to assess the security of different flash related scenarios.
ActionScript
10
star