Created
December 14, 2018 12:14
-
-
Save Casm82/4691d18366d768125975656b1fb7f78f 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
[node@centos7.6 krbAuth]$ export KRB5_KTNAME=/srv/keytabs/krbAuth.keytab | |
[node@centos7.6 krbAuth]$ klist -k /srv/keytabs/krbAuth.keytab | |
Keytab name: FILE:/srv/keytabs/krbAuth.keytab | |
KVNO Principal | |
---- -------------------------------------------------------------------------- | |
32 HTTP/centos.domain.org@DOMAIN.ORG | |
[node@centos7.6 krbAuth]$ node krb_example.js | |
-----request----- | |
{ host: 'centos.domain.org:3005', | |
connection: 'keep-alive', | |
'upgrade-insecure-requests': '1', | |
'user-agent': | |
'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.80 Safari/537.36', | |
accept: | |
'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8', | |
'accept-encoding': 'gzip, deflate', | |
'accept-language': 'en-US;q=0.8,en;q=0.7' } | |
-----response----- | |
{ 'x-powered-by': 'Express', 'www-authenticate': 'Negotiate' } | |
-----request----- | |
{ host: 'centos.domain.org:3005', | |
connection: 'keep-alive', | |
authorization: | |
'Negotiate YIIJJgY....RxdiO', | |
'upgrade-insecure-requests': '1', | |
'user-agent': | |
'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.80 Safari/537.36', | |
accept: | |
'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8', | |
'accept-encoding': 'gzip, deflate', | |
'accept-language': 'en-US;q=0.8,en;q=0.7' } | |
Segmentation fault |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment