WinRb / WinRM

Ruby library for Windows Remote Management
Apache License 2.0
412 stars 117 forks source link

evil-winrm -r realm not working GSSAPI::GssApiError #317

Closed rocketscientist911 closed 3 years ago

rocketscientist911 commented 3 years ago
root@432921ce69f0:~/tools/evil-winrm# ruby evil-winrm.rb -i 192.168.100.38 --realm AIDAN.LOCAL

Evil-WinRM shell v2.3

Info: Establishing connection to remote endpoint

Error: An error of type GSSAPI::GssApiError happened, message is gss_init_sec_context did not return GSS_S_COMPLETE: Unspecified GSS failure.  Minor code may provide more information
Server not found in Kerberos database

Error: Exiting with code 1

root@432921ce69f0:~/tools/evil-winrm# klist
Ticket cache: FILE:/tmp/admin.ccache
Default principal: administrator@AIDAN.LOCAL

Valid starting     Expires            Service principal
10/02/20 21:03:36  10/03/20 07:03:36  krbtgt/AIDAN.LOCAL@AIDAN.LOCAL
        renew until 10/03/20 21:03:36
10/02/20 21:09:54  10/03/20 07:03:36  krbtgt/AIDAN@AIDAN.LOCAL
rocketscientist911 commented 3 years ago

works fine my bad.