Squirre17 / Autokd

automate kernel exploit environment deploy
1 stars 0 forks source link

add symbol search script #21

Closed Squirre17 closed 1 year ago

Squirre17 commented 1 year ago
>>> from ptrlib import ELF
>>> kernel = ELF("tmp/vmlinux")
>>> hex(next(kernel.search("/sbin/modprobe\0")))