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

Merged
merged 11 commits into from
Jun 23, 2024
Merged

Conversation

cocoa-xu
Copy link
Contributor

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 :)

@cocoa-xu cocoa-xu force-pushed the cx-multi-shellcraft-cmd branch from 07b55f5 to 631beb7 Compare April 26, 2024 06:48
@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
Contributor 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 :)

@Arusekk Arusekk merged commit 736cf9d into Gallopsled:dev Jun 23, 2024
13 checks passed
@cocoa-xu cocoa-xu deleted the cx-multi-shellcraft-cmd branch June 23, 2024 14:52
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.

3 participants