Skip to content

linux kernel module for advanced rickrolling

License

Notifications You must be signed in to change notification settings

lindi2/kernelroll

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Putting rickrolling in kernel space

If you want to hijack open calls for .mp3 files you can just use

sudo stap -g -e 'probe kernel.function("do_filp_open") { p = kernel_string($pathname); l = strlen(p); if (substr(p, l - 4, l) == ".mp3") { $pathname = %{ (long)"/some/path/rickroll.mp3" %}; } }'

Note: requires the systemtap program. Debian users can use apt-get: sudo apt-get install systemtap.

About

linux kernel module for advanced rickrolling

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published