]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/scripts/ndef_dump.lua
Merge pull request #402 from pwpiwi/env_flags
[proxmark3-svn] / client / scripts / ndef_dump.lua
index f89f6db26a4a1a4f77f5a1469eb2e8bee3dd2790..3b27cac37b31b9e174e7a784ad51950e9694a76c 100644 (file)
@@ -59,8 +59,7 @@ local utils = {
 
                        local formatString = string.format("H%d", string.len(block))
                        local _,hex = bin.unpack(formatString,block)
 
                        local formatString = string.format("H%d", string.len(block))
                        local _,hex = bin.unpack(formatString,block)
-                       file:write(hex)
-                       file:write(0x0A) -- Line feed
+                       file:write(hex.."\n")
                end
                file:close()    
                return destination
                end
                file:close()    
                return destination
@@ -206,7 +205,7 @@ local function main( args)
 
        -- NDEF compliant?
        if b3chars[1] ~= 0xE1 then 
 
        -- NDEF compliant?
        if b3chars[1] ~= 0xE1 then 
-               return oops("This tag is not NDEF-Complian")
+               return oops("This tag is not NDEF-Compliant")
        end 
 
        local ndefVersion = b3chars[2]  
        end 
 
        local ndefVersion = b3chars[2]  
Impressum, Datenschutz