Class: Ronin::DB::OSGuess

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

Overview

Represents a guess about what OS an IPAddress might be running.

Instance Attribute Summary collapse

Method Summary

Methods included from Model

included

Instance Attribute Details

#created_atTime (readonly)

Tracks when an OS guess is made against an IP Address.

Returns:

  • (Time)


60
# File 'lib/ronin/db/os_guess.rb', line 60

attribute :created_at, :datetime

#idInteger

The primary-key of the OS guess.

Returns:

  • (Integer)


40
# File 'lib/ronin/db/os_guess.rb', line 40

attribute :id, :integer

#ip_addressIPAddress

The IP Address the OS guess was made against.

Returns:



46
47
# File 'lib/ronin/db/os_guess.rb', line 46

belongs_to :ip_address, required:   true,
class_name: 'IPAddress'

#osOS

The guessed OS.

Returns:



53
54
# File 'lib/ronin/db/os_guess.rb', line 53

belongs_to :os, required:   true,
class_name: 'OS'