AlternativeLink
- 4 Devlogs
- 16 Total hours
Implementation of the SharkLink protocol for PC and other devices. SharkLink was created by Hak5 to check if two Shark Jack Display can connect in a Network.
Implementation of the SharkLink protocol for PC and other devices. SharkLink was created by Hak5 to check if two Shark Jack Display can connect in a Network.
TryFrom<&str> and std::fmt::Display implemented so it’s really easy to convert a code string to the code structure and backArc<UdpSocket> so broadcaster and direct connection check share one socket reducing overheadSo I reverse engineered the protocol hak5 uses for SharkLink using one SharkJack Display and my PC with Wireshark for package inspection.
I first needed to implement the device discovery which is a broadcast UDP package which in plan text says <PIN> <Sender_Ip>\n so for example 1-3-3-7 192.168.178.1\n
Then I reverse engineered the ping messages which are a direct connection with first PING <Sender_IP>\n and then the response which is ACK <Sender_IP>\n.
Reimplement the program in rust and after that create a tui.