improve regex

bug/bundler_fix
sinn3r 2013-11-11 15:29:34 -06:00
parent 9b3211af6b
commit 8ab7964aa7
1 changed files with 10 additions and 10 deletions

View File

@ -24,10 +24,10 @@ shared_context 'Msf::Util::Exe' do
{ :format => "loop-vbs", :arch => "x86_64", :file_fp => /ASCII/ },
{ :format => "asp", :arch => "x86", :file_fp => /ASCII/ },
{ :format => "asp", :arch => "x86_64", :file_fp => /ASCII/ },
{ :format => "aspx-exe", :arch => "x86", :file_fp => /ASCII|HTML document text/ },
{ :format => "aspx-exe", :arch => "x86_64", :file_fp => /ASCII|HTML document text/ },
{ :format => "aspx", :arch => "x86", :file_fp => /ASCII|HTML document text/ },
{ :format => "aspx", :arch => "x86_64", :file_fp => /ASCII|HTML document text/ },
{ :format => "aspx-exe", :arch => "x86", :file_fp => /(ASCII)|(HTML document text)/ },
{ :format => "aspx-exe", :arch => "x86_64", :file_fp => /(ASCII)|(HTML document text)/ },
{ :format => "aspx", :arch => "x86", :file_fp => /(ASCII)|(HTML document text)/ },
{ :format => "aspx", :arch => "x86_64", :file_fp => /(ASCII)|(HTML document text)/ },
{ :format => "vba", :arch => "x86", :file_fp => /ASCII/ },
{ :format => "vba", :arch => "x86_64", :file_fp => /ASCII/ },
{ :format => "vba-exe", :arch => "x86", :file_fp => /ASCII/ },
@ -38,12 +38,12 @@ shared_context 'Msf::Util::Exe' do
{ :format => "psh-net", :arch => "x86_64", :file_fp => /ASCII/ },
{ :format => "war", :arch => "x86", :file_fp => /Zip/ },
{ :format => "war", :arch => "x86_64", :file_fp => /Zip/ },
{ :format => "msi", :arch => "x86", :file_fp => /Composite Document|CDF V2 Document/ },
{ :format => "msi", :arch => "x64", :file_fp => /Composite Document|CDF V2 Document/ },
{ :format => "msi", :arch => "x86_64", :file_fp => /Composite Document|CDF V2 Document/ },
{ :format => "msi-nouac", :arch => "x86", :file_fp => /Composite Document|CDF V2 Document/ },
{ :format => "msi-nouac", :arch => "x64", :file_fp => /Composite Document|CDF V2 Document/ },
{ :format => "msi-nouac", :arch => "x86_64", :file_fp => /Composite Document|CDF V2 Document/ },
{ :format => "msi", :arch => "x86", :file_fp => /(Composite Document)|(CDF V2 Document)/ },
{ :format => "msi", :arch => "x64", :file_fp => /(Composite Document)|(CDF V2 Document)/ },
{ :format => "msi", :arch => "x86_64", :file_fp => /(Composite Document)|(CDF V2 Document)/ },
{ :format => "msi-nouac", :arch => "x86", :file_fp => /(Composite Document)|(CDF V2 Document)/ },
{ :format => "msi-nouac", :arch => "x64", :file_fp => /(Composite Document)|(CDF V2 Document)/ },
{ :format => "msi-nouac", :arch => "x86_64", :file_fp => /(Composite Document)|(CDF V2 Document)/ },
],
"linux" => [
{ :format => "elf", :arch => "x86", :file_fp => /ELF 32.*SYSV/ },