Skip to content
Snippets Groups Projects
Select Git revision
  • 2a4b532905bafc0094f8bb5a48550108d82f71dc
  • main default protected
2 results

rust-proj

user avatar
leo.muff authored
2a4b5329
History

dependencies :

  • pkg-config
  • libssl-dev
  • libclang-dev
  • libpq-dev

to do

functions

  • get client errors from env
  • encrypt keylogger data
  • ssl

cleanup / optimisation

  • add timestamp for commands result

API

commandes

  • le client demande au serv toutes le n secondes si il doit réaliser une action.

Projet université d'automne - Rust

Composants :

  1. Payload
  • Keylogger
  • Accès webcam
  • Reverse Shell
  • Fork bomb

Database :

- Engine : Postgres (Diesel)
- Configuration : in the .env set your db url in the ROCKET_DATABASES variable, you can add several url but dont change the db name

### Docker quick setup : 	
```
docker pull postgres
docker run --name postgresdb -p 5432:5432 -e POSTGRES_USER=ratmaster -e POSTGRES_PASSWORD=R47M4573R -d postgres
```

### Tables creation & modification
 
    1. modify sql files in sharedlibs/migrations/23-10-08-(...)/ (tables strucures must match models.rs)
    2. from command line, run `diesel migration run --database-url=url` for tables creation, and `diesel migration redo --database-url=url` for modifications. (this will delete all db records)
    3. if after that rust-analyser is broken run `cargo clean`

docs