> For the complete documentation index, see [llms.txt](https://exploit-pack.gitbook.io/exploit-pack-manual-pages/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://exploit-pack.gitbook.io/exploit-pack-manual-pages/master/reverse-shell-one-liners.md).

# Reverse shell - One-liners

While working on a pentest you might need to use a one-liner shell. Typically you will have a cheat sheet for one-liners but that will require you to Google it, and you also have to customize them! \
We've got your back here, **Go to Tools -> Shell One-Liner**

![](/files/-MUDNdcjBDR6bAhP7mON)

Here you can select the language for your shell. Then type the address of Exploit Pack where the shell is going to connect back. In this example, we are creating a simple PHP one-liner that could be run as a web shell. Ready to run it? You need a listener!

![](/files/-MUDNkyUihHix06FblgE)

Click "**Start listener**" to bring up the wizard as shown in the screenshot. We are using the port 5678, that was configured as the same port to be used by the one-liner:

![](/files/-MUDNq4C8qXnLtvs6HWE)

Good luck with your one-liners! And remember to scale it up to a full agent!
