diff options
author | dkemp <dkemp@8d8ab74c-27aa-4a3d-9bde-523a2bc1f624> | 2009-02-24 16:18:34 +0000 |
---|---|---|
committer | dkemp <dkemp@8d8ab74c-27aa-4a3d-9bde-523a2bc1f624> | 2009-02-24 16:18:34 +0000 |
commit | bd5f7662c518268b0c1b2f9c81d4f25c93cb0d3b (patch) | |
tree | a83a1080cd40ec8eca682a13047675b365ecdba8 | |
parent | 8a063e555437659fc0f689c29e8a68f5c44cc490 (diff) |
git-svn-id: https://dedected.org/svn/trunk@79 8d8ab74c-27aa-4a3d-9bde-523a2bc1f624
-rwxr-xr-x | metasploit-dect/scanner.rb | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/metasploit-dect/scanner.rb b/metasploit-dect/scanner.rb deleted file mode 100755 index 4f865fc..0000000 --- a/metasploit-dect/scanner.rb +++ /dev/null @@ -1,63 +0,0 @@ -require 'msf/core' - - -class Metasploit3 < Msf::Auxiliary - - include Msf::Exploit::COA - - def initialize - super( - 'Name' => 'DECT Base Station Scanner', - 'Version' => '$revision$', - 'Description' => %q{ - This module scans for DECT device base stations. - }, - 'Author' => - ['DK <privilegedmode@gmail.com>'], - 'References' => - [ - ['Dedected', 'http://www.dedected.org'], - ], - 'License' => MSF_LICENSE - ) - - register_options( - [ - OptString.new('VERBOSE',[true,'Be verbose.',true]) - ], - self.class - ) - - end - - base_stations = [] - - def run - print_status("Opening interface: #{datastore['INTERFACE']}") - open_coa - print_status("Using band: #{band}") - print_status("Changing to fp scan mode.") - fp_scan_mode - print_status("Scanning..") - - while (true) - data = poll - - if (data != nil) - puts data - parsed_data = parse_station(data) - print_status("Found RFPI: #{parsed_data['rfpi']}") - end - - next_channel - - if (datastore['VERBOSE']) - print_status("Switching to channel: #{channel}") - end - sleep(1) - end - - stop - close_coa - end -end |