Teach2Breach / Tempest

A command and control framework written in rust.
MIT License
271 stars 35 forks source link

issue for build windows imps #2

Closed BabelQwerty closed 2 months ago

BabelQwerty commented 2 months ago

cargo rustc --lib --release -- -C relocation-model=pic

error: environment variable `UUID` not defined at compile time
  --> src\proto.rs:94:18
   |
94 |         session: env!("UUID").to_string(), //ignore error in vs code, env is set
   |                  ^^^^^^^^^^^^
   |
   = help: use `std::env::var("UUID")` to read the variable at run time
   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)

error: environment variable `SLEEP` not defined at compile time
   --> src\proto.rs:102:16
    |
102 |         sleep: env!("SLEEP").to_string(), //ignore error in vs code, env is set
    |                ^^^^^^^^^^^^^
    |
    = help: use `std::env::var("SLEEP")` to read the variable at run time
    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)

error: environment variable `JITTER` not defined at compile time
   --> src\proto.rs:450:34
    |
450 |                 let mut jitter = env!("JITTER").to_string(); //ignore error in vs code, env is set
    |                                  ^^^^^^^^^^^^^^
    |
    = help: use `std::env::var("JITTER")` to read the variable at run time
    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)

error: environment variable `SERVER` not defined at compile time
   --> src\proto.rs:459:35
    |
459 |                 let server_name = env!("SERVER").to_string(); //ignore error in vs code, env is set
    |                                   ^^^^^^^^^^^^^^
    |
    = help: use `std::env::var("SERVER")` to read the variable at run time
    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)

error: environment variable `PORT` not defined at compile time
   --> src\proto.rs:460:28
    |
460 |                 let port = env!("PORT").to_string(); //ignore error in vs code, env is set
    |                            ^^^^^^^^^^^^
    |
    = help: use `std::env::var("PORT")` to read the variable at run time
    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)

error: environment variable `AES_KEY` not defined at compile time
   --> src\proto.rs:599:39
    |
599 |                 let encoded_aes_key = env!("AES_KEY");
    |                                       ^^^^^^^^^^^^^^^
    |
    = help: use `std::env::var("AES_KEY")` to read the variable at run time
    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)

error: environment variable `AES_KEY` not defined at compile time
   --> src\proto.rs:738:51
    |
738 | ...                   let encoded_aes_key = env!("AES_KEY");
    |                                             ^^^^^^^^^^^^^^^
    |
    = help: use `std::env::var("AES_KEY")` to read the variable at run time
    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)

error: environment variable `AES_KEY` not defined at compile time
   --> src\proto.rs:880:63
    |
880 | ...                   let encoded_aes_key = env!("AES_KEY");
    |                                             ^^^^^^^^^^^^^^^
    |
    = help: use `std::env::var("AES_KEY")` to read the variable at run time
    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)

error: could not compile `windows_ldr` (lib) due to 8 previous errors