Skip to content

Search for terms in a given docker image.

Notifications You must be signed in to change notification settings

shreyas-sriram/docker-find

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

docker-find

Let's automate some docker forensics! Search for specific terms in a docker image.

Inspired by docker-based challenges on CTFs

Examples

$ ./docker-find.sh johnhammond/whale_watching flag{
$ ./docker-find.sh steammaintainer/gearrepairimage HTB{

Usage

$ ./docker-find [image] [search-term]

Search Steps

  1. search docker history
  2. search docker inspect
  3. search layers
    1. run grep on layer files
    2. run strings on layer files

References