GithubHelp home page GithubHelp logo

anthrax3 / littleblackbox Goto Github PK

View Code? Open in Web Editor NEW

This project forked from devttys0/littleblackbox

0.0 1.0 0.0 9.98 MB

Database of private SSL/SSH keys for embedded devices

Makefile 2.60% C 93.85% M4 3.56%

littleblackbox's Introduction

littleblackbox

Database of private SSL/SSH keys for embedded devices

Dependencies

LittleBlackBox requires the OpenSSL, libpcap, and sqlite3 libraries:

$ sudo apt-get install libssl-dev libpcap-dev libsqlite3-dev

Installation

LittleBlackBox can be built and installed using the typical configure/make process:

$ ./configure
$ make
$ sudo make install

Usage

Check a remote host for a known SSL key pair:

$ littleblackbox --host=192.168.1.1
$ littleblackbox --host=192.168.1.1:443

Check a pcap file for SSL certificate exchanges that match a known SSL private key:

$ littleblackbox --pcap=file.pcap

Listen on a live network interface for SSL certificate exchanges that match a known SSL private key:

# littleblackbox --interface=eth0

Check a local SSL certificate to see if it matches any that have a known SSL private key:

$ littleblackbox --pem=cert.pem

Search the database for a given hardware/firmware version:

$ littleblackbox --search=hardware.vendor=linksys
$ littleblackbox --search=firmware.vendor=dd-wrt

List of all valid table/column values for use with the --search option (requires sqlite3):

$ sqlite3 lbb.db
sqlite> .schema
CREATE TABLE certificates(id INTEGER PRIMARY KEY, fingerprint TEXT, certificate TEXT, key TEXT, description TEXT);
CREATE TABLE firmware(id INTEGER PRIMARY KEY, device_id INTEGER, certificate_id INTEGER, vendor TEXT, description TEXT);
CREATE TABLE hardware(id INTEGER PRIMARY KEY, vendor TEXT, model TEXT, revision TEXT, description TEXT);

littleblackbox's People

Contributors

devttys0 avatar

Watchers

 avatar

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.