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

Programmer Humor

853 readers
7 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
top 22 comments
sorted by: hot top controversial new old
[–] UnverifiedAPK@lemmy.ml 89 points 1 year ago (1 children)

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.

[–] CanadaPlus@lemmy.sdf.org 15 points 1 year ago
[–] NatoBoram@lemm.ee 45 points 1 year ago

Should've written the malware in Go, smh

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

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

Cool kids are using systemd-malwd

[–] schnurrito@discuss.tchncs.de 24 points 1 year ago (2 children)
[–] chinpokomon@lemmy.ml 13 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.

[–] LogarithmicCamel@feddit.uk 5 points 1 year ago

The newer one is a lot funnier though.

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

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

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

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

[–] AnarchistArtificer@slrpnk.net 9 points 1 year ago (1 children)

That certainly was a blog with many emotions. Coming at this with no context, it looks like the kind of content that would be beautiful satire, except it's probably not.

[–] ram@feddit.nl 6 points 1 year ago

Linux Hater's Blog was half satire and half honest criticism.

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

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

[–] lemmy@lemmy.stonansh.org 14 points 1 year ago

i laughed so hard 😂 😂 😂

[–] Cwilliams 4 points 1 year 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.