Class: Ronin::DB::Service

Inherits:
ActiveRecord::Base
  • Object
show all
Includes:
Model, Model::HasUniqueName
Defined in:
lib/ronin/db/service.rb

Overview

Represents a TCP/UDP Service that runs on various common ports.

Instance Attribute Summary collapse

Attributes included from Model::HasUniqueName

#name

Method Summary

Methods included from Model::HasUniqueName

included

Methods included from Model

included

Instance Attribute Details

#idInteger

Primary key of the service

Returns:

  • (Integer)


38
# File 'lib/ronin/db/service.rb', line 38

attribute :id, :integer

#open_portsArray<OpenPort>

The open ports running the service

Returns:



44
# File 'lib/ronin/db/service.rb', line 44

has_many :open_ports