From f6238f1ffb49891261c88b001cdc6b13ca6f70cb Mon Sep 17 00:00:00 2001 From: sinn3r Date: Wed, 28 Jan 2015 19:42:06 -0600 Subject: [PATCH] Auto-trim descriptions --- msfvenom | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/msfvenom b/msfvenom index ce71588dee..a4c2313aae 100755 --- a/msfvenom +++ b/msfvenom @@ -208,7 +208,7 @@ require 'msf/core/payload_generator' ]) framework.payloads.each_module { |name, mod| - tbl << [ name, mod.new.description ] + tbl << [ name, mod.new.description.split.join(' ') ] } "\n" + tbl.to_s + "\n" @@ -249,7 +249,7 @@ require 'msf/core/payload_generator' ]) framework.nops.each_module { |name, mod| - tbl << [ name, mod.new.description ] + tbl << [ name, mod.new.description.split.join(' ') ] } "\n" + tbl.to_s + "\n"