Fix regex to work on OSX's file(1)

bug/bundler_fix
James Lee 2013-08-06 14:00:35 -05:00
parent 9fee68660b
commit 55147d9bde
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ shared_context 'Msf::Util::Exe' do
"osx" => [ "osx" => [
{ :format => "macho", :arch => "x86", :file_fp => /Mach-O.*i386/ }, { :format => "macho", :arch => "x86", :file_fp => /Mach-O.*i386/ },
{ :format => "macho", :arch => "x64", :file_fp => /Mach-O 64/ }, { :format => "macho", :arch => "x64", :file_fp => /Mach-O 64/ },
{ :format => "macho", :arch => "armle", :file_fp => /Mach-O.*acorn/ }, { :format => "macho", :arch => "armle", :file_fp => /Mach-O.*(acorn|arm)/ },
{ :format => "macho", :arch => "ppc", :file_fp => /Mach-O.*ppc/ }, { :format => "macho", :arch => "ppc", :file_fp => /Mach-O.*ppc/ },
], ],
} }