๐ Security Enhancements
- Password Hashing System Added
A new functionnpasshash()
has been implemented to securely store passwords:- Uses
PBKDF2
hashing with a fixed salt (trm_salt_2025
) and 100,000 iterations. - Stores hashes in a
.trm_shadow
file with restricted0600
permissions. - Protects credentials by avoiding plaintext storage.
- Uses
๐งโ๐ป Magisk and sudo.c Fixes
sudo.c
updated to prioritize the new Magisk path:
"/debug_ramdisk/su"
is now the primarysu
binary location, fixing compatibility with recent Magisk versions.- Fixed
sudo su
invocation:
Updated argument list to:char *args[8]; // su, [user], --interactive, -c, full_cmd, NULL
๐ Improvements
- ๐ง Minor improvements in:
ChangeTheme()
(better shell handling)UpdateConfigVariable()
(fallback line creation if missing)
- ๐งผ Cleaner configuration management and shell-specific options.