File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33Allows 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
76On your workstation:
87``` shell
98curl -SsfL https://github.com/hackerschoice/tmux/releases/latest/download/tmux-thc.tar.gz | tar xfz - -C ~ /.config
109grep -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
1518Start ` 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
You can’t perform that action at this time.
0 commit comments