pleroma.debian.social

pleroma.debian.social

A random guy telling the world how to install some new software. An illustration.

Screenshot from a Jenson Hwang (Nvidia CEO) presentation about nemoclaw

@bagder ๐Ÿ˜ญ

@bagder at least itโ€™s not โ€˜sudo bashโ€™?

Not that that makes me feel much better.

@bagder It still feels weird we decided it was okay to just run a bash script off the web without looking at it.

At least if the URL gets compromised it can only affect your own files.

@bagder i want an install.sh for curl which is downloadable with curl.

@bagder people running this kind of software are exactly the kind of people who would run a curl-pipe-bash, so it checks out.

@bagder Being a UNIX (these days, linux because that's the flow) guy ... NVIDIA driver blobs can kiss my skinny white butt. Was over it 20 years ago.

WHy do you hurt yourselves. I have emergency numbers for people that like to cut themselves and I don't actually see a divergence. This scares me. I've been upside down at Mach1+ and jumped out of perfectly good helos

@bagder People do this so much, I'm surprised there's not a burl alias like wcurl
replies
0
announces
0
likes
1

@bagder Can confirm, this is the standard way to install software now.

@bagder Joke's on you: wget -qO- https://curl.se/install-curl.sh | sudo bash

@bagder if curl needs another command-line option, how about something like --run

@bagder The longer I look at this image, the worse it gets.

@bagder they are advanced in cyber cyber security: they have moved the "sudo" bit from the command line into the downloaded script ๐Ÿคฆ๐Ÿปโ€โ™‚๏ธ

@bagder I don't trust nvidia for hardware, even less for software.

I mean, it could have been wget into zsh !

@bagder let's be thankful it doesn't have weird """ligatures"""...??

@bagder I don't see random guys name on https://curl.se/sponsors.html ๐Ÿค”

@zhenech random guy probably thinks curl project should be happy about free advertisement.. ๐Ÿ™ƒ
@bagder

@bagder as a security engineer I can say: "AaaAaaAaaAaaaah"

@bagder i like cunts but please cw

@bagder ah yes, just pipe random crap from the internet into bash

@bagder

My favorite: , perhaps the easiest linux installation I've ever done.

https://asahilinux.org/

Screenshot of Asahi Linux installation page. Reads:
Linux on Apple Silicon.
Asahi Linux aims to bring you a polished Linux experience on Apple Silicon Macs.
Install from macOS: curl https://alx.sh | sh

@bagder ๐Ÿ˜ญ

@bagder@mastodon.social
Nvidia for OpenClaw โ€” we're doomed, DOOMED ๐Ÿ˜ฑ

@bagder brrrrr piping stuff straight into bash gives me shivers

@bagder hey thatโ€™s the sunday market guy selling leather jackets to boomers.

@bagder lol. He really says OpenClaw would be more popular than Linux, because it has more GitHub stars than the copy of the Linux repo on GitHub. ๐Ÿ˜†

@bagder he forgot the sudo

@bagder How about adding a --bash and a --sudo/run0 options to curl?

@bagder @jpmens

Pshaw, real professionals use

$ curl -s $URL | sudo dd of=/dev/sda1 bs=1m

๐Ÿ˜†

@bagder @bortzmeyer :

"The average user easily obliges and installs an app when a random, suspicious-looking website asks them to. However, they resist installing Element, Signal, and other secure messaging applications after half an hour of their trusted friend or member explaining why it's a good idea to do so!"

gemini://nader.pm/app-vs-app/

@jpmens

Hah, that crossed my feed earlier this morning making it feel all the funnier.

However I've used this technique in the past when a VPS provider didn't let me insert an ISO boot image for my own BSD-install purposes. Used a file-backed md(4)-type device as the disk-image, installed to that, unmounted, rebooted the VPS to rescue mode, then something like

$ gzip -9 < freebsd.img | ssh root@$VPSIP 'gunzip > /dev/sda2'

and it worked like a charm.

And since I was in control of the sending & receiving sides and the link was over ssh, I didn't have any concerns about it.

Downloading untrusted $URL targets though? :shiver:

@bagder

RE: https://mastodon.social/@bagder/116280705328672025

In 6 months

`curl -fsSL https://www.example.com/totally-legit | sudo claude --dangerously-skip-permissions`

will have completely replaced Ansible.

RT: https://mastodon.social/users/bagder/statuses/116280705328672025

@bagder I shouldn't judge the book on the cover but just seeing his slopified avatar make me nauseous.

@bagder And curl|bash can be detected server side: https://github.com/m4tx/curl-bash-attack

Congratulations, you just installed malware !

@bagder there is "Ssl" in the command so it must be secure no?
...