Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on lemmy.world

12 replies

feddit.org

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"

21
infeeeeereply
lemm.ee

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.

16

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.

2

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

2

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

11
programming.dev

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

7

You reached the end