Module: Ronin::DB::Models

Defined in:
lib/ronin/db/models.rb

Overview

Manages all models defined in ronin-db-activerecord.

Constant Summary collapse

ALL =
[
  Address,
  Arch,
  Credential,
  EmailAddress,
  HostName,
  HostNameIPAddress,
  IPAddress,
  IPAddressMACAddress,
  MACAddress,
  OS,
  OSGuess,
  OpenPort,
  Organization,
  OrganizationStreetAddress,
  OrganizationCustomer,
  OrganizationDepartment,
  OrganizationPhoneNumber,
  OrganizationEmailAddress,
  OrganizationHostName,
  OrganizationIPAddress,
  Password,
  Person,
  PersonalPhoneNumber,
  PersonalEmailAddress,
  PersonalStreetAddress,
  PersonalConnection,
  Port,
  Service,
  ServiceCredential,
  Software,
  URLQueryParamName,
  URLQueryParam,
  URLScheme,
  URL,
  WebVuln,
  UserName,
  SoftwareVendor,
  WebCredential,
  ASN,
  HTTPQueryParamName,
  HTTPQueryParam,
  HTTPHeaderName,
  HTTPRequestHeader,
  HTTPResponseHeader,
  HTTPRequest,
  HTTPResponse,
  Advisory,
  Vulnerability,
  CertName,
  CertIssuer,
  CertSubject,
  CertSubjectAltName,
  Cert,
  DNSQuery,
  DNSRecord,
  Note
]

Class Method Summary collapse

Class Method Details

.connectObject

Calls .connect on all Ronin::DB models.



148
149
150
# File 'lib/ronin/db/models.rb', line 148

def self.connect
  ALL.each(&:connection)
end