BigNerd95 / RouterOS-Backup-Tools

Tools to encrypt/decrypt and pack/unpack RouterOS v6.13+ backup files
GNU Lesser General Public License v3.0
280 stars 101 forks source link

issue in decrypting #8

Closed barmoudeh closed 3 years ago

barmoudeh commented 5 years ago

hello I get this error: RouterOS Encrypted Backup ('Length:', 130590, 'bytes') Traceback (most recent call last): File "ROSbackup.py", line 426, in main() File "ROSbackup.py", line 415, in main decrypt(args.input, args.output, args.password) File "ROSbackup.py", line 225, in decrypt print("Salt (hex):", salt.hex()) AttributeError: 'str' object has no attribute 'hex'

BigNerd95 commented 5 years ago

Did you use python2?

lamasek commented 4 years ago

Hello, I have similar issue - deciphering config with aes-sha256 did not working: ROSbackup.py decrypt -i domgw.netio.eu-20191108-1612.backup -o domgw.netio.eu- 20191108-1612.plain -p bezhesla Decrypt Backup Invalid file! Cannot decrypt!

When I use RC4 it works perfectly, so thanks for your software, it is working at least like this...

BigNerd95 commented 4 years ago

My tool doesn't support AES yet I'll add it as soon as I have time