Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GitHub enumeration capabilities #25

Merged
merged 12 commits into from
Feb 8, 2023
Merged

Add GitHub enumeration capabilities #25

merged 12 commits into from
Feb 8, 2023

Conversation

bradlarsen
Copy link
Collaborator

@bradlarsen bradlarsen commented Jan 31, 2023

This adds rudimentary GitHub repository enumeration capabilities to Nosey Parker.

  • A new github repos list command is available, which uses the GitHub REST API to enumerate repositories belonging to one or more users or organizations.
  • The output can be written in textual, JSON, and JSON lines format.
  • An optional GitHub personal access token can be supplied, which provides a much greater rate limit than with unauthenticated access, and may make additional repositories accessible.

Fixes #15.

Copy link

@github-advanced-security github-advanced-security bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clippy found more than 10 potential problems in the proposed changes. Check the Files changed tab for more details.

src/bin/noseyparker/cmd_github.rs Fixed Show fixed Hide fixed
src/github/client.rs Fixed Show fixed Hide fixed
src/github/client.rs Fixed Show fixed Hide fixed
src/github/client_builder.rs Fixed Show fixed Hide fixed
src/github/error.rs Fixed Show fixed Hide fixed
src/github/error.rs Fixed Show fixed Hide fixed
src/github/error.rs Fixed Show fixed Hide fixed
src/github/client.rs Fixed Show fixed Hide fixed
@bradlarsen bradlarsen marked this pull request as ready for review February 8, 2023 23:28
@bradlarsen bradlarsen merged commit 8d04bdc into main Feb 8, 2023
@bradlarsen bradlarsen deleted the github-enumeration branch February 17, 2023 03:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add ability to enumerate repositories of GitHub users and organizations
1 participant