arsenal icon indicating copy to clipboard operation
arsenal copied to clipboard

Tmux widget

Open 4Kp3n opened this issue 1 year ago • 0 comments

Great tool!

I would love to see something similiar to denisidoro/navi's tmux plugin.

You can open a new split in any tmux session, choose the command you want and on hitting enter the split running arsenal closes and pastes the command into your initial session.

You could execute arsenal from any reverse shell as long as it is running in a tmux session.

(navi achieves this with a simple addition to .tmux.conf)

bind-key -T prefix C-g split-window \
  "$SHELL --login -i -c 'navi --print | head -n 1 | tmux load-buffer -b tmp - ; tmux paste-buffer -p -t {last} -b tmp -d'"

4Kp3n avatar May 29 '23 07:05 4Kp3n