this post was submitted on 13 Feb 2025
115 points (98.3% liked)

Linux

6056 readers
275 users here now

A community for everything relating to the GNU/Linux operating system

Also check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS
all 13 comments
sorted by: hot top controversial new old
[–] Gsus4@programming.dev 9 points 5 days ago* (last edited 5 days ago) (1 children)

Wtf...pdfs allow js to execute? Who thought that was a good idea? How about it runs flash too while we're at it?

[–] ms5K8oWx@programming.dev 0 points 4 days ago* (last edited 4 days ago)

* Laughs in Firefox where this doesn't work *

[–] RmDebArc_5@sh.itjust.works 11 points 6 days ago* (last edited 6 days ago)

If your not running Linux inside a PDF, inside a browser, inside WSL, inside Windows, inside the Linux version of virtualbox, inside FreeBSD jails, on a Arm System inside a x86 emulator than what are you even doing

[–] hellofriend@lemmy.world 26 points 1 week ago (2 children)
[–] 30p87@feddit.org 21 points 1 week ago (1 children)

Considering it just exploits the fact that PDFs can execute JavaScript, it's much more "here is Linux running in JavaScript, containered in a PDF"

[–] infeeeee@lemm.ee 18 points 1 week ago* (last edited 1 week ago) (2 children)

Video without the "article": https://www.youtube.com/watch?v=cWnN-FA3zRM

Sourcecode: https://github.com/ading2210/linuxpdf

It's TinyEMU under the hood:

TinyEMU is a system emulator for the RISC-V and x86 architectures. Its purpose is to be small and simple while being complete.

It has a javascript version, JSLinux, that's embedded in the pdf. You can run other OS-es in the browser with that, see link. It has X window support, so it should be possible to run a full GUI operating system in a pdf.

[–] sik0fewl@lemmy.ca 2 points 5 days ago

I would be more impressed if it was written in Postscript.

[–] thefartographer@lemm.ee 7 points 1 week ago (1 children)

Why is this "win-11" pdf 70GB? Win eleven of what?

[–] Septimaeus@infosec.pub 2 points 6 days ago

Why is this “win-11” pdf 70GB? Win eleven of what?

Eleven. This OS was released in the time before the war. There never was a Windows Twelve.