Skip to content

Commit 906c4a9

Browse files
committed
use + instead of <<
1 parent 5880702 commit 906c4a9

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, '') + "\n"
3030
when 'dword', 'dw'
3131
buf = Rex::Text.to_dword(buf)
3232
when 'python', 'py'

0 commit comments

Comments
 (0)