57 Commits

Author SHA1 Message Date
Russ Cox
7b9c9198d5 utils: make repo safe for "go build ./..."
This directory contains two separate helper programs
that can be run with "go run". It's not possible to cd into
the directory and run "go build", because there are two
different Go source files defining main.main.

The canonical way to indicate this is to put a "// +build ignore"
build tag at the top of such helper programs.
Then they can still be run by

	go run decode_auth.go
	go run test_auth.go

but will not be considered by "cd utils; go build" nor by
commands like "go build ./..." or "go test ./..." in the
root of the repo.
2018-05-24 22:55:54 -04:00
Brian Cully
2a7c173f9e
Merge pull request #10 from EdwardBetts/spelling
correct spelling mistake
2017-10-30 09:35:01 -06:00
Edward Betts
10ef9c442c correct spelling mistake 2017-09-01 16:10:43 +01:00
Brian Cully
b00ec39bbd Use golang's log, so we don't need log4go. 2015-10-30 00:47:37 +00:00
Kamil Kisiel
52b7efa603 Merge pull request #6 from jbussdieker/master
Fix typo in README.md
2014-08-22 11:32:25 -07:00
Joshua Bussdieker
dc6ca4b498 Fix typo in README.md 2014-08-22 10:37:12 -07:00
Matthew Kanwisher
bd2d606526 ugh sometimes you have to patch things 2014-01-30 23:52:25 +07:00
Matthew Kanwisher
c8a3b75c07 swap out log libraries 2013-12-16 17:55:30 -05:00
Matthew Kanwisher
fa838c58b1 fix import 2013-12-16 17:54:40 -05:00
Matthew Kanwisher
2c41892430 ugh tracking down a nil pointer problem 2013-12-16 17:52:44 -05:00
Matthew Kanwisher
f19ccd5e15 Changed license to BSD license 2013-07-26 12:44:48 -04:00
Matthew Kanwisher
aeba978d32 Merge pull request #4 from ThomsonReutersEikon/refactor_messages
Refactor messages
2013-07-23 18:01:07 -07:00
Conor Hunt
6783d408ba rename Authenticate/Challenge/Negotiate to *Message 2013-07-23 15:35:16 -05:00
Conor Hunt
af256c1a87 move messages out of unecessary messages package and in to ntlm package 2013-07-23 15:27:25 -05:00
Conor Hunt
e3fb7332f7 fix issue where NTLMv1 with extended session security would always authenticate with any password 2013-07-23 14:55:12 -05:00
Matthew Kanwisher
a11b8727db fixing readme 2013-07-23 11:32:48 -04:00
Matthew Kanwisher
f221989156 removed non useful comments 2013-05-22 09:55:10 -04:00
Matthew Kanwisher
7dd611b64e fixing godoc formatting 2013-05-21 22:17:29 -04:00
Matthew Kanwisher
85f6623a22 making things more go get friendly 2013-05-21 16:07:12 -04:00
Matthew Kanwisher
6e9e2ebdb3 moving to support go get 2013-05-21 15:58:36 -04:00
Conor Hunt
fbe6b39533 Update README to note capabilities and usage notes. 2013-05-21 16:37:45 -03:00
David Michael
8d2d8236a5 making the README pretty 2013-05-21 14:54:42 -04:00
Matthew Kanwisher
8966f9d83d adding License information and go format 2013-05-21 14:40:12 -04:00
Matthew Kanwisher
2eea5b495b Merge commit '1010dbd' 2013-05-11 18:15:34 -04:00
Matthew Kanwisher
1010dbd7d2 expose macsequal 2013-05-11 18:13:52 -04:00
Matthew Kanwisher
cab675b1fd exposing more stuff 2013-05-11 18:11:39 -04:00
Matthew Kanwisher
1da4ab53b9 exposing more functions 2013-05-11 18:09:05 -04:00
Matthew Kanwisher
d960dfe90e exporting fields so they can be serialized 2013-05-11 17:10:19 -04:00
Matthew Kanwisher
e9221087f7 cleanup crap 2013-04-15 18:24:59 -04:00
Matthew Kanwisher
9713171bf6 fix signature generation on ntlmv1 2013-04-15 18:19:19 -04:00
Matthew Kanwisher
c71d542d90 minor tweaks for ntlmv1 2013-04-15 17:55:10 -04:00
Matthew Kanwisher
413d3231d7 hacking up the ntlm tests to work 2013-04-15 17:43:20 -04:00
Matthew Kanwisher
632d9d2622 adding a tiny bit of logging 2013-03-17 14:10:39 -04:00
John Shahid
ca8e8b0536 add VerifyMac to the ClientSession interface. 2013-03-15 19:06:37 -04:00
Conor Hunt
b6450042ef add some checking when trying to parse an NTLMv1 auth message as NTLMv1 2013-03-11 17:07:43 -04:00
Conor Hunt
7d7e8661ae add utility for testing authentication 2013-03-11 16:34:48 -04:00
Conor Hunt
ff027624e9 added test for usimg the username and domain from the authenticate packet 2013-03-11 16:31:42 -04:00
Conor Hunt
452979e4c9 use the username and domain from the authenticate message instead of using the values passed in via SetUserInfo 2013-03-11 16:14:24 -04:00
Conor Hunt
35794c1930 tool parses ntlm v1 or v2 2013-03-11 15:14:12 -04:00
Conor Hunt
3cbc1cbcaa add a tool to parse authenticate messages 2013-03-11 15:07:53 -04:00
John Shahid
9fe85d7ff4 add a TODO to the ntlm v2 test. 2013-02-26 17:45:32 -05:00
John Shahid
77ba2af87c Separate the Client and Server Mac and VerifyMac. 2013-02-26 17:45:20 -05:00
John Shahid
da22a04237 fix a typo. 2013-02-26 17:45:16 -05:00
John Shahid
0f02a904d6 Add the VerifyMac method. 2013-02-26 17:44:37 -05:00
John Shahid
cbe002070e add pkg to .gitignore 2013-02-26 17:44:29 -05:00
Conor Hunt
6bfa90e48a better description of the reinitialization and check for DATAGRAM flag 2013-01-21 13:19:00 -05:00
Conor Hunt
e83e5a5b29 reinitialize rc4 cipher for each request 2013-01-21 12:48:44 -05:00
Conor Hunt
9e3a4ab4f4 challenege message for ntlmv2 should specify that 128bit encryption is supported 2013-01-21 11:08:40 -05:00
Conor Hunt
d2a17e1782 fixes from NTLM real world testing 2012-12-06 21:48:17 -05:00
Conor Hunt
949b63ef3e make sure to save server challenge bytes 2012-11-10 15:57:24 -05:00