beefproject/beef — Issue #421: 1.9.2p180: throws non-blocking exception "Encoding::CompatibilityError: incompatible encoding regexp match"
Author: passbe
Created: 2011-12-10 23:15:00+00:00
State: open

Ruby -> 1.9.2p190
OS -> Win XP sp3

When a new browser is hooked in the framework, the following (non-blocking) exception is thrown:
[2011-07-04 16:29:50] ERROR Encoding::CompatibilityError: incompatible encoding regexp match (ASCII-8BIT regexp with UTF-8 string)
C:/BeEF/core/filters/browser.rb:57:in `is_valid_browser_plugins?'
C:/BeEF/extensions/initialization/handler.rb:87:in `setup'
C:/BeEF/extensions/initialization/handler.rb:34:in `initialize'
C:/BeEF/core/main/network_stack/handlers/dynamicreconstruction.rb:105:in `new'
C:/BeEF/core/main/network_stack/handlers/dynamicreconstruction.rb:105:in `execute'
C:/BeEF/core/main/network_stack/handlers/dynamicreconstruction.rb:81:in `block in check_packets'
C:/BeEF/core/main/network_stack/handlers/dynamicreconstruction.rb:56:in `each'
C:/BeEF/core/main/network_stack/handlers/dynamicreconstruction.rb:56:in `check_packets'
C:/BeEF/core/main/network_stack/handlers/dynamicreconstruction.rb:48:in `do_POST'
C:/Ruby192/lib/ruby/1.9.1/webrick/httpservlet/abstract.rb:35:in `service'
C:/Ruby192/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
C:/Ruby192/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
C:/Ruby192/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
Google Code Issue: http://code.google.com/p/beef/issues/detail?id=365