add masm lang support

This commit is contained in:
shellchocolat 2023-06-02 07:45:23 +02:00
parent 9191272bf9
commit d17908e5ef
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ module Rex
#
# Converts to a masm style array of bytes
#
def self.to_mas(str, wrap = DefaultWrap, name = "")
def self.to_masm(str, wrap = DefaultWrap, name = "")
raise ArgumentError.new('str can not be empty') if str.empty?
a = to_hex(str)
a.gsub!(/\\x/, '')