This commit is contained in:
iceman1001 2020-01-07 22:14:01 +01:00
commit 47eab16881
5 changed files with 242 additions and 242 deletions

View file

@ -75,9 +75,9 @@ local function dumptofile(uid, keys)
dbg('dumping keys to file')
if utils.confirm('Do you wish to save the keys to dumpfile?') then
local filename = ('hf-mf-%s-key.bin'):format(uid);
local destination = utils.input('Select a filename to store to', filename)
local file = io.open(destination, 'wb')
if file == nil then