Skip to content
 
 

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

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

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors