Stuart Morgan
|
cf8f0e2483
|
Added userAccountControl to the computer table. Note that computer and user LDAP entries are more or less the same (user is the parent for computer), but it makes sense just for sanity and ease of use to keep them separate.
|
2015-12-18 22:22:56 +00:00 |
Stuart Morgan
|
eade245a9e
|
Added groupType attribute interpretation
|
2015-12-18 22:06:20 +00:00 |
Stuart Morgan
|
e716cd79e3
|
Needed to use .zero? in the ? : if shorthand for the UAC variables
|
2015-12-18 21:55:55 +00:00 |
Stuart Morgan
|
838f74ff74
|
Added table creation for userAccoutControl
|
2015-12-18 21:45:07 +00:00 |
Stuart Morgan
|
a065fc803c
|
fixed spacing
|
2015-12-18 21:38:54 +00:00 |
Stuart Morgan
|
8821caa199
|
Added UserAccountControl constants
|
2015-12-18 21:37:31 +00:00 |
Stuart Morgan
|
6d6306f6e7
|
Added sAMAccountType constants from MSDN
|
2015-12-18 21:14:39 +00:00 |
Stuart Morgan
|
5b07a35cef
|
Added LDAP filter to identify groups of interest
|
2015-12-18 14:10:00 +00:00 |
Stuart Morgan
|
662010fce7
|
Added thread capability
|
2015-12-18 14:06:50 +00:00 |
Stuart Morgan
|
0a75fa333c
|
msftidy
|
2015-12-18 12:14:22 +00:00 |
Stuart Morgan
|
91c8c2b9dd
|
Trying to fix threads
|
2015-12-18 12:14:08 +00:00 |
Stuart Morgan
|
6f50635ab2
|
Strange bug with memberOf param and trying to fix up threads
|
2015-12-18 11:49:17 +00:00 |
Stuart Morgan
|
39bc23629a
|
Getting ready to add thread support
|
2015-12-18 10:56:41 +00:00 |
Stuart Morgan
|
3c8ac89ba8
|
Added options to dump user membership and group membership to screen
|
2015-12-18 10:29:53 +00:00 |
Stuart Morgan
|
8f95ad315e
|
Added extra user fields to database schema
|
2015-12-18 10:02:18 +00:00 |
Stuart Morgan
|
fc45d70d25
|
Added extra user fields
|
2015-12-18 09:59:21 +00:00 |
Stuart Morgan
|
b186aaa08d
|
Added extra computer fields
|
2015-12-18 09:55:13 +00:00 |
Stuart Morgan
|
f8b402165c
|
Added extra computer fields
|
2015-12-18 09:51:04 +00:00 |
Stuart Morgan
|
805ba1d7dd
|
Enumerate computers
|
2015-12-18 08:28:40 +00:00 |
Stuart Morgan
|
98c6b56494
|
Added computer recon
|
2015-12-18 08:14:30 +00:00 |
Stuart Morgan
|
f13ca17de0
|
rubocop
|
2015-12-18 02:01:38 +00:00 |
Stuart Morgan
|
38b6ad4dbf
|
msftidy
|
2015-12-18 02:00:57 +00:00 |
Stuart Morgan
|
36adbadb11
|
Tidied up SQL searching and added file size indicator
|
2015-12-18 01:59:19 +00:00 |
Stuart Morgan
|
eb38859ecc
|
Finally worked out how to use .map to make the SQL stuff far more elegant
|
2015-12-18 01:40:37 +00:00 |
Stuart Morgan
|
1ba6b91968
|
More accurate description
|
2015-12-18 01:24:43 +00:00 |
Stuart Morgan
|
0ddb40b55e
|
Added UNIQUE and FOREIGN KEY constraints to SQLite DB
|
2015-12-18 01:23:29 +00:00 |
Stuart Morgan
|
15dc542544
|
Initial module works
|
2015-12-18 01:13:44 +00:00 |
Stuart Morgan
|
f31c1c24db
|
Added schema and code to populate SQLite db
|
2015-12-18 01:01:20 +00:00 |
Stuart Morgan
|
e3483a2ac3
|
Getting RIDs from hex mess to decimal. Needs fixing
|
2015-12-18 00:20:16 +00:00 |
Stuart Morgan
|
460778738d
|
Initial version works
|
2015-12-18 00:00:21 +00:00 |
Stuart Morgan
|
41c2d12e0c
|
Tidy up initial print
|
2015-12-17 23:41:18 +00:00 |
Stuart Morgan
|
09fb37db6b
|
Add status updates (useful if there are a large number of groups)
|
2015-12-17 23:07:02 +00:00 |
Stuart Morgan
|
2bcea91b15
|
Differentiate between user and group errors
|
2015-12-17 22:57:30 +00:00 |
Stuart Morgan
|
85c4e89526
|
Process user levels
|
2015-12-17 22:55:02 +00:00 |
Stuart Morgan
|
7c145c45e8
|
add LDAP_MATCHING_RULE_IN_CHAIN oid (from my adsi rework earlier)
|
2015-12-17 22:44:35 +00:00 |
Stuart Morgan
|
f2b038f4b3
|
Begin loop to grab effective users of each group
|
2015-12-17 22:39:56 +00:00 |
Stuart Morgan
|
c98519e0b9
|
Get groups using ADSI
|
2015-12-17 22:35:51 +00:00 |
Stuart Morgan
|
7b019bddf4
|
Initial version, just basing it on the ad_users module
|
2015-12-17 22:14:14 +00:00 |
Stuart Morgan
|
e17a7a5d8c
|
Fix attributes
|
2015-12-17 21:38:42 +00:00 |
Stuart Morgan
|
59d5626ef7
|
Bugfix
|
2015-12-17 21:36:19 +00:00 |
Stuart Morgan
|
cba1ddbdc2
|
rubocop
|
2015-12-16 22:38:05 +00:00 |
Stuart Morgan
|
47e484408f
|
rubocop
|
2015-12-16 22:31:54 +00:00 |
Stuart Morgan
|
9eef27e4c1
|
Removed snake case and added SID translation call
|
2015-12-16 22:31:22 +00:00 |
Stuart Morgan
|
cc3ac3ad95
|
Removed trailing line spaces
|
2015-12-16 22:28:27 +00:00 |
Stuart Morgan
|
58635be237
|
Try to unpack the SID from hex to normal cut/paste format. Its a mess.
|
2015-12-16 22:27:52 +00:00 |
Stuart Morgan
|
421a29d998
|
Added the trust types from MSDN
|
2015-12-16 22:18:28 +00:00 |
Stuart Morgan
|
fbe0cfde8f
|
Fixed URL for trustDirection reference
|
2015-12-16 22:16:33 +00:00 |
Stuart Morgan
|
fd8405f52d
|
added trustDirection
|
2015-12-16 22:15:10 +00:00 |
Stuart Morgan
|
4da8859e57
|
added trustAttributes
|
2015-12-16 22:13:00 +00:00 |
Stuart Morgan
|
207a964117
|
Loop through results
|
2015-12-16 21:52:30 +00:00 |