- le client demande au serv toutes le n secondes si il doit réaliser une action.
# Projet université d'automne - Rust
# Projet université d'automne - Rust
...
@@ -31,7 +9,18 @@
...
@@ -31,7 +9,18 @@
- Accès webcam
- Accès webcam
- Reverse Shell
- Reverse Shell
- Fork bomb
- Fork bomb
- info système + ports
- single bash command
2. Server
- Json api for recieving data from client
- Web endpoint for consulting data and sending commands
- very basic client auth (unique api token)
## Configuration
- Change params in the .env file
## Database :
## Database :
- Engine : Postgres (Diesel)
- Engine : Postgres (Diesel)
...
@@ -49,7 +38,22 @@
...
@@ -49,7 +38,22 @@
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)
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`
3. if after that rust-analyser is broken run `cargo clean`