A forward shell is something I'll use much less frequently than a reverse shell. It come in handy when you have RCE but can't get a reverse shell, providing a persistent shell (persistent as in between commands, not across machine reboots) with the potential to get a full interactive terminal to run commands like su, sudo, and ssh.
This video builds on the exploration of pipes from the mkfifo reverse shell video, here: • Exploring mkfifo / nc Reverse Shell
[00:00] Intro
[01:24] Looking at demo vulnerable application
[02:45] Failing to get a reverse shell due to outbound filtering
[06:10] What is a forward shell?
[07:11] Local building forward shell
[10:05] Setting up watch to show what's happening on target host
[12:05] Building forward shell on target host
[19:18] Looking at Ippsec's forward shell in Python
tags: pipe forward-shell pstree tail