User Tools

Site Tools


informatique:openshift:exploitation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
informatique:openshift:exploitation [2020/06/17 10:15] didzkovitchzinformatique:openshift:exploitation [2020/06/17 10:44] (current) didzkovitchz
Line 1: Line 1:
 ====== Exploitation OpenShift ====== ====== Exploitation OpenShift ======
  
 +===== Récupérer son token, cmd =====
 +
 +
 +<code>
 +oc login -u username
 +oc whoami -t
 +</code>
 +
 +===== Récupérer son token, web =====
  
-Récupérer son token : 
  
 ''%%curl -kv -u username:password -H "X-CSRF-Token: xxx" https://127.0.0.1:8443/oauth/authorize\?response_type\=token\&client_id\=openshift-challenging-client%%'' ''%%curl -kv -u username:password -H "X-CSRF-Token: xxx" https://127.0.0.1:8443/oauth/authorize\?response_type\=token\&client_id\=openshift-challenging-client%%''
informatique/openshift/exploitation.1592381720.txt.gz · Last modified: 2020/06/17 10:15 by didzkovitchz