1

I have a Lua Compiled file (5.1). I decompiled it and I have this operation:

if L2_3 == "MS" then
  L3_4 = print
  L4_5 = "Mfg install mode"
  L3_4(L4_5)
  L3_4 = true
  return L3_4
else
  L3_4 = print
  L4_5 = "Normal install mode"
  L3_4(L4_5)
end

I need to change bytes oh compiled file, to obtain this:

if L2_3 ~= "MS" then
  L3_4 = print
  L4_5 = "Mfg install mode"
  L3_4(L4_5)
  L3_4 = true
  return L3_4
else
  L3_4 = print
  L4_5 = "Normal install mode"
  L3_4(L4_5)
end

It run on a QNX platform.. I need to change from == to ~= by changing one or more bytes, with a hexadecimal editor, in the compiled lua file... is it possible? thanks

I have witten this on a file and compiled, with == and with ~=, but bytes differences are not applicable on original compiled file...

Tajadela
  • 11
  • 4

0 Answers0