X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/c44241fdea1235f85f5a134fa4bc7dade39824bb..8720c8f5d78adc1b74db72a6d5a4b6dbf82137bb:/client/lualibs/html_dumplib.lua diff --git a/client/lualibs/html_dumplib.lua b/client/lualibs/html_dumplib.lua index 66a3e037..e730920c 100644 --- a/client/lualibs/html_dumplib.lua +++ b/client/lualibs/html_dumplib.lua @@ -107,7 +107,7 @@ local function convert_bin_to_html(input, output, blockLen) blockLen = blockLen or 16 output = output or input .. 'html' - local infile = io.open(input, "r") + local infile = io.open(input, "rb") if infile == nil then return oops(string.format("Could not read file %s",tostring(input))) end