Skip to content

Instantly share code, notes, and snippets.

Last active April 6, 2023 14:47
Star You must be signed in to star a gist
What would you like to do?
Trolling Github's DMCA repo with their own security flaws.

Add new Youtube-dl copy to DMCA repo

  1. Fork
  2. Download latest youtube-dl source code from
  3. Extract
    tar -xvf youtube-dl-2020.09.20.tar.gz
  4. Push code to your fork as the GitHub CEO
    cd youtube-dl-2020.09.20
    git init
    git add .
    git config ""
    git config "Nat Friedman"
    git commit -m "Your message to the RIAA and GitHub Here"
    git remote add origin
    git push -f origin master
  5. Get new URL to share!
    echo "$(git rev-parse HEAD)"

Clone hidden repo from DMCA repo:

git clone -n youtube-dl
cd youtube-dl
git fetch origin 416da574ec0df3388f652e44f7fe71b1e3a4701f
git checkout FETCH_HEAD
Copy link

Uploaded a copy of YouTube-DL and added a little something special to the readme...

Copy link

It's interesting that they've been deleting PRs that pull in ytdl or warez, but not actually deleting the commits. I wonder if their strategy is to just delete PRs that make it easy to find and hope people forget that the commits are still there.

Here is one of the things that was added, where the PR was deleted but the content is still up:

Copy link


Go back to the gist and read step 1.

Copy link

davwheat commented Nov 4, 2020

Copy link

This is absolutely comedy gold. 😂

Copy link

Copy link

Zorono commented Nov 6, 2020

Copy link


Maybe I should contact zdnet and tell them myself about my experience hacking them... that would be hilarious if GitHub then replies denying hard evidence from a few of us.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment