From d8ce472bfed5bc8e4ae51c63ff0014b152472e45 Mon Sep 17 00:00:00 2001 From: dajiaohuang <108231307+dajiaohuang@users.noreply.github.com> Date: Sat, 7 Nov 2026 04:39:03 +0800 Subject: [PATCH] Fix repository download pagination example --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7a1ba52..bf64a38 100644 --- a/README.md +++ b/README.md @@ -89,12 +89,12 @@ Here are some examples 👇 ### 🐙 GitHub Repository API Key Leaks -1. Download all GitHub repositories of an organisation +1. Download all public repositories of a GitHub user 2. Search for anything that you can submit as a bounty, like API keys ```shell # Download all repositories -GHUSER=CHANGEME; curl "https://api.github.com/users/$GHUSER/repos?per_page=1000" | grep -o 'git@[^"]*' | xargs -L1 git clone +GHUSER=CHANGEME; gh api --paginate "users/$GHUSER/repos?per_page=100" --jq '.[].ssh_url' | xargs -L1 git clone # Will print when it finds things. # Loops over all files in current directory.