Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SecureShift

SecureShift Logo

Docker License: MIT Go

SecureShift is a web application security training platform designed for educational purposes. It demonstrates common web vulnerabilities in a controlled environment for security learning and practice.

Features

  • SQL Injection (SQLi)
  • Cross-Site Scripting (XSS)
  • Cross Site Request Forgery (CSRF)
  • DOM-based Vulnerabilities (DOM XSS)
  • OS Command Injection
  • Path Traversal
  • Insecure Deserialization
  • Information Disclosure
  • File Upload Vulnerabilities
  • JWT (JSON Web Token) Bypass
  • Insecure Direct Object Reference (IDOR)
  • Server-Side Request Forgery (SSRF)
  • Server-Side Template Injection (SSTI)
  • XML External Entity (XXE)

Quick Start

Using Docker

# Pull and run the container
docker pull ozcanpng/secureshift
docker run -d -p 3000:3000 --name secureshift ozcanpng/secureshift

# Access the application
open http://localhost:3000

From Source

# Clone the repository
git clone https://github.com/ozcanpng/SecureShift.git
cd SecureShift

# Install dependencies
go mod tidy

# Run the application (secure mode by default)
go run cmd/server/main.go

# Or run in insecure mode for vulnerability discovery
MODE=insecure go run cmd/server/main.go

# Or run in secure mode explicitly
MODE=secure go run cmd/server/main.go

# Access the application
open http://localhost:3000

Operating Modes

SecureShift operates in two modes:

  • Secure Mode (default): Vulnerabilities are patched for learning purposes
  • Insecure Mode: Contains intentional vulnerabilities for security testing

You can switch between modes using the MODE environment variable. If you discover vulnerabilities in secure mode, please report them - this helps improve the platform's security.

Default Login

Username: darlene
Password: darlene321

Docker Commands

# Pull image
docker pull ozcanpng/secureshift

# Run container
docker run -d -p 3000:3000 --name secureshift ozcanpng/secureshift

# Stop container
docker stop secureshift

# Start container
docker start secureshift

# Remove container
docker rm secureshift

# View logs
docker logs secureshift

Build from Source

# Clone repository
git clone https://github.com/ozcanpng/SecureShift.git
cd SecureShift

# Download dependencies
go mod download

# Build application
go build -o secureshift cmd/server/main.go

# Run binary (secure mode)
./secureshift

# Run binary (insecure mode)
MODE=insecure ./secureshift

Project Structure

SecureShift/
├── cmd/server/main.go     # Application entry point
├── internal/              # Application logic
├── web/                   # Frontend files
├── data/                  # Database (auto-generated)
├── LICENSE                # MIT License
└── README.md

Documentation

For detailed vulnerability explanations and exploitation examples, see: SecureShift PoC Report

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact

GitHub: SecureShift Repository
Docker Hub: ozcanpng/secureshift

About

SecureShift is a security training project built with Go and SQLite, showcasing common web vulnerabilities for educational purposes.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages