ronin-db
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
- Ruby >= 3.0.0
- uri-query_params ~> 0.6
- sqlite3 ~> 1.0
- ronin-db-activerecord ~> 0.1
- ronin-support ~> 1.0
- ronin-core ~> 0.1
Install
$ gem install ronin-db
Gemfile
gem 'ronin-db', '~> 0.1'
gemspec
gem.add_dependency 'ronin-db', '~> 0.1'
Development
- Fork It!
- Clone It!
cd ronin-db
bundle install
git checkout -b my_feature
- Code It!
bundle exec rake spec
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/.