goshs is a replacement for Python's SimpleHTTPServer. It is a feature-rich file server supporting HTTP/S, WebDAV, SFTP, and SMB — with built-in authentication, share links, webhooks, and collaboration features for penetration testing and CTF challenges.
# Serve the current directory on port 8000
goshs
# Serve with HTTPS (self-signed) and basic auth
goshs -s -ss -b user:password
# Capture SMB hashes
goshs -smb -smb-domain CORP
# Catch DNS callbacks and receive emails
goshs -dns -dns-ip 1.2.3.4 -smtp -smtp-domain your-domain.comFor a detailed documentation go to goshs.de
| 📁 File Operations | Download, upload (drag & drop, POST/PUT), delete, bulk ZIP, QR codes |
| 🔌 Protocols | HTTP/S, WebDAV, SFTP, SMB |
| 🔒 Auth & Security | Basic auth, certificate auth, TLS (self-signed, Let's Encrypt, custom cert), IP whitelist, file-based ACLs |
| ⚙️ Server Modes | Read-only, upload-only, no-delete, silent, invisible, CLI command execution |
| 🔗 Share Links | Token-based sharing, download limit, time limit |
| 🎯 Collaboration / CTF | DNS server, SMTP server, SMB NTLM hash capture + cracking, redirect endpoint |
| 🔔 Integration | Webhooks, tunnel via localhost.run, config file, JSON API, mDNS |
| 🛠️ Misc | Dark/light themes, clipboard, self-update, log output, embed files, drop privileges |
| Method | |
|---|---|
| 🦫 Go | go install goshs.de/goshs/v2@latest |
| 🐉 Kali | sudo apt install goshs |
| 🍺 Homebrew | brew install goshs |
| 🪟 Scoop | scoop bucket add extras && scoop install extras/goshs |
| 🐳 Docker | docker run --rm -it -p 8000:8000 -v "$PWD:/pwd" patrickhener/goshs:latest -d /pwd |
| 📦 Release | Download from GitHub Releases |
🔧 Build yourself
Building requirements are uglify-js and sass. After installing these packages run:
git clone https://github.com/patrickhener/goshs.git
cd goshs
make build-allThese are the awesome contributors that made goshs even more secure ❤️
![]() |
![]() |
![]() |
![]() |
Guilhem7 |
Join the Discord Community and start connecting.
A special thank you goes to sc0tfree for inspiring this project with his project updog written in Python.







