diff options
author | nlscc <66028747+nlscc@users.noreply.github.com> | 2021-02-09 19:44:21 +0100 |
---|---|---|
committer | nlscc <66028747+nlscc@users.noreply.github.com> | 2021-02-09 19:45:21 +0100 |
commit | c9d3e13cd544664eb84377a44fdc0a8032e54aa3 (patch) | |
tree | 479df4537ff92589d0066a662b4fff09ff67ea64 | |
parent | add code of conduct (diff) | |
download | samloader-c9d3e13cd544664eb84377a44fdc0a8032e54aa3.tar samloader-c9d3e13cd544664eb84377a44fdc0a8032e54aa3.tar.gz samloader-c9d3e13cd544664eb84377a44fdc0a8032e54aa3.tar.bz2 samloader-c9d3e13cd544664eb84377a44fdc0a8032e54aa3.tar.lz samloader-c9d3e13cd544664eb84377a44fdc0a8032e54aa3.tar.xz samloader-c9d3e13cd544664eb84377a44fdc0a8032e54aa3.tar.zst samloader-c9d3e13cd544664eb84377a44fdc0a8032e54aa3.zip |
-rw-r--r-- | samloader/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samloader/main.py b/samloader/main.py index 63dd82e..57210dc 100644 --- a/samloader/main.py +++ b/samloader/main.py @@ -59,7 +59,7 @@ def main(): return print("decyrpting", out) # TODO: remove code duplication with decrypt command - getkey = crypt.getv2key if filename.endswith(".enc2") else crypt.getenc4key + getkey = crypt.getv2key if filename.endswith(".enc2") else crypt.getv4key key = getkey(args.fw_ver, args.dev_model, args.dev_region) length = os.stat(out).st_size with open(out, "rb") as inf: |