1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-27 00:29:03 +00:00

\x is not a valid escape sequence...

This commit is contained in:
batrick
2011-09-09 19:08:13 +00:00
parent bf51635ae3
commit c4d6d12be7

View File

@@ -1151,7 +1151,7 @@ function makeStringReadable(data)
if x > 31 and x <127 then
r = r .. data:sub(i,i)
else
r = r .. ("\x%x"):format(x)
r = r .. ("\\x%x"):format(x)
end
end
return r