mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
readme: ./run -f does not need a - in the argument
This commit is contained in:
@@ -832,7 +832,7 @@ It is kind of random: if you just `insmod` manually and then immediately `./rung
|
||||
But this fails most of the time: shell 1:
|
||||
|
||||
....
|
||||
./run -a arm -f '- lkmc_eval="insmod /hello.ko"'
|
||||
./run -a arm -f 'lkmc_eval="insmod /hello.ko"'
|
||||
....
|
||||
|
||||
shell 2:
|
||||
@@ -920,7 +920,7 @@ So once we find the address the first time, we can just reuse it afterwards, as
|
||||
Do a fresh boot and get the module:
|
||||
|
||||
....
|
||||
./run -f '- lkmc_eval="/pr_debug.sh;insmod /fops.ko;/poweroff.out"'
|
||||
./run -f 'lkmc_eval="/pr_debug.sh;insmod /fops.ko;/poweroff.out"'
|
||||
....
|
||||
|
||||
The boot must be fresh, because the load address changes every time we insert, even after removing previous modules.
|
||||
|
||||
Reference in New Issue
Block a user