• Stars
    star
    381
  • Rank 112,502 (Top 3 %)
  • Language
    Python
  • License
    MIT License
  • Created over 7 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A script that clones Github repositories of users and organizations.

GithubCloner

A script that clones Github repositories of users and organizations.

Usage

Description Command
Help ./githubcloner.py --help
Clone all repositories of a single user. ./githubcloner.py --user user -o /tmp/output
Clone all repositories of multiple users. ./githubcloner.py --user user1,user2,user3 -o /tmp/output
Clone all repositories of a single organization. ./githubcloner.py --org organization -o /tmp/output
Clone all repositories of multiple organizations. ./githubcloner.py --org organization1,organization2 -o /tmp/output
Clone all repositories of an organization in a hosted Github ./githubcloner.py --org organization -o /tmp/output --api-prefix https://git.company.com/api/v3
Modify the amount of used threads ./githubcloner.py --user user --threads 10 -o /tmp/output
Clone all repositories of an organization, along with all repositories of the organization's members. ./githubcloner.py --org organization --include-org-members -o /tmp/output
Use Github authentication in the task. ./githubcloner.py --org organization -o /tmp/output --authentication user:token
Clone authenticated repositories that the authenticated user has access to. ./githubcloner.py -o /tmp/output --authentication user:token --include-authenticated-repos
Include gists. ./githubcloner.py --user user -o /tmp/output --include-gists
Save repos as username_reponame ./githubcloner.py --user user -o /tmp/output --prefix-mode underscore
Save repos as username/reponame ./githubcloner.py --user user -o /tmp/output --prefix-mode directory
Save repos as reponame ./githubcloner.py --user user -o /tmp/output --prefix-mode none
Exclude comma separated list of repos ./githubcloner.py --user user -- exclude_repos repo1,repo2,repo3,...
Print gathered URLs only and then exit. ./githubcloner.py --user user --include-gists --echo-urls

Compatibility

The project is compatible with both Python 2 and Python 3.

Requirements

  • Python2 or Python3
  • requests
  • gitpython

Testing

  • nosetests -vx

License

The project is licensed under MIT License.

Legal Disclaimer

This project is made for educational and ethical testing purposes only. It is the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program.

Author

Mazin Ahmed

Update from qkzk

  • option to exclude a bunch of repos
  • refactor

More Repositories

1

secrets-patterns-db

Secrets Patterns DB: The largest open-source Database for detecting secrets, API keys, passwords, tokens, and more.
Python
865
star
2

bfac

BFAC (Backup File Artifacts Checker): An automated tool that checks for backup artifacts that may disclose the web-application's source code.
Python
513
star
3

Firefox-Security-Toolkit

A tool that transforms Firefox browsers into a penetration testing suite
Shell
473
star
4

shennina

Automating Host Exploitation with AI
Python
433
star
5

struts-pwn

An exploit for Apache Struts CVE-2017-5638
Python
417
star
6

server-status_PWN

A script that monitors and extracts requested URLs and clients connected to the service by exploiting publicly accessible Apache server-status instances.
Python
407
star
7

tfquery

tfquery: Run SQL queries on your Terraform infrastructure. Query resources and analyze its configuration using a SQL-powered framework.
Python
324
star
8

xless

The Serverless Blind XSS App
JavaScript
316
star
9

struts-pwn_CVE-2018-11776

An exploit for Apache Struts CVE-2018-11776
Python
299
star
10

jwt-pwn

Security Testing Scripts for JWT
Python
288
star
11

struts-pwn_CVE-2017-9805

An exploit for Apache Struts CVE-2017-9805
Python
247
star
12

public

PHP
36
star
13

go-random

🌐 go-random: A fast, clear, and cryptographically-secure random data generator for Golang
Go
27
star
14

whatsapp-chat-parser

WhatsApp Chat Parser
Python
17
star
15

Ubuntu-Desktop-Malware-Vector-Demo

Demo for http://blog.mazinahmed.net/2017/04/using-ubuntu-desktop-as-malware-vector.html
5
star
16

gronpy

Print JSON objects in a "Greppable" output.
Python
4
star
17

trufflehog-clone

Trufflehog v2 Clone
2
star
18

juice-shop

TypeScript
2
star
19

mazinahmed.net

mazinahmed.net
HTML
2
star
20

detect_passive_secrets

JavaScript
1
star