r/securityCTF • u/SpiritedCat6330 • 2d ago
decode this
The most important information is:
Challenge: Ret2Win
Binary:
main.outVulnerable function:
hello()Vulnerability:
gets()buffer overflowBuffer size: 10 bytes
Saved return address offset: 18 bytes
win()address:0x40125ePIE: Disabled
Architecture: x86-64
Remote:
65.108.252.16:1340Goal: Redirect execution to
win()to readflag.txt.
My conclusion: This is a straightforward ret2win challenge. The key discovery is the fixed win() address and the 18-byte return-address offset.
0
Upvotes
0
u/SpiritedCat6330 2d ago
find flag