2.4.0
This is a big release and contains numerous fixes and additions thanks to Roman Maksimov (@rmaksimov).
Fixes:
- #112 - fix fragmentation bug; remove an unnecessary code in SplitData function
- #113 - fixes HTTP WWW-Authentication header parsing. Case sensitive parsing of the Authorization header gave false authorization failures
- #114 - fixes authentication bug that existed for the usage of
--basic
. Smarter auto authnetication scheme selection - #115 - fixes autodiscover cache creation. Valid cache was being overwritten with empty file when autodiscover failed
- #117 - fix 503 RPC error that occurred due to extra Cookie header and bad line-breaks (hopefully fixes issue #51)
- #118 - misc error details improvements and code clean-up
Additions:
- #116 - adds a
--hostname
option that allows controlling the Workstation name that gets sent in NTLM authentication attempts - #118 - adds
--useragent
for controlling the user-agent sent in HTTP headers
$ make compile
# 32-bit
# Linux
GOOS=linux GOARCH=386 go build -o ruler-linux86
sha256sum ruler-linux86
4b715d5b2540089cbfe911af30dae286ab8323bae507e232b5742410eac36e93 ruler-linux86
# Windows
GOOS=windows GOARCH=386 go build -o ruler-win86.exe
sha256sum ruler-win86.exe
27eefea75b640ff25512afbc539354e5baea063dc76753aa159e22dbd2734704 ruler-win86.exe
# OSX
GOOS=darwin GOARCH=386 go build -o ruler-osx86
sha256sum ruler-osx86
8bd775dc764f0eced8af39c7d319c70ed49ee09fb5013e630b5874cf0b468445 ruler-osx86
# 64-bit
# Linux
GOOS=linux GOARCH=amd64 go build -o ruler-linux64
sha256sum ruler-linux64
6a473fdd9b5e22a70f9784a1cbbae071acfe06f1d92f4c477113d8bec0017a4e ruler-linux64
# Windows
GOOS=windows GOARCH=amd64 go build -o ruler-win64.exe
sha256sum ruler-win64.exe
d82200193144a6541d1883c94ab208c4e8811f6358de5e914b7673573c7345d6 ruler-win64.exe
GOOS=darwin GOARCH=amd64 go build -o ruler-osx64
sha256sum ruler-osx64
62085757bec1686a33d219bd28a3a65e92bd07988cd0284492becd083cf351f4 ruler-osx64
# Download and check the sha256sum.
$ curl -fSL "https://github.com/sensepost/ruler/releases/download/2.4.0/ruler-linux64" -o "/usr/local/bin/ruler" \
&& echo "${RULER_SHA256} /usr/local/bin/ruler" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/ruler"