repositories

voidwalker.py

Penetration testing arsenal builder and workspace manager for macOS and Linux

clonegit clone https://git.daemon-sec.xyz/voidwalker.py.git
tmux.confConfig86 lines3.4 KiBraw download
# tmux.conf — Rose Pine HTB workspace, intentionally plugin-free at runtime.
# Session restoration is omitted because process argv and pane scrollback can
# contain lab credentials. Put personal overrides in ~/.config/tmux/local.conf.

# Terminal and input ---------------------------------------------------------
set -g default-terminal "tmux-256color"
set -as terminal-features ",alacritty:RGB:clipboard,xterm*:RGB:clipboard"
set -g set-clipboard external
set -g history-limit 100000
set -g mouse on
set -g base-index 1
setw -g pane-base-index 1
set -g renumber-windows on
set -sg escape-time 10
set -g focus-events on
set -g status-interval 5
set -g allow-rename off
set -g set-titles on
set -g set-titles-string "tmux:#S:#I.#P #W"

# Prefix: retain C-b and add the screen-style C-a ----------------------------
set -g prefix2 C-a
bind C-a send-prefix -2
bind r source-file ~/.tmux.conf \; display-message "tmux config reloaded"

# Windows and panes ----------------------------------------------------------
bind | split-window -h -c "#{pane_current_path}"
bind - split-window -v -c "#{pane_current_path}"
bind c new-window -c "#{pane_current_path}"
unbind '"'
unbind %

setw -g mode-keys vi
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind -r H resize-pane -L 5
bind -r J resize-pane -D 5
bind -r K resize-pane -U 5
bind -r L resize-pane -R 5
bind -n M-Left select-pane -L
bind -n M-Down select-pane -D
bind -n M-Up select-pane -U
bind -n M-Right select-pane -R
bind C-s set-window-option synchronize-panes \; display-message "sync panes: #{?pane_synchronized,on,off}"

# Copy mode uses tmux/OSC52. With `external`, pane escape sequences cannot
# overwrite the workstation clipboard, but deliberate copy-mode actions can.
bind -T copy-mode-vi v send -X begin-selection
bind -T copy-mode-vi y send -X copy-selection-and-cancel
bind -T copy-mode-vi Enter send -X copy-selection-and-cancel

# HTB workflow ---------------------------------------------------------------
# prefix + P: switch to/create the active target workspace.
# prefix + V: dedicate a window to the foreground OpenVPN connection.
bind P run-shell "$HOME/.local/bin/htb-session"
bind V new-window -n vpn -c "$HOME" "pe vpn up; exec \"\${SHELL:-sh}\" -l"

# Rose Pine status line ------------------------------------------------------
set -g status on
set -g status-position bottom
set -g status-justify left
set -g status-style "bg=#191724,fg=#e0def4"

set -g status-left-length 40
set -g status-left "#[bg=#c4a7e7,fg=#191724,bold] #S #[bg=#191724,fg=#c4a7e7] "

set -g status-right-length 120
set -g status-right "#(ip -o link show 2>/dev/null | grep -qE '[0-9]+: (tun|tap|wg)' && printf 'VPN ')#[bg=#eb6f92,fg=#191724,bold] ⚑ #(test -x \"$HOME/.local/bin/pe\" && \"$HOME/.local/bin/pe\" target status --tmux) #[bg=#191724,fg=#9ccfd8] %a %d %b #[fg=#f6c177]%H:%M "

setw -g window-status-format "#[fg=#6e6a86] #I:#W "
setw -g window-status-current-format "#[bg=#26233a,fg=#f6c177,bold] #I:#W #[default]"
setw -g window-status-separator ""

set -g pane-border-style "fg=#26233a"
set -g pane-active-border-style "fg=#c4a7e7"
set -g pane-border-lines single
set -g display-panes-colour "#6e6a86"
set -g display-panes-active-colour "#c4a7e7"
set -g message-style "bg=#26233a,fg=#e0def4"
set -g mode-style "bg=#c4a7e7,fg=#191724"
set -g clock-mode-colour "#f6c177"

# Optional personal settings; quiet when absent.
source-file -q "$HOME/.config/tmux/local.conf"