Class: FIDIUS::EvasionDB::Knowledge::Packet
- Inherits:
-
Connection
- Object
- ActiveRecord::Base
- Connection
- FIDIUS::EvasionDB::Knowledge::Packet
- 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_name ⇒ Object
7 8 9 |
# File 'lib/evasion-db/knowledge/packet.rb', line 7 def self.table_name "packets" end |
Instance Method Details
#payload ⇒ Object
11 12 13 14 |
# File 'lib/evasion-db/knowledge/packet.rb', line 11 def payload return [] if self[:payload] == nil self[:payload] end |