Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: multi shellcraft cmd #2398

Open
wants to merge 8 commits into
base: dev
Choose a base branch
from

Conversation

cocoa-xu
Copy link

Hi, this is a draft PR that allows shellcraft to take multiple commands at a time and generate corresponding output. For example,

# before
$ pwn shellcraft -f d setreuid
$ pwn shellcraft -f d sh

# after
$ pwn shellcraft -f d setreuid + sh

I made this feature a while ago but was not sure if you'd like it to be in this tool. If you're interested in this feature, I can write some tests for this feature :)

@peace-maker
Copy link
Member

Yes, this looks nice and I often wanted to draft something like this too

@cocoa-xu cocoa-xu marked this pull request as ready for review May 1, 2024 13:22
@cocoa-xu
Copy link
Author

cocoa-xu commented May 1, 2024

Hi @peace-maker, thanks for the kind reply. I updated the code and added some tests in the CI. Please feel free to let me know if there's anything else I should add to the CI for testing this feature :)

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.

None yet

2 participants