Take the 2-minute tour ×
Information Security Stack Exchange is a question and answer site for Information security professionals. It's 100% free, no registration required.

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.

share|improve this question
add comment

closed as off-topic by Terry Chia, Adnan, Gilles, TildalWave, Xander Nov 3 '13 at 18:49

  • This question does not appear to be about Information security within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer

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
.
.
.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.