Skip to content

Commit 96104c5

Browse files
committed
Fix hard vs soft tabs
1 parent c71b577 commit 96104c5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/msf/base/simple/buffer.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ module Buffer
2222
def self.transform(buf, fmt = "ruby")
2323
case fmt
2424
when 'raw'
25-
when 'python', 'py'
26-
buf = Rex::Text.to_python(buf)
25+
when 'python', 'py'
26+
buf = Rex::Text.to_python(buf)
2727
when 'ruby', 'rb'
2828
buf = Rex::Text.to_ruby(buf)
2929
when 'perl', 'pl'

msfpayload

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ if (cmd =~ /^(p|y|r|d|c|j|x|b|v|w|n)/)
129129
fmt = 'js_le' if (cmd =~ /^j/ and ! fmt)
130130
fmt = 'java' if (cmd =~ /^b/)
131131
fmt = 'raw' if (cmd =~ /^w/)
132-
fmt = 'python' if (cmd =~ /^n/)
132+
fmt = 'python' if (cmd =~ /^n/)
133133
enc = options['ENCODER']
134134

135135
begin

0 commit comments

Comments
 (0)