informatique:openshift:exploitation
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| informatique:openshift:exploitation [2020/03/12 18:19] – created didzkovitchz | informatique:openshift:exploitation [2020/06/17 10:44] (current) – didzkovitchz | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | Exploitation OpenShift | + | ====== |
| + | |||
| + | ===== Récupérer son token, cmd ===== | ||
| + | |||
| + | |||
| + | < | ||
| + | oc login -u username | ||
| + | oc whoami -t | ||
| + | </ | ||
| + | |||
| + | ===== Récupérer son token, web ===== | ||
| + | |||
| + | |||
| + | '' | ||
| + | |||
| + | < | ||
| + | * About to connect() to 127.0.0.1 port 8443 (#0) | ||
| + | * | ||
| + | * Connected to 127.0.0.1 (127.0.0.1) port 8443 (#0) | ||
| + | * Initializing NSS with certpath: sql:/ | ||
| + | * skipping SSL peer certificate verification | ||
| + | * NSS: client certificate not found (nickname not specified) | ||
| + | * SSL connection using TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 | ||
| + | * Server certificate: | ||
| + | * | ||
| + | * start date: août 29 14:11:51 2019 GMT | ||
| + | * | ||
| + | * | ||
| + | * | ||
| + | * Server auth using Basic with user '< | ||
| + | > GET / | ||
| + | > Authorization: | ||
| + | > User-Agent: curl/ | ||
| + | > Host: 127.0.0.1: | ||
| + | > Accept: */* | ||
| + | > X-CSRF-Token: | ||
| + | > | ||
| + | < HTTP/1.1 302 Found | ||
| + | < Audit-Id: 6ebde094-43d0-432f-862e-9c60457b4c69 | ||
| + | < Cache-Control: | ||
| + | < Expires: Fri, 01 Jan 1990 00:00:00 GMT | ||
| + | < Location: https://< | ||
| + | < Pragma: no-cache | ||
| + | < Set-Cookie: ssn=MTU5MjMyMTY0MHxmVmtDenUwWHZTMEpkb0xtOWJXekVEbVZpLWpWRDdoYk9qZFUzRFA4eWZfUV9sdW41bmY3aFNsbFQtSzNNLUlhNVBDb3ZiWDV3a0Z6N2Z6MDJyNXdxdlJkOEdjX01tTkt3Q29nMTE5LTJYUklrc1NUMXprNmJmc0pDZHI2M1cxcTFCaWFOVDhYd3MxQzVFREYyeHJtMXFsT2N5RmEtNGhaRGQ3dWFpWGxmOHAtbC1CVEk4eEJHczVRbGtjUHo5TW9OYkZpSnJWc3x-EX8_3z0h5gEFCMRzXNz19Q2jXVgL_zqufsomSr_UFw==; | ||
| + | < Date: Tue, 16 Jun 2020 15:34:00 GMT | ||
| + | < Content-Length: | ||
| + | < | ||
| + | * Connection #0 to host 127.0.0.1 left intact | ||
| + | |||
| + | </ | ||
| + | |||
| + | On a le token à la ligne :\\ | ||
| + | '' | ||
informatique/openshift/exploitation.1584033573.txt.gz · Last modified: 2020/03/12 18:19 by didzkovitchz
