Changeset 5483

Show
Ignore:
Timestamp:
04/21/08 00:41:53 (3 weeks ago)
Author:
hdm
Message:

Add the CTS/RTS and DEAUTH modules. Improve HTTP capture module error handling

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • framework3/trunk/modules/auxiliary/server/capture/http.rb

    r5482 r5483  
    7171         
    7272        def on_client_data(cli) 
     73 
    7374                begin 
    7475                        data = cli.get_once(-1, 5) 
     
    8384                        end 
    8485                rescue ::EOFError, ::Errno::EACCES, ::Errno::ECONNABORTED, ::Errno::ECONNRESET 
     86                rescue ::OpenSSL::SSL::SSLError 
    8587                rescue ::Exception 
    8688                        print_status("Error: #{$!.class} #{$!} #{$!.backtrace}") 
    8789                end 
    8890                 
    89                 close_client(cli) 
    90                                                          
     91                close_client(cli)                                                
    9192        end 
    9293