amaop / rust-crypter Goto Github PK
View Code? Open in Web Editor NEWx86-64 Malware Crypter built in Rust for Windows with Anti-VM, powered by memexec
License: GNU General Public License v3.0
x86-64 Malware Crypter built in Rust for Windows with Anti-VM, powered by memexec
License: GNU General Public License v3.0
thread 'main' panicked at 'called Result::unwrap()
on an Err
value: PeLoaderErr(MismatchedArch)', src\main.rs:107:38
thread 'main' panicked at src\main.rs:14:46:
Failed to read file: Os { code: 2, kind: NotFound, message: "The system cannot find the file specified." }
note: run with RUST_BACKTRACE=1
environment variable to display a backtrace
error: process didn't exit successfully: target\debug\crypt.exe
(exit code: 101)
Compiling memexec v0.2.0
error[E0425]: cannot find value IMAGE_REL_BASED
in this scope
--> /home/kali/.cargo/registry/src/github.com-1ecc6299db9ec823/memexec-0.2.0/src/peloader/mod.rs:38:36
|
38 | if (item >> 12) == IMAGE_REL_BASED {
| ^^^^^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type IMAGE_THUNK_DATA
in this scope
--> /home/kali/.cargo/registry/src/github.com-1ecc6299db9ec823/memexec-0.2.0/src/peloader/mod.rs:80:79
|
80 | base_addr.offset(import_desc.FirstThunk as isize) as *mut IMAGE_THUNK_DATA,
| ^^^^^^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type IMAGE_THUNK_DATA
in this scope
--> /home/kali/.cargo/registry/src/github.com-1ecc6299db9ec823/memexec-0.2.0/src/peloader/mod.rs:82:35
|
82 | as *const IMAGE_THUNK_DATA,
| ^^^^^^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type IMAGE_THUNK_DATA
in this scope
--> /home/kali/.cargo/registry/src/github.com-1ecc6299db9ec823/memexec-0.2.0/src/peloader/mod.rs:86:79
|
86 | base_addr.offset(import_desc.FirstThunk as isize) as *mut IMAGE_THUNK_DATA,
| ^^^^^^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type IMAGE_THUNK_DATA
in this scope
--> /home/kali/.cargo/registry/src/github.com-1ecc6299db9ec823/memexec-0.2.0/src/peloader/mod.rs:87:81
|
87 | base_addr.offset(import_desc.FirstThunk as isize) as *const IMAGE_THUNK_DATA,
| ^^^^^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find value IMAGE_ORDINAL_FLAG
in this scope
--> /home/kali/.cargo/registry/src/github.com-1ecc6299db9ec823/memexec-0.2.0/src/peloader/mod.rs:97:33
|
97 | if thunk_data & IMAGE_ORDINAL_FLAG != 0 {
| ^^^^^^^^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type IMAGE_THUNK_DATA
in this scope
--> /home/kali/.cargo/registry/src/github.com-1ecc6299db9ec823/memexec-0.2.0/src/peloader/mod.rs:119:45
|
119 | *iat_ptr = proc_addr as IMAGE_THUNK_DATA;
| ^^^^^^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type IMAGE_THUNK_DATA
in this scope
--> /home/kali/.cargo/registry/src/github.com-1ecc6299db9ec823/memexec-0.2.0/src/peloader/mod.rs:153:45
|
153 | *iat_ptr = proc_addr as IMAGE_THUNK_DATA;
| ^^^^^^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type IMAGE_TLS_DIRECTORY
in this scope
--> /home/kali/.cargo/registry/src/github.com-1ecc6299db9ec823/memexec-0.2.0/src/peloader/mod.rs:169:60
|
169 | let tls = &*mem::transmute::<*const c_void, *const IMAGE_TLS_DIRECTORY>(
| ^^^^^^^^^^^^^^^^^^^
|
::: /home/kali/.cargo/registry/src/github.com-1ecc6299db9ec823/memexec-0.2.0/src/peparser/def.rs:84:9
|
84 | pub struct $name {
| ---------------- similarly named struct IMAGE_TLS_DIRECTORY32
defined here
|
help: a struct with a similar name exists
|
169 | let tls = &*mem::transmute::<*const c_void, *const IMAGE_TLS_DIRECTORY32>(
| ~~~~~~~~~~~~~~~~~~~~~
help: you might be missing a type parameter
|
166 | unsafe fn call_tls_callback<IMAGE_TLS_DIRECTORY>(pe: &PE, base_addr: *const c_void) -> Result<()> {
| +++++++++++++++++++++
Some errors have detailed explanations: E0412, E0425.
For more information about an error, try rustc --explain E0412
.
error: could not compile memexec
due to 9 previous errors
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.