forked from Ethanscharlie/Happy-Ripper
This commit is contained in:
1 parent
df972f1e83
commit
2248cfef50
2 files changed
+7
No files matched your search
Executable
+7
@@ -0,0 +1,7 @@
|
|||||||
|
read -p "Dockerhub username: " DOCKERHUB_USERNAME
|
||||||
|
read -p "Dockerhub PASSWORD: " DOCKERHUB_PASSWORD
|
||||||
|
|
||||||
|
curl -s -X POST "https://hub.docker.com/v2/auth/token" \
|
||||||
|
-H "Content-Type: application/json" \
|
||||||
|
-d "{\"identifier\": \"${DOCKERHUB_USERNAME}\", \"secret\": \"${DOCKERHUB_PASSWORD}\"}" \
|
||||||
|
| jq -r .access_token
|
||||||
Whitespace-only changes.
Reference in new issue
Block a user