Skip to content

A Golang server and client to send data over an air-gapped network via a network diode.

License

Notifications You must be signed in to change notification settings

Zykatious/GoDiodeTransfer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

GoDiodeTransfer

A Golang server and client to send files over an air-gapped network via a network diode.

File hashes are checked after the file transfer is complete to make sure the data is intact and will alert on the terminal if a file is corrupt.

Usage is as follows:

On the receving side:

go run Server.go

By default the server uses port 1234 and stores transferred files to ./ This behaviour can be changed by using the argument -p to change the port and -d to change the receiving directory.

On the client side:

You will need to set a static ARP route so your system knows where to send the file to, this can be done on a Linux terminal like this:

# arp -s 192.168.0.2 aa:bb:cc:dd:ee:ff

Sending a file:

go run Client.go -f filename

By default the client will send to IP 127.0.0.1 and uses port 1234. This can be changed by the argument -l (lower case L) to change the receiving IP and -p to change the receiving port.

About

A Golang server and client to send data over an air-gapped network via a network diode.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages