Skip to content

Commit ca54be4

Browse files
authored
Update README.md
1 parent 7096bf2 commit ca54be4

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,18 @@
22

33
Allows a user to upload / download files to / from a remote Linux target without needing to install ANY tools on the remote target.
44

5-
65
## Install
76
On your workstation:
87
```shell
98
curl -SsfL https://github.com/hackerschoice/tmux/releases/latest/download/tmux-thc.tar.gz | tar xfz - -C ~/.config
109
grep -qFm1 tmux_thc ~/.config/tmux/tmux.conf 2>/dev/null || \
11-
echo 'if-shell "test -f ~/.config/tmux/tmux_thc.conf" "source-file ~/.config/tmux/tmux_thc.conf' >>~/.config/tmux/tmux.conf"'
10+
echo 'if-shell "test -f ~/.config/tmux/tmux_thc.conf" "source-file ~/.config/tmux/tmux_thc.conf"' >>~/.config/tmux/tmux.conf
11+
tmux info 2>/dev/null && tmux source ~/.config/tmux/tmux.conf
12+
command -v pv >/dev/null || sudo apt install pv
1213
```
1314

15+
<img width="1081" height="476" alt="tmux-thc-upload" src="https://github.com/user-attachments/assets/5224828c-ff02-4976-90ce-3d64556ca4be" />
16+
1417
## Use
1518
Start `tmux` on your workstation and use `ssh` or similiar RAT to connect to your remote target. Thereafter use these keys to do the magic:
1619

@@ -19,7 +22,7 @@ Start `tmux` on your workstation and use `ssh` or similiar RAT to connect to you
1922
| Ctrl-b U | Upload a file |
2023
| Ctrl-b D | Download a file |
2124
| Ctrl-b H | Load hackshell |
22-
| Ctrl-b R | Start / Stop recording current session |
25+
| Ctrl-b R | Start / Stop recording current session to ~/tmux-rec-*.txt |
2326
| Ctrl-b S | Take screenshot of current session |
2427

2528

0 commit comments

Comments
 (0)