1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-10-29 18:07:27 +01:00

Fix obvious introduced bug

This commit is contained in:
jvazquez-r7 2014-10-06 18:56:25 -05:00
parent 6b52ce9101
commit 6f174a9996

View File

@ -28,7 +28,6 @@ class Metasploit3 < Msf::Encoder
# Encodes the payload
#
def encode_block(state, buf)
raise RuntimeError
# Skip encoding for empty badchars
if state.badchars.length == 0
return buf