Class: FIDIUS::EvasionDB::Knowledge::Packet

Inherits:
Connection
  • Object
show all
Defined in:
lib/evasion-db/knowledge/packet.rb

Overview

every attack module sends multiple packets which are stored within this model

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.table_nameObject



7
8
9
# File 'lib/evasion-db/knowledge/packet.rb', line 7

def self.table_name
  "packets"
end

Instance Method Details

#payloadObject



11
12
13
14
# File 'lib/evasion-db/knowledge/packet.rb', line 11

def payload
  return [] if self[:payload] == nil
  self[:payload]
end