From 1d828a951fbc22fab2d72073c3b85a0474fe7935 Mon Sep 17 00:00:00 2001 From: sinn3r Date: Thu, 3 Jul 2014 12:46:56 -0500 Subject: [PATCH] string interpolation is preferred over concatenation Please refer to https://github.com/bbatsov/ruby-style-guide --- modules/post/windows/gather/enum_services.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/post/windows/gather/enum_services.rb b/modules/post/windows/gather/enum_services.rb index bba1337b07..828440f454 100644 --- a/modules/post/windows/gather/enum_services.rb +++ b/modules/post/windows/gather/enum_services.rb @@ -50,13 +50,13 @@ class Metasploit3 < Msf::Post qtype = datastore["TYPE"] end if qcred - print_status("Credential Filter: " + qcred) + print_status("Credential Filter: #{qcred}") end if qpath - print_status("Executable Path Filter: " + qpath) + print_status("Executable Path Filter: #{qpath}") end if qtype - print_status("Start Type Filter: " + qtype) + print_status("Start Type Filter: #{qtype}") end if datastore['VERBOSE']