We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18e69b8 commit 894ed49Copy full SHA for 894ed49
lib/rex/post/meterpreter/ui/console/command_dispatcher/kiwi.rb
@@ -84,12 +84,24 @@ def cmd_kiwi_cmd(*args)
84
def cmd_dcsync(*args)
85
return unless check_is_domain_user
86
87
+ if args.length != 1
88
+ print_line('Usage: dcsync <DOMAIN\user>')
89
+ print_line
90
+ return
91
+ end
92
+
93
print_line(client.kiwi.dcsync(args[0]))
94
end
95
96
def cmd_dcsync_ntlm(*args)
97
98
99
100
+ print_line('Usage: dcsync_ntlm <DOMAIN\user>')
101
102
103
104
105
user = args[0]
106
result = client.kiwi.dcsync_ntlm(user)
107
if result
0 commit comments