just1602 / ronin-db

A common database library for managing and querying security data

Home Page:https://ronin-rb.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ronin-db

CI Code Climate

Description

ronin-db is a common database library for managing and querying security data. ronin-db provides common ORM models for interacting with the database's SQL tables and inserting/querying security data, such as URLs, email addresses, host names, IPs, ports, etc. ronin-db also provides CLI commands for managing the database(s).

ronin-db is part of the ronin-rb project, a Ruby toolkit for security research and development.

Features

  • Uses a [sqlite] database by default.
  • Provides common ActiveRecord models for interacting with the database tables.
  • Provides a ronin-db command for easy management of the database(s).

Synopsis

List available Databases:

$ ronin-db list

Add a new Database:

$ ronin-db add team --uri mysql://user:pass@vpn.example.com/db

Remove a Database:

$ ronin-db remove team

Requirements

Install

$ gem install ronin-db

Gemfile

gem 'ronin-db', '~> 0.1'

gemspec

gem.add_dependency 'ronin-db', '~> 0.1'

Development

  1. Fork It!
  2. Clone It!
  3. cd ronin-db
  4. bundle install
  5. git checkout -b my_feature
  6. Code It!
  7. bundle exec rake spec
  8. git push origin my_feature

License

Copyright (c) 2006-2022 Hal Brodigan (postmodern.mod3 at gmail.com)

ronin-db is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

ronin-db is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with ronin-db. If not, see https://www.gnu.org/licenses/.

About

A common database library for managing and querying security data

https://ronin-rb.dev

License:GNU Lesser General Public License v3.0


Languages

Language:Ruby 100.0%