Closed BabelQwerty closed 2 months ago
sry for comment multi issue , bad network.
the errors are due to missing environment variables which are used at compile time, such as the SLEEP and ports, etc... When building implants from the conduit interface (logged in to the server), these values are added by the server at build time for each implant. If you want to build the implants on your own, without using the server build system, then you'll need to set the environment variables locally on the system where you are compiling. Set the values accordingly for your environment, with the IP and PORT being your server IP and 443, etc... The AES_KEY is printed to console by the anvil server on start, and is the value you should use when compiling an implant yourself. I'll be putting out some implants that are easy to build yourself (without the server) soon and some more documentation on this. Sorry for the confusion, things became more complex when I added AES. but for now it is suggested to build using the server and not compile implants locally, but if you just set the env vars, you still can.
thanks
cargo rustc --lib --release -- -C relocation-model=pic