An open API service indexing awesome lists of open source software.

https://github.com/theflash2k/tmux-spawn

An automated TMUX Spawner script that will increase your workflow and setup basic stuff you might need in your CTFs
https://github.com/theflash2k/tmux-spawn

Last synced: about 1 year ago
JSON representation

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

Awesome Lists containing this project

README

          

# TMUX-Spawn

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

## Usage:

```bash
# Usage:
$ IP= 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:
```bash
$ 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.