Simple client-server based TCP file transfer service with Diffie Hellman key exchange implementation and Fernet symetric key encryption.
- Python3.x
- cffi==1.14.5
- cryptography==3.4.7
- progress==1.5
- pycparser==2.20
- pyfiglet==0.8.post1
- Start the server on the system you want the files sent:
$ sudo python3 server.py <PORT>
- Then open the the send_file.py and add the servers IP and PORT under
SOCKET CONSTANTS
:
IP = <SERVER IP>
PORT = <SERVER PORT>
NOTE: I am going to add arguments in the near future so these variables are passed as command line arguments
- Start the send_file.py on the sending system:
$ python3 send_file.py <Path/to/file>
- Your file can be found in
output
send_file
-> send_file.py
-> server.py
-> output
-> <YOUR FILE>
- RSA Encryption
- multiple files support
- flags and arguments implementation
- threading and multiclient support
- compiled binaries