nikolajlauridsen / LANStick

Move files between two computers over LAN with a one time password

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LANStick ⚠️ This is an incomplete project ⚠️

Move files between two computers over LAN with a one time password.

Operation

LANStick is fairly simple, a raspberry pi is set up as a rendevouz server, which passes on metadata about the file(s) to be transmitted.

The sending client sends it's host & port to the rendevouz sever, as well as metadata and a one-time hashed passphrase as an id, the client then outputs the passphrase to the console.

On the receiving client the passphrase from the sending client is typed in. The password is then hashed and sent to the server, requesting connection information. If the hashed passphrase matches a connection info ID the info is returned to the receiving client.

Once the receiving client gets hold of the connection information it opens a TCP socket connection to the sending host and the file is transmitted.

If you choose a folder as a target it will automatically be zipped to a randomly named zip file, which will be sent, and then extracted and deleted on the receiving side

Inspiration

This project is heavily inspired by Magic Wormhole.

However this solution is not nearly as good, or safe as Magic Wormhole, the goal with LANStick is to create a simple way to move files over a LAN network which is deemed "safe" which is also why security isn't the top priority.

About

Move files between two computers over LAN with a one time password

License:MIT License


Languages

Language:Python 100.0%