Lab12 port 32-bits to 64-bits #132
Merged
teodutu merged 2 commits intocs-pub-ro:x86_64from Feb 22, 2026
Merged
Conversation
ac0802d to
06730ec
Compare
teodutu
requested changes
Dec 9, 2025
teodutu
left a comment
There was a problem hiding this comment.
Pretty nice work overall. The solution scripts and / or the README guides work. Address my comments and we'll merge this.
e56ae7d to
ae9de1e
Compare
ae9de1e to
9c7f94f
Compare
- Remove (probably leftover from the solution file) payload from the `exploit.sh` file of the task `indirect-business` meant to be completed by the students with their solution payload. Signed-off-by: CHIRIAC Cristian-Alexandru <cristian.chiriac02@stud.acs.upb.ro>
9c7f94f to
ec3445d
Compare
This commit ports all Lab 12 CTF tasks from x86 (32-bit) to x86-64 (64-bit) architecture. Tasks ported: - feeling-chained: ROP chain with custom gadgets - hidden-in-plain-sight-1: Object file linking - hidden-in-plain-sight-2: Object file with parameters - indirect-business: Buffer overflow exploit - look-at-him-go: GDB debugging exercise - playing-god: Random number guessing - rip-my-buffers-off: Return address overwrite - rop: ROP chain to call special_function(6,9) Key changes: - Updated all Makefiles with -m64 compilation flag - Adapted ROP chains to use 64-bit registers (RDI, RSI) - Changed addresses from 4 bytes to 8 bytes (little-endian) - Updated padding for 64-bit stack alignment - Modified exploit scripts for 64-bit exploitation - Updated READMEs with comprehensive x86-64 explanations - Fixed all linting issues (trailing whitespace, markdownlint) All tests passing: 100/100 for each task. Signed-off-by: Daria Bulacu <dariabulacu@yahoo.com>
ec3445d to
2c3ae45
Compare
teodutu
approved these changes
Feb 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prerequisite Checklist
Description of changes