diff --git a/lib/msf/base/simple/buffer.rb b/lib/msf/base/simple/buffer.rb index af0ca5ee62..d786bafda6 100644 --- a/lib/msf/base/simple/buffer.rb +++ b/lib/msf/base/simple/buffer.rb @@ -26,7 +26,7 @@ module Buffer when 'num' buf = Rex::Text.to_num(buf) when 'hex' - buf = Rex::Text.to_hex(buf, '') + "\n" + buf = Rex::Text.to_hex(buf, '') when 'dword', 'dw' buf = Rex::Text.to_dword(buf) when 'python', 'py'