I have two reactions: 1. The headline is rather silly. 2. There's no way this little script, although it might conceivably be useful to someone, needs to be a youtube video.
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
Isn't the whole point of assembly that there is no compiler?
Right, they just use an assembler and a linker ...
I mean they're not wrong...
This is why my next book will be titled "how to cook dinner without a compiler, GCC 4 to GCC 11 compatible!"
I was going to click on this until I saw it was a video.
I need this on a t-shirt
Putting aside the misleading title...
Because this writes to and then runs an executable file with a known name, this script should never be used on a multiuser system in a directory where another user has write permissions. It is vulnerable to a timing attack where the attacker copies an executable they want run with your permissions between this script creating the file and running it.
I'm still super confused by this user's posts lol. I get that (some? most?) of it is satire... but then why all social media engagement farming hashtag nonsense? Or is this all part of the satire...?
Perhaps we should reconsider the definition of write-only scripts.
Here is an alternative Piped link(s):
https://piped.video/watch?v=kNKuRdoaNII
Piped is a privacy-respecting open-source alternative frontend to YouTube.
I'm open-source; check me out at GitHub.