Kernel VERMAGIC Patch

1
ctf: version magic '2.6.36.4brcmarm SMP preempt mod_unload modversions ARMv7 ' should be '2.6.39.4-armexploitlab-therealsaumil SMP mod_unload ARMv7 '

暴力解决

路径

1
./output/toolchain/linux-3.6.9/include/linux/vermagic.h

直接修改

1
2
3
4
5
6
7
8
9
# diff ./output/toolchain/linux-3.6.9/include/linux/vermagic.h.bak ./output/toolchain/linux-3.6.9/include/linux/vermagic.h
28,32c28
< #define VERMAGIC_STRING                         \
<     UTS_RELEASE " "                            \
<     MODULE_VERMAGIC_SMP MODULE_VERMAGIC_PREEMPT             \
<     MODULE_VERMAGIC_MODULE_UNLOAD MODULE_VERMAGIC_MODVERSIONS    \
<     MODULE_ARCH_VERMAGIC
---
> #define VERMAGIC_STRING "2.6.36.4brcmarm SMP preempt mod_unload modversions ARMv7 "