For Ubuntu 11.04 (should work on others too) I created this small script for automatic installation.
I don't know if it works on kernels >= 3, but in case it don't it is pretty simple to modify.
it takes one argument which is the path to the rickroll file.
!/bin/bash
a=$(sudo grep "R sys_call_table" /boot/System.map-$(uname -r))
b=${a:0:16}
sed -i -e s/ffffffff81400300/$b/ kernelroll.c
make
sudo insmod kernelroll.ko rollfile=$1
For Ubuntu 11.04 (should work on others too) I created this small script for automatic installation.
I don't know if it works on kernels >= 3, but in case it don't it is pretty simple to modify.
it takes one argument which is the path to the rickroll file.
!/bin/bash
a=$(sudo grep "R sys_call_table" /boot/System.map-$(uname -r))
b=${a:0:16}
sed -i -e s/ffffffff81400300/$b/ kernelroll.c
make
sudo insmod kernelroll.ko rollfile=$1