Skip to content

Commit 4496f6b

Browse files
committed
fix path
1 parent e3dce6b commit 4496f6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

heroctf-2021/kernel-module-3/writeup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ pLNLKetvAnbu
1111
KeMиetvAnb u@K0pPKuKrL@@/ $
1212
```
1313

14-
Download and decompile *"safe_mod.ko"*, same steps can be found in writeup for [last round](../kernel-module-#2/writeup.md). There two event handlers *device_file_ioctl* and *device_file_read*. take a look into *device_file_ioctl*. *ioctl*, input and output control, is system call to pass control commands and arguments to device driver. *device_file_ioctl* unlocks lock1 with command *0x40087877* and argument *0x45*. Lock3 needs lock1 and lock2 to be unlocked first, passing argument *0x2f* to unlock lock2, lock3 can be unlocked with argument *0x14*.
14+
Download and decompile *"safe_mod.ko"*, same steps can be found in writeup for [last round](../kernel-module-2/writeup.md). There two event handlers *device_file_ioctl* and *device_file_read*. take a look into *device_file_ioctl*. *ioctl*, input and output control, is system call to pass control commands and arguments to device driver. *device_file_ioctl* unlocks lock1 with command *0x40087877* and argument *0x45*. Lock3 needs lock1 and lock2 to be unlocked first, passing argument *0x2f* to unlock lock2, lock3 can be unlocked with argument *0x14*.
1515

1616
```c
1717
undefined8 device_file_ioctl(undefined8 param_1,undefined8 param_2,ulong param_3)

0 commit comments

Comments
 (0)