Land #14800, Revert accidental commit to cmd_kiwi_cmd handling

This commit is contained in:
adfoster-r7
2021-02-24 15:50:52 +00:00
committed by GitHub
@@ -80,10 +80,7 @@ class Console::CommandDispatcher::Kiwi
end
def cmd_kiwi_cmd(*args)
# Kiwi expects instructions with arguments to be quoted so quote everything to be sure
# "You can pass instructions on mimikatz command line, those with arguments/spaces must be quoted."
# Quote from: https://github.com/gentilkiwi/mimikatz/wiki
output = client.kiwi.exec_cmd(args.map { |s| '"' + s + '"'}.join(' '))
output = client.kiwi.exec_cmd(args.join(' '))
print_line(output)
end