Auto-trim descriptions

bug/bundler_fix
sinn3r 2015-01-28 19:42:06 -06:00
parent ae0214517a
commit f6238f1ffb
1 changed files with 2 additions and 2 deletions

View File

@ -208,7 +208,7 @@ require 'msf/core/payload_generator'
]) ])
framework.payloads.each_module { |name, mod| framework.payloads.each_module { |name, mod|
tbl << [ name, mod.new.description ] tbl << [ name, mod.new.description.split.join(' ') ]
} }
"\n" + tbl.to_s + "\n" "\n" + tbl.to_s + "\n"
@ -249,7 +249,7 @@ require 'msf/core/payload_generator'
]) ])
framework.nops.each_module { |name, mod| framework.nops.each_module { |name, mod|
tbl << [ name, mod.new.description ] tbl << [ name, mod.new.description.split.join(' ') ]
} }
"\n" + tbl.to_s + "\n" "\n" + tbl.to_s + "\n"