File tree Expand file tree Collapse file tree 2 files changed +53
-0
lines changed
lib/rex/post/meterpreter/extensions/mimikatz Expand file tree Collapse file tree 2 files changed +53
-0
lines changed Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env ruby
2
+ # -*- coding: binary -*-
3
+
4
+ require 'rex/post/meterpreter/extensions/mimikatz/tlv'
5
+
6
+ module Rex
7
+ module Post
8
+ module Meterpreter
9
+ module Extensions
10
+ module Mimikatz
11
+
12
+ ###
13
+ #
14
+ # This meterpreter extensions a privilege escalation interface that is capable
15
+ # of doing things like dumping password hashes and performing local
16
+ # exploitation.
17
+ #
18
+ ###
19
+ class Mimikatz < Extension
20
+
21
+
22
+ def initialize ( client )
23
+ super ( client , 'mimikatz' )
24
+
25
+ client . register_extension_aliases (
26
+ [
27
+ {
28
+ 'name' => 'mimikatz' ,
29
+ 'ext' => self
30
+ } ,
31
+ ] )
32
+ end
33
+
34
+ def wdigest ( )
35
+ request = Packet . create_request ( 'boiler' ) #'mimikatz_wdigest')
36
+ response = client . send_request ( request )
37
+ end
38
+
39
+ end
40
+
41
+ end ; end ; end ; end ; end
Original file line number Diff line number Diff line change
1
+ # -*- coding: binary -*-
2
+ module Rex
3
+ module Post
4
+ module Meterpreter
5
+ module Extensions
6
+ module Mimikatz
7
+
8
+ end
9
+ end
10
+ end
11
+ end
12
+ end
You can’t perform that action at this time.
0 commit comments