All eating honeypot
Go Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app use viper/pflag Jul 10, 2018
config logging and test rework Jul 13, 2018
examples Enhancement plus tcp_proxy (#91) Sep 3, 2017
producer switch to dep and 1.9 fixes. docker rearranged Nov 15, 2017
protocols SMB MakeComTransaction2Response May 30, 2017
rules Merge branch 'jabber.1' of git://github.com/nassimabedi/glutton into … Jul 11, 2018
.gitignore vet fixes Nov 16, 2017
.travis.yml working mqtt Jul 11, 2018
Dockerfile dependencie updates Jul 10, 2018
Gopkg.lock initial mqtt support Jul 11, 2018
Gopkg.toml dependencie updates Jul 10, 2018
LICENSE Initial commit Jul 11, 2016
Makefile Minor makefile fixes Nov 16, 2017
README.md Update README.md Aug 13, 2018
ftp.go Context implementation (#83) Jun 13, 2017
glutton.go logging and test rework Jul 13, 2018
glutton_test.go logging and test rework Jul 13, 2018
http.go initial mqtt support Jul 11, 2018
jabber.go slight fixes Jul 11, 2018
logger.go logging and test rework Jul 13, 2018
mqtt.go working mqtt Jul 11, 2018
peek.go glutton allthethings Jan 27, 2017
protocols.go Merge branch 'jabber.1' of git://github.com/nassimabedi/glutton into … Jul 11, 2018
proxy_ssh.go vet fixes Nov 16, 2017
proxy_tcp.go vet fixes Nov 16, 2017
rdp.go Context implementation (#83) Jun 13, 2017
rfb.go vet fixes Nov 16, 2017
sip.go Context implementation (#83) Jun 13, 2017
smb.go Context implementation (#83) Jun 13, 2017
smtp.go typo fix in smtp (#104) Jul 11, 2018
system.go removed unsupported number of connections Apr 11, 2018
tcp.go Context implementation (#83) Jun 13, 2017
telnet.go vet fixes Nov 16, 2017

README.md

Glutton

Build Status GoDoc

Setup go 1.9+. Install required system packages:

apt-get install libnetfilter-queue-dev libpcap-dev iptables-dev

To change your SSH server default port (i.e. 5001, see rules.yaml) and restart sshd:

sed -i 's/[# ]*Port .*/Port 5001/g' /etc/ssh/sshd_config

Download glutton, and install dependencies using dep:

go get github.com/mushorg/glutton
go get -u github.com/golang/dep/cmd/dep
cd $GOPATH/src/github.com/mushorg/glutton/
dep ensure

Build glutton:

make build

To run/test glutton:

bin/server

Use as Proxy

Glutton provide SSH and TCP proxy. SSH proxy work as MITM between attacker and server to log every thing in plan text. TCP proxy does not provide facility for logging yet. Examples can be found here.