Skip to content

englerma/datendieb_fork

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Datendieb

GitHub repo size GitHub contributors GitHub stars GitHub forks GitHub issues

Datendieb is a project focused on client-server communication to gather and manage data. This is a forked project of bananakaba/datendieb.

Table of Contents

General

This project includes two main components: client.py and server.py. The server script needs to be started first to open a socket and wait for client connections. Once connected, the server instructs the client to perform specified actions and gathers the resulting data.

Client

client.py

  • Platform: Linux and Windows
  • Description:
    • The client script communicates with the server to execute commands and send back information.
    • No user interaction is required once the script is started.

Server

server.py

  • Description:
    • The server script sets up a socket to listen for client connections.
    • It instructs the client on actions to perform and gathers the resulting data.
    • The server remains running, waiting for new client connections even after a client disconnects.

Usage

Start client.py

To start the client script, use the following command:

python client.py -H <SERVER-IP> -P <SERVER-PORT> -cport <CLIENT-PORT> --cert ./cert/client-cert.pem --key ./cert/client-key.pem --ca-cert ./cert/ca-cert.pem

Start server.py

To start the server script, use the following command:

sudo python server.py -H <SERVER-IP> -P <SERVER-PORT> --cert ./Source/cert/server-cert.pem --key ./Source/cert/server-key.pem --ca-cert ./Source/cert/ca-cert.pem

Examples

Start client.py

To start the client script, use the following command:

python client.py -H 192.168.91.129 -P 65432 -cport 50000 --cert ./cert/client-cert.pem --key ./cert/client-key.pem --ca-cert ./cert/ca-cert.pem

Start server.py

To start the server script, use the following command:

sudo python server.py -H 0.0.0.0 -P 65432 --cert ./Source/cert/server-cert.pem --key ./Source/cert/server-key.pem --ca-cert ./Source/cert/ca-cert.pem

About

Modified and upgraded

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%