3 ms·
Seems like they could have taken a shortcut by giving copilot a sudo binary to use as base64.
by ratg13 1y ago
Seems like they could have taken a shortcut by giving copilot a sudo binary to use as base64.
- pinoy420 1y ago[dead]
- jfyi 1y agoYou would need to change ownership of the file to root also.
- yencabulator 1y agoBase64 is a bytes-to-ASCII encoding and does not magically transport file system metadata such as owner and suid bit. The sudo binary has no special powers by its mere byte content. https://en.wikipedia.org/wiki/Setuid https://en.wikipedia.org/wiki/Setuid https://en.wikipedia.org/wiki/Base64 https://en.wikipedia.org/wiki/Base64 https://xkcd.com/1053/ https://xkcd.com/1053/