Created
August 21, 2019 14:16
-
-
Save motionrus/1ecddd1b86a8218c945e9ab13fe3ccd4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import kerberos | |
service = "[email protected]" | |
initial_client_token="""YIIGHgYGKwYBBQUCoIIGEjCCBg6gDTALBgkqhkiG9xIBAgKiggX7BIIF92CCBfMGCSqGSIb3EgECAgEAboIF4jCCBd6gAwIBBaEDAgEOogcDBQAAAAAAo4IBsmGCAa4wggGqoAMCAQWhEBsOSU5ULkFPUlRJLlRFQ0iiLjAsoAMCAQOhJTAjGwRIVFRQGxsxcGtyb28tc3J2MDEuaW50LmFvcnRpLnRlY2ijggFfMIIBW6ADAgEgoQMCAQKiggFNBIIBST0SJbEBsicsuKGoaWAeyAMWwMj7uO15WJqe94Dm9IjWji9OkcUnDaLfaPI1TswsbyKQ6YHftTY4NcAYfewg5IdaskWY0c33aOPiG+EosAqC8pJMgTPSpMwc031YSOrdDPyyPG7OPm4eBpCOXtHW84JfVulbEp5gYcuQ/eB7xm9V9OWSgVpVsQEZEdZb96OT4WDUEXyPv4OjYJCxypgz7qlzTOL/zYUfuVIZhAz2Dz7/5nIhULcu7YFZAHa14MxHaN03uSXrrGUxPz8NRTl6TUUh78yIkOP5SJAsbJnnl7nrJEhP/p6bdPJ6Nd3UN4Vi4gJIN8oSp3FPTsWCw+CBYE7FUvkY8cgwDM/b3ZxAuxpED7vvBJJvgm5xkiffgAKLKKMjjr8WM6eh7qOeG2yPI/HLFpnc6GRpuoH1HK4XiZSslB/kETBOKmadpIIEETCCBA2gAwIBIKKCBAQEggQAaQBEUufG1ubkK3YNMLG0vVRvcPnaSEtjcAKlxMWi0qr+GoBz3c2sUvabmIz/KOJMEBkiHvYvqBRRh8HEqBeqHPSSRLNvLBdW4tW5mhE0JC20Eag13MftHHruzYgAWEyW5XNE2CSiM64ORpvD7Y5vRiAODHdXqHEq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Zn/dy3GX/vP9RN28W+XZGu2wB2lGDtC44Owkg3n2j9oWyLSB+7rMfzSYrebgm0vwA3jNweB8e5cQgOvvUpJQjHg2GOLqrgYmbr6MbwY6iOppsnswsiscw==""" | |
_ignore_result, krb_context = kerberos.authGSSServerInit(service) | |
kerberos.authGSSServerStep(krb_context, initial_client_token) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment