Skip to content

automatic installation #3

@jnyrup

Description

@jnyrup

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions