ludwick / uwurandom

Like /dev/urandom, but objectively better

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

/dev/uwurandom

/dev/urandom is made out of cold hard math. Instead, consider using /dev/uwurandom, which generates data through a tiny catgirl furiously typing away utter nonsense inside your computer.

Disclaimer: I am very bad at C. While I've tested this myself and haven't managed to cause a kernel panic, this is not production-quality code. Use at your own risk.

Installation and usage

Installation

Compilation is easy :3

On Fedora, you can just do:

make

On Arch, just install uwurandom-git-dkms from the AUR! >/////<

On other distros, you may need to adjust the include paths in the Makefile depending on where your kernel headers are located (I think it's /usr/src/linux-headers-\`uname -r` on Ubuntu and /usr/lib/modules/`uname -r`/build on Arch but don't quote me on that). After that you should be able to make as usual.

Usage

Usage is also easy! >w<

sudo insmod uwurandom.ko

Afterwards, you can just:

cat /dev/uwurandom

and witness its sheer glory with your own eyes.

About

Like /dev/urandom, but objectively better

License:MIT License


Languages

Language:C 90.3%Language:JavaScript 9.5%Language:Makefile 0.2%