From bd5f7662c518268b0c1b2f9c81d4f25c93cb0d3b Mon Sep 17 00:00:00 2001 From: dkemp Date: Tue, 24 Feb 2009 16:18:34 +0000 Subject: [PATCH] git-svn-id: https://dedected.org/svn/trunk@79 8d8ab74c-27aa-4a3d-9bde-523a2bc1f624 --- metasploit-dect/scanner.rb | 63 -------------------------------------- 1 file changed, 63 deletions(-) delete mode 100755 metasploit-dect/scanner.rb 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 '], - '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