Skip to content

Latest commit

 

History

History
36 lines (20 loc) · 645 Bytes

File metadata and controls

36 lines (20 loc) · 645 Bytes

cknote

Author

ryhtbsh

Description

Yeah… I know the source looks cursed.

nc chal3.fwectf.com 8012
Unlock Hint for 0 points

Hint

  • Calling setuid() a large number of times will allocate a large number of creds with little noise and they will be automatically freed. If you then call fork() a lot immediately afterwards, some of the child process's creds will be placed in pages allocated from the buddy allocator.

  • Place the note's page and the cred's page next to each other and overwrite the cred.

Distribution

  • cknote.zip

Points

497

Solves

2

Writeup