Giter Site home page Giter Site logo

rapid7 / metasploit-model Goto Github PK

View Code? Open in Web Editor NEW
11.0 78.0 21.0 2.08 MB

Common code, such as validators and mixins, that are shared between ActiveModels in metasploit-framework and ActiveRecords in metasploit_data_models

License: BSD 3-Clause "New" or "Revised" License

Ruby 98.77% JavaScript 0.22% CSS 0.19% HTML 0.81%

metasploit-model's Introduction

Metasploit::Model Build StatusCode ClimateDependency StatusGem VersionInline docsPullReview stats

Versioning

Metasploit::Model is versioned using semantic versioning 2.0. Each branch should set Metasploit::Model::Version::PRERELEASE to the branch SUMMARY, while master should have no PRERELEASE and the PRERELEASE section of Metasploit::Model::VERSION does not exist.

Installation

Add this line to your application's Gemfile:

gem 'metasploit-model'

And then execute:

$ bundle

This gem's Rails::Engine is not required automatically. You'll need to also add the following to your config/application.rb:

require 'metasploit/model/engine'

Or install it yourself as:

$ gem install metasploit-model

Running tests

Copy the database configuration and modify as appropriate:

cp spec/dummy/config/database.yml.github_actions spec/dummy/config/database.yml

Set up the database:

bundle exec rake db:test:prepare
bundle exec rake db:migrate RAILS_ENV=test

Run the test suite:

bundle exec rspec

Contributing

See CONTRIBUTING.md

metasploit-model's People

Contributors

acammack-r7 avatar adfoster-r7 avatar bpatterson-r7 avatar bturner-r7 avatar cgranleese-r7 avatar darkbushido avatar dmohanty-r7 avatar dwelch-r7 avatar egypt avatar ethompson-r7 avatar farias-r7 avatar gen0cide avatar jhart-r7 avatar jmartin-tech avatar joevennix avatar jvennix-r7 avatar limhoff-r7 avatar lsato-r7 avatar mbuck-r7 avatar mhagan-r7 avatar msjenkins-r7 avatar sgonzalez-r7 avatar shuckins-r7 avatar simonirwin-r7 avatar sjanusz-r7 avatar techpeace avatar todb avatar trevrosen avatar trosen-r7 avatar wvu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

metasploit-model's Issues

Close this issues page, point to Metasploit-Framework's issues

Since 614b0aa in 2011, we've seen one issue filed against this repo.

I suspect that there is no case anyone would want to file a bug here -- they really want to file a bug over on rapid7/metasploit-framework.

Seems like the CONTRIBUTING.md page should point people there, and disable issues.

I bet this goes for a few of the support gems. I'm happy to sort this out. About the only support gem that gets issues with any frequency is rapid7/meterpreter.

metasploit-model installs /usr/bin/rails

Hello,

If metasploit-model is installed a system package, it would install ./bin/rails into /usr/bin/rails which is a system file and would conflict with system rails.

Can you rename it to something like msf-rails?

Thanks

Cannot visit IPAddr

Rails 4 uses IPAddr on postgresql for the inet columns.

Mdm::Host.find_by_address(IPAddr.new('10.0.0.1') ) throws a
TypeError:
Cannot visit IPAddr

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.