mirror of
https://codeberg.org/smukx/Rust-for-Malware-Development
synced 2026-06-06 20:22:59 +00:00
28e7fac1d3
Rust-for-Malware-Development is an collection of proof of concepts with techniques and advanced evasion methods
38 lines
1.0 KiB
TOML
38 lines
1.0 KiB
TOML
[package]
|
|
name = "WinHTTPSDll"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
authors = ["5mukx", "smukx@5mukx.site"]
|
|
|
|
[dependencies]
|
|
|
|
[dependencies.windows-sys]
|
|
version = "0.61.2"
|
|
features = [
|
|
"Win32_Foundation",
|
|
"Win32_Security",
|
|
"Win32_System_Threading",
|
|
"Win32_UI_WindowsAndMessaging",
|
|
"Win32_Networking_WinHttp",
|
|
"Win32_UI_Shell",
|
|
"Win32_System_Com",
|
|
]
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|
|
|
|
## My Configuration for DLL
|
|
[profile.release]
|
|
opt-level = "z" # Optimize for size.
|
|
lto = true # Enable Link Time Optimization
|
|
codegen-units = 1 # Reduce number of codegen units to increase optimizations.
|
|
panic = "abort" # Abort on panic
|
|
strip = true # Automatically strip symbols from the binary.
|
|
|
|
[profile.dev]
|
|
opt-level = "z" # Optimize for size.
|
|
lto = true # Enable Link Time Optimization
|
|
codegen-units = 1 # Reduce number of codegen units to increase optimizations.
|
|
panic = "abort" # Abort on panic
|
|
strip = true # Automatically strip symbols from the binary. |