
Um simples xerife de teste de SSRF escrito em Go
Este é um xerife de teste SSRF escrito em Go. Foi originalmente criado para o Uber H1-4420 2019 London Live Hacking Event, mas agora está sendo disponibilizado como código aberto para que outras organizações possam implementá-lo e contribuir.
GET, POST, PUT, DELETE, etc.)go get github.com/teknogeek/ssrf-sheriff
cd $GOPATH/src/github.com/teknogeek/ssrf-sheriff
cp config/base.example.yaml config/base.yaml
# ... configure ...
go run main.go
Texto simples
$ curl -sSD- http://127.0.0.1:8000/foobar
HTTP/1.1 200 OK
Content-Type: text/plain
X-Secret-Token: SUP3R_S3cret_1337_K3y
Date: Mon, 14 Oct 2019 16:37:36 GMT
Content-Length: 21
SUP3R_S3cret_1337_K3y
XML
$ curl -sSD- http://127.0.0.1:8000/foobar.xml
HTTP/1.1 200 OK
Content-Type: application/xml
X-Secret-Token: SUP3R_S3cret_1337_K3y
Date: Mon, 14 Oct 2019 16:37:41 GMT
Content-Length: 81
<SerializableResponse><token>SUP3R_S3cret_1337_K3y</token></SerializableResponse>
Inspirado (e solicitado) por Frans Rosén durante sua palestra no BountyCon '19 Singapura
Lançado sob a Licença MIT.