Skip to content

Commit

Permalink
Being more specific about the WSL workaround to upgrade the shell
Browse files Browse the repository at this point in the history
  • Loading branch information
Eneru authored May 4, 2024
1 parent ed918fa commit 305f78b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/cheatsheets/shell-reverse-cheatsheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -559,8 +559,14 @@ stty rows <num> columns <cols>
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
## <ctrl+b> then <c>
ctrl+b c

# Find the PID of the nc process (column PID)
ps aux # | grep -i nc | grep -vi grep
Expand Down

0 comments on commit 305f78b

Please sign in to comment.