Pashkela/CVE-2013-2094 — pull request #2 by the-darknight (2013-07-09 08:14:28+00:00)
Title: Support for 2.6.38-8 and 3.8.0-19 kernels builds

As kallsyms addresses are not available to users other than root, we have manually added support for each(currently 2 builds but easily extendable to others) kernel build.

To add support for other kernel builds:

1. "cat /proc/kallsyms" but you will find all the addresses 0x000000 type.
2. now make yourself root
3. "echo 1 > /proc/sys/kernel/kptr_restrict " or "echo 0 > /proc/sys/kernel/kptr_restrict" (http://insitusec.blogspot.in/2013/01/kallsyms-on-android.html)
4. now from "cat /proc/kallsyms" you will find address.
5. now copy this kallsyms file in our kallsysms folder with file name as => "cat /proc/kallsyms > kallsyms_$(uname -r)
6. now we can use run.sh on any machine having kernel builds from the set which we have in our kallsyms folder.