Joshua J. Drake
|
e9c3e8ee50
|
Fix SMB_COM_NT_TRANSACT structure definition per specification. For more information see http://j.mp/t5zzku
|
2011-11-27 19:27:01 -06:00 |
HD Moore
|
40b9b2467b
|
Remove the downgrade until we figure out the cause, getting different results for the same OS/SP/configuration
git-svn-id: file:///home/svn/framework3/trunk@12991 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-06-21 01:12:17 +00:00 |
HD Moore
|
c42ea1f896
|
Re-enable the workaround for now, see #4785
git-svn-id: file:///home/svn/framework3/trunk@12989 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-06-20 23:38:30 +00:00 |
HD Moore
|
ab615c1225
|
Reference the ticket in this comment: See #4785
git-svn-id: file:///home/svn/framework3/trunk@12987 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-06-20 23:32:29 +00:00 |
HD Moore
|
346018c321
|
Disable NTLMv2 Session for Windows 2000 servers
git-svn-id: file:///home/svn/framework3/trunk@12984 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-06-20 22:54:13 +00:00 |
Joshua Drake
|
1eee55b3cf
|
remove a crufty require
git-svn-id: file:///home/svn/framework3/trunk@12502 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-05-02 03:42:26 +00:00 |
amaloteaux
|
3e0982a792
|
enable ntlmv2 by default for smb, mssql and http
git-svn-id: file:///home/svn/framework3/trunk@12227 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-04-03 21:06:50 +00:00 |
amaloteaux
|
c5e137d7d3
|
correct a bug on ntlm signing
git-svn-id: file:///home/svn/framework3/trunk@12211 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-04-01 20:58:11 +00:00 |
James Lee
|
b823ea9876
|
fix undefined method error by using the correct class
git-svn-id: file:///home/svn/framework3/trunk@12169 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-03-28 18:42:22 +00:00 |
amaloteaux
|
19a4a2d88a
|
move some code from lib/rex/proto/smb/client to lib/rex/proto/ntlm/util and add a mini mixin for ntlm
git-svn-id: file:///home/svn/framework3/trunk@12162 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-03-27 20:14:56 +00:00 |
amaloteaux
|
a7d2a34fe2
|
move comment
git-svn-id: file:///home/svn/framework3/trunk@11972 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-03-16 00:27:44 +00:00 |
amaloteaux
|
b7a0a305ee
|
allow psexec to success when SPN validation level is required on windows seven / 2008r2 servers
git-svn-id: file:///home/svn/framework3/trunk@11971 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-03-16 00:12:07 +00:00 |
amaloteaux
|
b5323c129c
|
when ntlmssp is not used, better to disable signing then raising an error
git-svn-id: file:///home/svn/framework3/trunk@11918 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-03-09 21:51:11 +00:00 |
amaloteaux
|
fea87fb82b
|
enable pass-the-hash when signing is required
git-svn-id: file:///home/svn/framework3/trunk@11917 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-03-09 21:13:04 +00:00 |
amaloteaux
|
2fa2ca174c
|
use the correct exception
git-svn-id: file:///home/svn/framework3/trunk@11916 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-03-09 17:31:53 +00:00 |
HD Moore
|
612c2e6796
|
This commit fixes much of the NTLM crypt code to work properly again, fixing #3918 as well.
git-svn-id: file:///home/svn/framework3/trunk@11914 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-03-09 05:04:42 +00:00 |
HD Moore
|
046d75533a
|
This patch adds a method for recognizing LM/NTLM hashes, disables signing when no user is specified and the server denies our NTLMSSP logon with an empty user, and cleans up the indents and formatting for some of the new code
git-svn-id: file:///home/svn/framework3/trunk@11912 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-03-09 03:35:25 +00:00 |
HD Moore
|
315a1cb4f2
|
Disable signing when we reach this corner case, required to setup null sessions to XP SP2/SP3 (no domain)
git-svn-id: file:///home/svn/framework3/trunk@11910 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-03-09 03:08:11 +00:00 |
amaloteaux
|
b04ac2d446
|
enable pass-the-hash for ntlmv2 as well, signing is not yet suported
git-svn-id: file:///home/svn/framework3/trunk@11908 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-03-09 02:41:50 +00:00 |
amaloteaux
|
1f948c1e17
|
re-enable pass-the-hash for smb client when ntlmv1 or ntlm2_session is used ( ntlmv2 or signing not yet supported but coming soon)
git-svn-id: file:///home/svn/framework3/trunk@11906 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-03-09 01:56:09 +00:00 |
amaloteaux
|
5f6995e8d3
|
enable ntlmv2 and signing for smb client stack (pth implementation is coming), fixes #11678 and #152
git-svn-id: file:///home/svn/framework3/trunk@11893 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-03-07 19:57:53 +00:00 |
HD Moore
|
ac651fba6b
|
Merge code from Alexandre Maloteaux, fixes #3615
git-svn-id: file:///home/svn/framework3/trunk@11678 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-01-30 19:26:35 +00:00 |
Joshua Drake
|
465fe7c60d
|
nice work troulouliou, shuffling comments only
git-svn-id: file:///home/svn/framework3/trunk@10427 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-09-21 16:24:18 +00:00 |
HD Moore
|
3204b3ad83
|
Patch for the SMB timestamp parser which allows it to function in GMT+ zones
git-svn-id: file:///home/svn/framework3/trunk@10425 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-09-21 14:21:38 +00:00 |
Joshua Drake
|
ff22e5212e
|
revert to backward compatible method of using utc+zone
git-svn-id: file:///home/svn/framework3/trunk@10367 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-09-18 05:09:47 +00:00 |
Joshua Drake
|
b22c24289d
|
fix up the simple.client.system_time and underlying stuffs
git-svn-id: file:///home/svn/framework3/trunk@10362 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-09-18 01:12:44 +00:00 |
HD Moore
|
012654947a
|
Store the time zone as well
git-svn-id: file:///home/svn/framework3/trunk@10357 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-09-17 21:19:04 +00:00 |
HD Moore
|
31f5ee512c
|
Store the server time in Ruby object format
git-svn-id: file:///home/svn/framework3/trunk@10354 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-09-17 21:03:08 +00:00 |
HD Moore
|
cf440fc6c9
|
Rename for consistency
git-svn-id: file:///home/svn/framework3/trunk@10324 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-09-15 08:40:57 +00:00 |
HD Moore
|
44a67d0440
|
Typo fix
git-svn-id: file:///home/svn/framework3/trunk@10315 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-09-14 18:20:17 +00:00 |
Joshua Drake
|
626f7e0c66
|
add a flag indication not to recv to various smb/client methods
git-svn-id: file:///home/svn/framework3/trunk@10037 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-08-18 17:20:55 +00:00 |
HD Moore
|
6b25b1024e
|
Always try to read the NB header first to get the length
git-svn-id: file:///home/svn/framework3/trunk@9826 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-07-14 17:07:10 +00:00 |
HD Moore
|
f3afedf490
|
Fix an issue caused by pad_data being a string not an integer, this caused the evasion code to return a nil. Fixed a couple of ambiguities in how options are passed
git-svn-id: file:///home/svn/framework3/trunk@9674 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-07-05 13:38:39 +00:00 |
James Lee
|
96cd7bddae
|
compatibility for 1.9. fixes #2143
git-svn-id: file:///home/svn/framework3/trunk@9622 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-06-25 05:52:05 +00:00 |
James Lee
|
83d3e3cbac
|
1.9 fixes, see 2143
git-svn-id: file:///home/svn/framework3/trunk@9618 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-06-25 04:03:58 +00:00 |
HD Moore
|
dfa7fb7d0b
|
Move away from Kernel.select in exchange for IO.select, solves some issues with windows compatibility
git-svn-id: file:///home/svn/framework3/trunk@9330 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-05-20 20:42:17 +00:00 |
Joshua Drake
|
71a2064520
|
closes #1408 - merge patch from Mike Ryan
git-svn-id: file:///home/svn/framework3/trunk@8963 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-03-31 02:25:44 +00:00 |
HD Moore
|
5dd404abd6
|
Fix an issue with 1.9.1 compat
git-svn-id: file:///home/svn/framework3/trunk@8818 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-03-14 16:20:24 +00:00 |
HD Moore
|
b3a588b8cc
|
Adds a module for kcope's samba filesystem traversal
git-svn-id: file:///home/svn/framework3/trunk@8369 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-02-05 06:38:24 +00:00 |
HD Moore
|
922cef26fa
|
Store the domain name in the SMB client object, along with other fields provided by NTLMSSP responses. Show the domain name and netbios name in the version scanner. Update MS06-070 to remove the default target, use the domain name from the server response, and use a more reliable return address for 2000 SP4.
git-svn-id: file:///home/svn/framework3/trunk@8022 4d416f70-5f16-0410-b530-b9f4589650da
|
2009-12-29 14:00:49 +00:00 |
HD Moore
|
075b8c5fa4
|
Fixes #434. Always use Timeout.timeout() -- on Ruby 1.9 this results in the Timeout::TimeoutError exception vs RuntimeError
git-svn-id: file:///home/svn/framework3/trunk@7323 4d416f70-5f16-0410-b530-b9f4589650da
|
2009-11-02 18:14:57 +00:00 |
kris
|
b75ef037c3
|
more tabs vs spaces, and fix a few mismatched indentation levels (def/end, etc)
git-svn-id: file:///home/svn/framework3/trunk@7211 4d416f70-5f16-0410-b530-b9f4589650da
|
2009-10-20 17:24:33 +00:00 |
HD Moore
|
b14a4ddf0b
|
Lots of shiny new NTLM goodness from Ryan Linn
git-svn-id: file:///home/svn/framework3/trunk@6958 4d416f70-5f16-0410-b530-b9f4589650da
|
2009-08-17 20:00:05 +00:00 |
HD Moore
|
58fb65d4ef
|
Another ruby 1.9.1 compatibility fix
git-svn-id: file:///home/svn/framework3/trunk@6674 4d416f70-5f16-0410-b530-b9f4589650da
|
2009-06-20 02:42:00 +00:00 |
HD Moore
|
147a292825
|
Minor fixes for ruby 1.9.1 compatibility, still quite a bit more to go
git-svn-id: file:///home/svn/framework3/trunk@6612 4d416f70-5f16-0410-b530-b9f4589650da
|
2009-06-02 23:36:58 +00:00 |
HD Moore
|
26b9903b0d
|
Changes Auxiliary::Scanner to use a new module instance for each thread, updates associated mixins and modules to support this change.
git-svn-id: file:///home/svn/framework3/trunk@6401 4d416f70-5f16-0410-b530-b9f4589650da
|
2009-03-28 05:49:33 +00:00 |
HD Moore
|
95f6aa0d02
|
Revert last commit temporarily
git-svn-id: file:///home/svn/framework3/trunk@6313 4d416f70-5f16-0410-b530-b9f4589650da
|
2009-03-07 23:00:17 +00:00 |
HD Moore
|
aa4274a3bb
|
Upgrading metasm...
git-svn-id: file:///home/svn/framework3/trunk@6312 4d416f70-5f16-0410-b530-b9f4589650da
|
2009-03-07 22:58:19 +00:00 |
kris
|
e05b74a00c
|
Don't use old OpenSSL::Digest::Digest
git-svn-id: file:///home/svn/framework3/trunk@6239 4d416f70-5f16-0410-b530-b9f4589650da
|
2009-02-21 17:48:36 +00:00 |
HD Moore
|
616491a552
|
Play nice with ruby implementations without readline and openssl
git-svn-id: file:///home/svn/framework3/trunk@5895 4d416f70-5f16-0410-b530-b9f4589650da
|
2008-11-12 22:47:21 +00:00 |