Skip to content

Commit b4bb1b5

Browse files
committed
fix whitespace patchups for current python meterpreter
1 parent 86c927e commit b4bb1b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/msf/core/payload/python/meterpreter_loader.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,9 @@ def stage_meterpreter(opts={})
132132
unless opts[:stageless_tcp_socket_setup].nil?
133133
socket_setup = opts[:stageless_tcp_socket_setup]
134134
socket_setup = socket_setup.split("\n")
135-
socket_setup.map! {|line| "\t\t#{line}\n"}
135+
socket_setup.map! {|line| " #{line}\n"}
136136
socket_setup = socket_setup.join
137-
met.sub!("\t\t# PATCH-SETUP-STAGELESS-TCP-SOCKET #", socket_setup)
137+
met.sub!(" # PATCH-SETUP-STAGELESS-TCP-SOCKET #", socket_setup)
138138
end
139139

140140
met

0 commit comments

Comments
 (0)