diff --git a/lib/rex/exploitation/omelet.rb b/lib/rex/exploitation/omelet.rb index 6147949f73..9e51d1c736 100644 --- a/lib/rex/exploitation/omelet.rb +++ b/lib/rex/exploitation/omelet.rb @@ -105,7 +105,7 @@ class Omelet hextag = '' eggtag.each_byte do |thischar| - decchar = "%02x" % thischar + decchar = "%02x" % thischar[0,1].unpack('C') hextag = decchar + hextag end hextag = hextag + "01"