summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root@agr0.spicytaco.local>2020-05-11 11:12:30 -0400
committerroot <root@agr0.spicytaco.local>2020-05-11 11:12:30 -0400
commit1bf99656291116f358e09799f23175571aeb8c32 (patch)
tree2174a4941cdc97ac1b572ae4b5321936d60cde20
parenta0b8311d1bec4577507615f391c2dfdf5c08dfc1 (diff)
Added support for tmux
-rw-r--r--kali.yml8
-rw-r--r--master-tmux_conf14
-rw-r--r--setup-kali.sh8
3 files changed, 29 insertions, 1 deletions
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
@@ -33,6 +33,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! *"