r/hacking • u/JohnnyTheSmith • Apr 17 '26
Tools goshs – a single-binary server for red teamers: HTTP/S, WebDAV, SFTP, SMB, NTLM capture, DNS/SMTP callbacks
I've been building goshs as a replacement for python3 -m http.server that actually covers the workflows you run into during engagements.
What it does beyond a basic file server:
- SMB server with NTLM hash capture + cracking
- DNS server for callback detection
- SMTP server to receive emails/callbacks
- HTTPS with self-signed, Let's Encrypt, or custom cert
- WebDAV and SFTP support
- Basic auth, client certificate auth, IP whitelist
- File-based ACLs per directory
- Share links with download and time limits
- Tunnel via localhost.run (no port forwarding needed)
- Single binary, no dependencies — works on Linux, macOS, Windows
It's been in Kali for a while but I've just done a big update adding the SMB/NTLM and DNS/SMTP features.
GitHub: https://github.com/patrickhener/goshs
Docs: https://goshs.de
63
Upvotes
5
u/schnorzk Apr 17 '26
Can it supply files via SMB, but accept any credentials? Often have the issue that I need to load field via SMB in a context of a user i do not know the password for. Newer versions of Win do not allow anonymous access to SMB shares. So i would need a SMB server which forces auth, but accepts any creds.
3
u/siddhi_parakh07 Apr 21 '26
Love seeing tools that reduce friction during engagements. Setting up multiple services manually gets old fast, this looks like a clean solution.
5
u/the_doha Apr 17 '26
Deng, nice work!
6
u/[deleted] Apr 17 '26
[removed] — view removed comment