mirror of
https://github.com/Astatin3/unshell.git
synced 2026-06-08 22:38:01 -06:00
Remove unshell_crypt, and change some of the naming to make it more accurate
This commit is contained in:
@@ -1,5 +1,17 @@
|
||||
mod junk_asm;
|
||||
mod strings;
|
||||
mod obs_junk_asm;
|
||||
mod obs_xor;
|
||||
mod sym_aes_strings;
|
||||
|
||||
pub use junk_asm::junk_asm;
|
||||
pub use strings::*;
|
||||
pub use obs_junk_asm::junk_asm;
|
||||
pub use sym_aes_strings::*;
|
||||
|
||||
use crate::crypt::{BACKUP_ENV_KEY, ENV_KEY_NAME};
|
||||
|
||||
fn get_encryption_key() -> String {
|
||||
std::env::var(ENV_KEY_NAME).unwrap_or({
|
||||
println!("Using default encryption key!");
|
||||
BACKUP_ENV_KEY.to_owned()
|
||||
})
|
||||
}
|
||||
|
||||
// pub fn
|
||||
|
||||
Reference in New Issue
Block a user