Skip to content

Add pydoc GTFOBin#592

Open
v2wvv wants to merge 2 commits into
GTFOBins:masterfrom
v2wvv:add-pydoc-gtfobin
Open

Add pydoc GTFOBin#592
v2wvv wants to merge 2 commits into
GTFOBins:masterfrom
v2wvv:add-pydoc-gtfobin

Conversation

@v2wvv

@v2wvv v2wvv commented Jul 7, 2026

Copy link
Copy Markdown

Add a GTFOBin entry for pydoc.

pydoc invokes less as its pager. By escaping from less, it is possible to obtain a shell when pydoc is executed in privileged contexts (for example, via sudo or as a SUID binary).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant