X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/c44241fdea1235f85f5a134fa4bc7dade39824bb..6db28145eacac986d481ceadf7ee9fc1061555fd:/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