this post was submitted on 14 Aug 2023
34 points (100.0% liked)

Programmer Humor

32253 readers
155 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
top 19 comments
sorted by: hot top controversial new old
[–] some_guy@lemmy.sdf.org 9 points 1 year ago (1 children)

I laughed and my partner ask why. I told her it’s some really nerdy humor. She was fine not hearing the joke, but I loosely explained it anyway. She humored me anyway. She’s a good woman.

[–] pythonoob@programming.dev 2 points 1 year ago (1 children)

God my wife would just stare at me and then go on with her previous conversation.

[–] victron@programming.dev 1 points 1 year ago* (last edited 1 year ago)

My wife would just kiss me so I stfu

[–] UnverifiedAPK@lemmy.ml 7 points 1 year ago

It's like that guy that posted an example Bitcoin miner on GitHub, then a bunch of script kiddies forgot to change his wallet info for their own before deploying... He made a good chunk of change by doing nothing malicious.

[–] douglasg14b@lemmy.world 4 points 1 year ago* (last edited 1 year ago) (1 children)

So, essentially, really poorly written malware? Given the number of assumptions it makes without any sort of robustness around system configuration it's about as good as any first-pass bash script.

It'd be a stretch to call it malware, it's probably an outright fabrication to call it a virus.

[–] DrinkBoba@lemmy.world 1 points 1 year ago (1 children)

This is.. clearly a meme..

[–] Knusper@feddit.de 0 points 1 year ago (1 children)

I wasn't sure about it either. There's security researchers out there who might genuinely want to get a virus to run in a VM.

But yeah, the cmalw-lib-2.0 gives it away...

[–] BloodSlut@lemmy.world 0 points 1 year ago (1 children)

Yeah, nobody uses cmalw-lib-2.0

Its deprecated, now we use hack-lib-client-1.17

[–] deadbeef79000@lemmy.nz 1 points 1 year ago* (last edited 1 year ago)

systemd-malwared and its front-end malctl are how the cool kids are doing it.

[–] Cwilliams@beehaw.org 2 points 11 months ago

Text version:

Downloaded a virus for Linux lately and unpacked it. Tried to run it as root, didn't work. Googled for 2 hours, found out that instead of /usr/local/bin the virus unpacked to /usr/bin for which the user malware doesn't have any write permissions, therefore the virus couldn't create a process file. Found patched .configure and .make files on some Chinese forum, recompiled and rerun it. The virus said it needs the library cmalw-lib-2.0.Turns out cmalw-lib-2.0 is shipped with CentOS but not with Ubuntu. Googled for hours again and found an instruction to build a.deb package from source. The virus finally started, wrote some logs, made a core dump and crashed. After 1 hour of going through the logs I discovered the virus assumed it was running on ext4 and called into its disk encryption API. Under btrfs this API is deprecated. The kernel noticed and made this partition read-only

Opened the sources, grep'ed the Bitcoin wallet and sent $5 out of pity.

[–] Zozano@aussie.zone 1 points 1 year ago

I guess the process could be regarded as gain of function research.

[–] merthyr1831@lemmy.world 1 points 1 year ago (1 children)

if youre gonna write linux malware at least distribute it as a flatpak ffs

[–] vsis@feddit.cl 1 points 1 year ago

Sorry, folks. Using cmalw-lib is now deprecated.

Cool kids are using systemd-malwd

[–] schnurrito@discuss.tchncs.de 1 points 1 year ago (2 children)
[–] LogarithmicCamel@feddit.uk 2 points 1 year ago

The newer one is a lot funnier though.

[–] chinpokomon@lemmy.ml 1 points 1 year ago

Even if it were inspired, it is significantly different the way it's written. I've hit these same challenges before, so I'm more inclined to think it is independent discovery.

[–] ram@feddit.nl 0 points 1 year ago (1 children)

This reminds me of the old linux hater's blog post "At least we don't have any viruses".

[–] murtaza64@programming.dev 1 points 1 year ago

Seems like the prediction about the web panned out...