remove redundant return
parent
97d08e0da4
commit
048316864c
|
@ -49,7 +49,7 @@ class MetasploitModule < Msf::Exploit::Remote
|
|||
escaped_payload = payload.encoded.gsub(/"/, '\\"')
|
||||
msg_body = MESSAGE_TEMPLATE % {:payload => escaped_payload}
|
||||
msg_header = MESSAGE_HEADER_TEMPLATE % {:length => msg_body.length}
|
||||
return msg_header + msg_body
|
||||
msg_header + msg_body
|
||||
end
|
||||
|
||||
def check
|
||||
|
|
Loading…
Reference in New Issue