Skip to content

Commit 55147d9

Browse files
committed
Fix regex to work on OSX's file(1)
1 parent 9fee686 commit 55147d9

File tree

1 file changed

+1
-1
lines changed
  • spec/support/shared/contexts/msf/util

1 file changed

+1
-1
lines changed

spec/support/shared/contexts/msf/util/exe.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"osx" => [
3333
{ :format => "macho", :arch => "x86", :file_fp => /Mach-O.*i386/ },
3434
{ :format => "macho", :arch => "x64", :file_fp => /Mach-O 64/ },
35-
{ :format => "macho", :arch => "armle", :file_fp => /Mach-O.*acorn/ },
35+
{ :format => "macho", :arch => "armle", :file_fp => /Mach-O.*(acorn|arm)/ },
3636
{ :format => "macho", :arch => "ppc", :file_fp => /Mach-O.*ppc/ },
3737
],
3838
}

0 commit comments

Comments
 (0)