aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillermo Ramos2014-06-29 23:38:48 +0200
committerGuillermo Ramos2014-06-29 23:38:48 +0200
commit45976fe6f7a8433f1de8c94bc63f9f79c377e0c1 (patch)
tree5e7e8be9400e0505ed128d97392669139dcf5dca
parent48826fc0d7c7ae35ab63630ae62f0d1152c6fcfb (diff)
downloadevspy-45976fe6f7a8433f1de8c94bc63f9f79c377e0c1.tar.gz
Fixed markdown againHEADmaster
-rw-r--r--README.md42
1 files changed, 21 insertions, 21 deletions
diff --git a/README.md b/README.md
index 5198839..dae41f4 100644
--- a/README.md
+++ b/README.md
@@ -7,39 +7,37 @@ by default. Only root can read it. Beware users: evspy can troll you.
Don't be evil.
+## Compile
+ $ make
-## COMPILE
- `$ make`
+## Load
+ # insmod evspy.ko
+## Unload
+ # rmmod evspy
-## LOAD
- `# insmod evspy.ko`
+## Is it already loaded?
+ $ modinfo evspy
-
-## UNLOAD
- `# rmmod evspy`
-
-
-## IS IT ALREADY LOADED?
- `$ modinfo evspy`
-
-
-## PERSISTENCE
+## Persistence
* With dkms:
- `# make [install, uninstall]`
+
+ # make [install, uninstall]
* Manually:
Copy it into your kernel module dir:
- `# cp evspy.ko /lib/modules/$(uname -r)/kernel/drivers/input/evspy.ko`
+
+ # cp evspy.ko /lib/modules/$(uname -r)/kernel/drivers/input/evspy.ko
and update module database:
- `# depmod -a`
+
+ # depmod -a
(in some distros you could also need to add it to some rc/config file)
Once it has been installed, you can load it when you want with
- `# modprobe evspy`
+ # modprobe evspy
## OTHER
@@ -47,10 +45,12 @@ A patch is supplied (evspy.patch) to be able to compile a kernel with evspy
included. If KERN is the directory where your kernel is located, just copy the
patch there (KERN/) and copy all the evspy files (*.c, *.h, maps, kmap) to
KERN/drivers/input/. Then, cd to KERN and apply the patch:
- `$ patch -p1 < evspy.patch`
+
+ $ patch -p1 < evspy.patch
Then you should be able to configure the kernel to include evspy just like
any other module:
- `$ make menuconfig`
+
+ $ make menuconfig
Device Drivers --> Input device support --> Event based keylogger
- `$ ...`
+ $ ...