trickster0 / offensiverust Goto Github PK
View Code? Open in Web Editor NEWRust Weaponization for Red Team Engagements.
Rust Weaponization for Red Team Engagements.
Hi @trickster0!
I just noticed the addition regarding strip
in the readme and wanted to check if we are seeing different results.
I use an almost identical Cargo.toml
with strip, etc. but even then the home directory is left in the binary. That was what I meant with even if you remove all debug symbols
.
This is something that bit me before and that's how I ended up with the --remap-path-prefix
solution. It looks like trim-path
was proposed as an alternative to passing --remap-path-prefix
and --remap-cwd-prefix
as a flag during build at !3127, but it hasn't been merged yet.
If we see a difference, it could be due to different dependencies as mentioned in this issue. Or, maybe OS? I mostly compile on a Mac using x86_64-pc-windows-gnu
as the target.
Anyway, I just wanted to check and see if we are on the same page.
manifests needs to be added in Cargo.toml file
❯ cargo build
error: failed to parse manifest at `/home/user/Documents/Personal/Rust/OffensiveRust/Cargo.toml`
Caused by:
no targets specified in the manifest
either src/lib.rs, src/main.rs, a [lib] section, or [[bin]] section must be present
Hello ,I find the problem in this link ,https://github.com/TheWover/donut/issues/75。I use x64 rust to shellcode。May I ask how you solved it?
❯ cargo build
error: could not find `Cargo.toml` in `/home/user/Documents/Personal/Rust/OffensiveRust` or any parent directory, but found cargo.toml please try to rename it to Cargo.toml
In the offensive nim repo there is an example of how to use nim to interact with unmanaged powershell.
https://github.com/byt3bl33d3r/OffensiveNim/blob/master/src/execute_powershell_bin.nim
I am wondering if this has been done in Rust? Is this even possible to do in purely Rust?
Hi,
I've been trying to get this compile but keep getting errors. I'm guessing this was built on a older rust version or maybe the packages/dependencies are not valid anymore. Any ideas on how to fix, I've tried compiling using different windows version is the .toml but nothing.
Error:
error[E0433]: failed to resolve: could not find build
in windows
--> bindings\build.rs:2:13
|
2 | windows::build! {
| ^^^^^ could not find build
in windows
For more information about this error, try rustc --explain E0433
.
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.