From 305f78bf53b8fd2cdd7c29a03851daf555fae629 Mon Sep 17 00:00:00 2001 From: Eneru Date: Sat, 4 May 2024 12:19:46 +0200 Subject: [PATCH] Being more specific about the WSL workaround to upgrade the shell --- docs/cheatsheets/shell-reverse-cheatsheet.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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