Module: Wifimap::Parser
- Defined in:
- lib/wifimap/parser.rb,
lib/wifimap/parser/airodump.rb,
lib/wifimap/parser/sniff_probes.rb
Defined Under Namespace
Classes: Airodump, SniffProbes
Class Method Summary collapse
-
.dump_format(file_content) ⇒ Object
Check the file content and identify the correct dump format.
Class Method Details
.dump_format(file_content) ⇒ Object
Check the file content and identify the correct dump format.
8 9 10 11 |
# File 'lib/wifimap/parser.rb', line 8 def self.dump_format(file_content) return :airodump if airodump_format?(file_content) return :sniff_probes if sniff_probes_format?(file_content) end |