3 ms·
One mitigation is to recommend users using symlinks in ls /dev/disk/by-id instead of /dev/sd* Other than that, someone can replace the whole of Etcher wi
by megous 6y ago
One mitigation is to recommend users using symlinks in
ls /dev/disk/by-id
instead of /dev/sd*
Other than that, someone can replace the whole of Etcher with a simple bash script that will list available block devices with nice descriptive names taken from sysfs, allow the user to select the one he wants to flash to, and handle flashing of potentially compressed image and verifying the result automatically.
It would probably not be much longer than 100 LoC, at least on Linux.