beefproject/beef-migration-test — Issue #116: 371 - 1.9.2p180:  
Author: beefproject
Created: 2011-12-03 02:06:43+00:00
State: open

ruby: 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10]
OS: Snow Leopard 10.6.8

Sometimes, for example lunching BeEF from IntelliJ 10.5, this error is thrown when a browser is hooked. The error prevent the hooking to work...

[2011-07-09 15:16:37] ERROR ArgumentError: invalid byte sequence in US-ASCII
/opt/local/lib/ruby1.9/gems/1.9.1/gems/erubis-2.6.6/lib/erubis/enhancer.rb:603:in `scan'
/opt/local/lib/ruby1.9/gems/1.9.1/gems/erubis-2.6.6/lib/erubis/enhancer.rb:603:in `convert_input'
/opt/local/lib/ruby1.9/gems/1.9.1/gems/erubis-2.6.6/lib/erubis/converter.rb:36:in `convert'
/opt/local/lib/ruby1.9/gems/1.9.1/gems/erubis-2.6.6/lib/erubis/engine.rb:30:in `initialize'
/Users/antisnatchor/WORKS/BEEF/BeEF-proxy/core/main/handlers/modules/beefjs.rb:57:in `new'
/Users/antisnatchor/WORKS/BEEF/BeEF-proxy/core/main/handlers/modules/beefjs.rb:57:in `build_beefjs!'
/Users/antisnatchor/WORKS/BEEF/BeEF-proxy/core/main/handlers/hookedbrowsers.rb:64:in `do_GET'
/opt/local/lib/ruby1.9/1.9.1/webrick/httpservlet/abstract.rb:35:in `service'
/opt/local/lib/ruby1.9/1.9.1/webrick/httpserver.rb:111:in `service'
/opt/local/lib/ruby1.9/1.9.1/webrick/httpserver.rb:70:in `run'
/opt/local/lib/ruby1.9/1.9.1/webrick/server.rb:183:in `block in start_thread'

Original link: http://code.google.com/p/beef/issues/detail?id=371