mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
10 lines
136 B
Bash
Executable File
10 lines
136 B
Bash
Executable File
#!/bin/sh
|
|
insmod /fops.ko
|
|
cd /sys/kernel/debug/kernel_module_cheat
|
|
i=0
|
|
while true; do
|
|
printf "$i" >fops
|
|
i=$(($i+1))
|
|
done &
|
|
/kgdb.sh
|