Skip to content

carnal0wnage/changeme

 
 

Repository files navigation

changme Build Status

A default credential scanner.

About

I wrote changeme out of frustration with commercial vulnerability scanners missing common default credentials. Getting default credentials added to commercial scanners is often difficult and slow. changeme is designed to be simple to add new credentials without having to write any code or modules.

changeme keeps credential data separate from code. All credentials are stored in yaml files so they can be both easily read by humans and processed by changeme. Credential files can be created by using the ./changeme.py --mkcred tool and answering a few questions.

Installation

Use pip to install the python modules: pip install -r requirements.txt

Usage Examples

Scan a subnet for default creds: ./changeme.py -s 192.168.59.0/24

Scan a single host: ./changeme.py -s 192.168.59.100

Scan using an nmap file ./changeme.py -x subnet.xml

Scan a subnet for Tomcat default creds and set the timeout to 5 seconds: ./changeme.py -s 192.168.59.0/24 -n "Apache Tomcat" --timeout 5

Use Shodan to populate a targets list and check them for default credentials: ./changeme.py --shodan_query "Server: SQ-WEBCAM" --shodan_key keygoeshere -c camera

Scan for SSH and known SSH keys ./changeme.py -s 192.168.59.0/24 --protocols ssh,ssh_key

Bugs and Enhancements

Bugs and enhancements are tracked at https://github.com/ztgrace/changeme/issues.

Request a credential: Please add an issue to Github and apply the credential label.

Vote for a credential: If you would like to help us prioritize which credentials to add, you can add a comment to a credential issue.

Please see the wiki for more details.

Contributors

Thanks for code contributions and suggestions.

  • @m0ther_

About

A default credential scanner.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%