Skip to main content
Challenges Taking control by overwriting GOT
PWN Hard GOT overwrite Solves: 7

Taking control by overwriting GOT

Author: CyberSamSU
Points
85

In dynamically linked programs, when each external function (printf, strcpy, etc.) is called, it actually jumps to an address in a table called the GOT (Global Offset Table) — this table stores the REAL (library) address of the function. If you have an arbitrary write primitive (for example, via %n in the previous challenge), you can change the GOT entry so that the next time the program calls that function, it jumps to the address you want INSTEAD.

The program's GOT table:

Function nameGOT entry (address)
memcpy0x006015C8
printf0x00601688
strlen0x00601BB0
malloc0x00601BE8
free0x00601E08
strcpy0x00601FA0

The vulnerable program calls the printf() function internally to copy the text entered by the user. You have a secret function located at the address 0x00401A3E (if it is called — it prints the flag).

If you replace the printf entry in the GOT table with the value 0x00401A3E, the next time the program calls printf(), your secret function will actually be executed.

Submit the answer in the format BAYROQ{PWN_GOT_<yoziladigan GOT manzili>_<yangi qiymat>} (both in uppercase hex without 0x).

Hints 3
Opening a hint reduces the points you get for solving this challenge.
Hint 1 −8 pts Log in
Hint 2 −17 pts Log in
Hint 3 −25 pts Log in
To submit a flag, log in.

First solvers

1. Абдул 08.09.2026
2. W.o.X 11.09.2026
3. testrejim 09.10.2026
4. Mirjaxon Qaxxarov 27.10.2026
5. Odam 04.11.2026
6. Furqat Turayev 09.11.2026
7. arcanum 11.11.2026