1

I am trying to compile the following exploit: http://www.exploit-db.com/exploits/10613/

But get the following error:
local.c:12:22: fatal error: asm/page.h: No such file or directory compilation terminated.

1 Answer 1

2

Your exploit needs page.h header file.
You must install linux header package.

asm/page.h is available in linux header package

linux-headers 3.11.6-1 File List :
.
.
.
usr/src/linux-3.11.6-1-ARCH/arch/x86/include/asm/numaq.h
usr/src/linux-3.11.6-1-ARCH/arch/x86/include/asm/olpc.h
usr/src/linux-3.11.6-1-ARCH/arch/x86/include/asm/olpc_ofw.h
usr/src/linux-3.11.6-1-ARCH/arch/x86/include/asm/page.h
usr/src/linux-3.11.6-1-ARCH/arch/x86/include/asm/page_32.h
usr/src/linux-3.11.6-1-ARCH/arch/x86/include/asm/page_32_types.h
usr/src/linux-3.11.6-1-ARCH/arch/x86/include/asm/page_64.h
usr/src/linux-3.11.6-1-ARCH/arch/x86/include/asm/page_64_types.h
.
.
.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.