improve regex
parent
9b3211af6b
commit
8ab7964aa7
|
@ -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/ },
|
||||
|
|
Loading…
Reference in New Issue