diff --git a/docs/cheatsheets/shell-reverse-cheatsheet.md b/docs/cheatsheets/shell-reverse-cheatsheet.md index 71b3fe2..0958e02 100644 --- a/docs/cheatsheets/shell-reverse-cheatsheet.md +++ b/docs/cheatsheets/shell-reverse-cheatsheet.md @@ -559,8 +559,14 @@ stty rows columns To overcome this issue, run `nc` in a `tmux`, and send a `SIGTSTP` signal to the `nc` process. ```bash +# Enter in tmux +tmux + +# Do your netcat stuff ... +nc -lnvp 4242 + # Create a new window in tmux -## then +ctrl+b c # Find the PID of the nc process (column PID) ps aux # | grep -i nc | grep -vi grep