Skip to content

Commit 1d2fc98

Browse files
committed
remove newline
1 parent 906c4a9 commit 1d2fc98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/msf/base/simple/buffer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def self.transform(buf, fmt = "ruby", var_name = 'buf')
2626
when 'num'
2727
buf = Rex::Text.to_num(buf)
2828
when 'hex'
29-
buf = Rex::Text.to_hex(buf, '') + "\n"
29+
buf = Rex::Text.to_hex(buf, '')
3030
when 'dword', 'dw'
3131
buf = Rex::Text.to_dword(buf)
3232
when 'python', 'py'

0 commit comments

Comments
 (0)