From 1bf99656291116f358e09799f23175571aeb8c32 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 11 May 2020 11:12:30 -0400 Subject: Added support for tmux --- kali.yml | 8 ++++++++ master-tmux_conf | 14 ++++++++++++++ setup-kali.sh | 8 +++++++- 3 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 master-tmux_conf diff --git a/kali.yml b/kali.yml index f356e6c..a9c77ec 100644 --- a/kali.yml +++ b/kali.yml @@ -47,6 +47,7 @@ - jq - powershell - samba + - tmux state: latest - name: Clone Invoke-Obfuscation (•_•) ( •_•)>⌐■-■ (⌐■_■) @@ -131,6 +132,13 @@ owner: root group: root + - name: Copying over tmux config + copy: + src: /tmp/master-tmux_conf + dest: /root/.tmux.conf + owner: root + group: root + - name: Create /srv/smb/ directory for payload population file: path: /srv/smb diff --git a/master-tmux_conf b/master-tmux_conf new file mode 100644 index 0000000..55cf067 --- /dev/null +++ b/master-tmux_conf @@ -0,0 +1,14 @@ +# remap CTRL-b to CTRL-a because it's better +unbind C-b +set-option -g prefix C-a +bind-key C-a send-prefix + +# vi master race +set -g mode-keys vi +set -sg escape-time 0 + +# I <3 history +set -g history-limit 500000 + +# colors! +set -g default-terminal "screen-256color" diff --git a/setup-kali.sh b/setup-kali.sh index 6ff8a68..1a8d5ca 100644 --- a/setup-kali.sh +++ b/setup-kali.sh @@ -32,6 +32,12 @@ echo "***********************************" curl -sL http://raw.github.com/AgroDan/FreshInstall/master/master-bash_functions -o /tmp/master-bash_functions +echo "***********************************" +echo "* Pulling .tmux.conf *" +echo "***********************************" + +curl -sL http://raw.github.com/AgroDan/FreshInstall/master/master-tmux_conf -o /tmp/master-tmux_conf + echo "***********************************" echo "* Running Kali playbook *" echo "***********************************" @@ -44,7 +50,7 @@ echo "***********************************" echo "* Cleaning up *" echo "***********************************" -rm -f /tmp/master-bash* /tmp/get-pip.py /tmp/kali.yml +rm -f /tmp/master-bashrc /tmp/master-bash_functions /tmp/master-tmux_conf /tmp/get-pip.py /tmp/kali.yml echo "***********************************" echo "* Done! *" -- cgit v1.2.3