Gallopsled / Gallopsled/pwntools

Overlap 2 file pointer structures for FSOP

Open
#2,634 2 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
Python
Stars
13.7k
Forks
1.9k
Avg merge
6d 23h
Merged PRs (30d)
3

Description

Often in CTFs, we may need to create 2 overlapping fake file structures and link them with the `->chain` field.

The current implementation of the `FileStructure` class in pwntools is excellent for a single file struct, but it becomes difficult when we have overlapping structs.

Hence, it would be good if pwntools provided an automatic way to merge/overlap two `FileStructure` objects.

I believe I can implement this and would open a PR shortly

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.