GTFOBins.github.io/_gtfobins/tmux.md
Amir Mohammad Jahangirzad f074bc8c76
Add tmux socket method
Co-authored-by: AmirMohammad Jahangirzad <a.jahangirzad@spara.ir>
Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
2023-11-22 21:19:31 +01:00

16 lines
423 B
Markdown

---
functions:
file-read:
- description: The file is read and parsed as a `tmux` configuration file, part of the first invalid line is returned in an error message.
code: |
LFILE=file_to_read
tmux -f $LFILE
shell:
- code: tmux
- description: Provided to have enough permissions to access the socket.
code: |
tmux -S /path/to/socket_name
sudo:
- code: sudo tmux
---