Skip to content

An automated TMUX Spawner script that will increase your workflow and setup basic stuff you might need in your CTFs

Notifications You must be signed in to change notification settings

TheFlash2k/tmux-spawn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

TMUX-Spawn

An automated script that will allow you to automate your TMUX workflow when solving CTF challenges.

Usage:

# Usage:
$ IP=<IP> MACHINE_NAME=<MACHINE_NAME> $0

# Example:
$ IP=192.168.0.100 MACHINE_NAME=TEST tmux-spawn

Commands.sh:

You can add your custom commands in this file. Following commands are added by default:

$ export nc_listen="rlwrap nc -lvnp $1"
$ export nmap_allports="nmap -p- --min-rate=10000 -oN logs/initial.nmap $IP $1"
$ export nmap_full="nmap -p $1 -sC -sV -oN logs/full.nmap $IP $2"
$ export gobuster_common="gobuster dir -u $1 -w /usr/share/wordlists/dirb/common.txt -o logs/gobuster-common.txt"
$ export gobuster_medium="gobuster dir -u $1 -w /usr/share/wordlists/dirbuster/directory-list-2.3-medium.txt -o gobuster-medium.txt"
$ export nikto_full="nikto -h $1 | tee logs/nikto.log"
$ export smbclient_list="smbclient -L \\\\$IP\\"
$ export smbclient_connect="smbclient \\\\$IP\\$1"
$ export add_host="echo $1 | sudo tee -a /etc/hosts"

Note:

The script currently only supports Boot2Root machines. Later I will add support for a jeopardy CTF that will create several folders such as Web, Pwn, Rev, Crypto etc.

About

An automated TMUX Spawner script that will increase your workflow and setup basic stuff you might need in your CTFs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages