seemoo-lab / opendrop

An open Apple AirDrop implementation written in Python
https://owlink.org
GNU General Public License v3.0
8.5k stars 266 forks source link

Set "Host Name" #5

Closed jgamblin closed 4 years ago

jgamblin commented 4 years ago

Is it possible to set the "hostname" to something other than the actual hostname for receiving files?

schmittner commented 4 years ago

Sure, just pass host_name to the AirDropConfig constructor. Additionally, you can add an option to argparse to be able to set the hostname from CLI.