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
commit b8b5acfa73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -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