Skip to content

alexandear-org/goshs

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

541 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Version GitHub GitHub go.mod Go version GitHub issues goreleaser Go Report Card codecov GitHub stars

goshs-logo

You're mid-engagement. You need to transfer a file, catch an SMB hash, or stand up a quick HTTPS server β€” and python3 -m http.server won't cut it.

goshs is a single-binary file server built for the moments when you need more than Python's SimpleHTTPServer but don't want to configure Apache. HTTP/S, WebDAV, SFTP, SMB, LDAP, basic auth, share links, DNS/SMTP callbacks, NTLM hash capture + cracking β€” all from one command.

intro

goshs-screenshot-light goshs-screenshot-dark

Collaboration / CTF Features

goshs-collab

goshs-smb-ntlm

Quick Start

# 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

Documentation

For a detailed documentation go to goshs.de

Features

πŸ“ File Operations Download, upload (drag & drop, POST/PUT), delete, bulk ZIP, QR codes
πŸ”Œ Protocols HTTP/S, WebDAV, SFTP, SMB, LDAP
πŸ”’ 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, LDAP credential capture + NTLM hash cracking (JNDI mode for Log4Shell), redirect endpoint, Rev Shell Catcher + Payload generator
πŸ”” Integration Webhooks, tunnel via localhost.run, config file, JSON API, mDNS
πŸ› οΈ Misc Dark/light themes, clipboard, self-update, log output, embed files, drop privileges

Installation

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-all

Code Contributors

Contributors

Security Contributors

These are the awesome contributors that made goshs even more secure ❀️

wooseokdotkim Guilhem7

Community

Join the Discord Community and start connecting.

Join Discord

Star History

Star History Chart

Credits

A special thank you goes to sc0tfree for inspiring this project with his project updog written in Python.

About

A SimpleHTTPServer written in Go, enhanced with features and with a nice design - https://goshs.de

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Go 67.1%
  • JavaScript 13.3%
  • HTML 12.5%
  • SCSS 5.7%
  • Makefile 0.7%
  • CSS 0.6%
  • Dockerfile 0.1%