Skip to content
Snippets Groups Projects
Commit bcc21326 authored by leo.muff's avatar leo.muff
Browse files

better readme

parent dbe712c9
Branches
No related tags found
No related merge requests found
# 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 # 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`
## 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
## docs ## docs
- https://github.com/SergioBenitez/Rocket/tree/master/examples - https://github.com/SergioBenitez/Rocket/tree/master/examples
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment