vinnyvinoth / DockerRegistryGrabber

Enumerate / Dump Docker Registry

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DockerRegistryGrabber

A python tool to easly enum and dump images on a Docker Registry.

X Static Badge


Install

git clone git@github.com:Syzik/DockerRegistryGrabber.git
cd DockerRegistryGrabber
python -m pip install -r requirements.txt

Usage

python drg.py -h                                                                      

usage: drg.py [-h] [-p port] [-U USERNAME] [-P PASSWORD] [--dump DOCKERNAME | --list | --dump_all] url

positional arguments:
  url                URL

options:
  -h, --help         show this help message and exit
  -p port            port to use (default : 5000)
  --dump DOCKERNAME  DockerName
  --list
  --dump_all

Authentication:
  -U USERNAME        Username
  -P PASSWORD        Password

Without authentification

Listing available images

python drg.py http://127.0.0.1 --list

Dump an image

python drg.py http://127.0.0.1 --dump my-ubuntu

Dump images

python drg.py http://127.0.0.1 --dump_all


With Basic Authentification

Listing available images

python drg.py https://127.0.0.1 -U 'testuser' -P 'testpassword' --list

Dump an image

python drg.py https://127.0.0.1 -U 'testuser' -P 'testpassword' --dump my-ubuntu

Dump images

python drg.py https://127.0.0.1 -U 'testuser' -P 'testpassword' --dump_all

About

Enumerate / Dump Docker Registry


Languages

Language:Python 82.8%Language:Shell 17.2%