Fix regex to work on OSX's file(1)
parent
9fee68660b
commit
55147d9bde
|
@ -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/ },
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue