{"id":13782592,"url":"https://github.com/RedTeamOperations/GoogleWorkspaceDirectoryDump","last_synced_at":"2025-05-11T15:32:38.508Z","repository":{"id":109391778,"uuid":"510891460","full_name":"RedTeamOperations/GoogleWorkspaceDirectoryDump","owner":"RedTeamOperations","description":null,"archived":false,"fork":false,"pushed_at":"2022-07-09T07:00:26.000Z","size":491,"stargazers_count":16,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-17T17:43:28.097Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RedTeamOperations.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-07-05T20:56:01.000Z","updated_at":"2024-07-04T09:51:57.000Z","dependencies_parsed_at":"2023-03-13T14:13:46.593Z","dependency_job_id":null,"html_url":"https://github.com/RedTeamOperations/GoogleWorkspaceDirectoryDump","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedTeamOperations%2FGoogleWorkspaceDirectoryDump","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedTeamOperations%2FGoogleWorkspaceDirectoryDump/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedTeamOperations%2FGoogleWorkspaceDirectoryDump/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedTeamOperations%2FGoogleWorkspaceDirectoryDump/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RedTeamOperations","download_url":"https://codeload.github.com/RedTeamOperations/GoogleWorkspaceDirectoryDump/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253588777,"owners_count":21932324,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T18:01:39.645Z","updated_at":"2025-05-11T15:32:37.950Z","avatar_url":"https://github.com/RedTeamOperations.png","language":"Python","funding_links":[],"categories":["0x02 工具 :hammer_and_wrench:"],"sub_categories":["1 云服务工具"],"readme":"# Google Workspace Directory Dump Tool\n\nScript written in Python3 which dumps the user/group from the Google Workspace. This tool can be used to map the group member relationship which can aid further cyber operations.\n\n![This is an image](gw.jpg)\n\n\n#### Install Dependencies: \n```\npip3 install google.auth google-auth-oauthlib\n\npip3 install --upgrade google-api-python-client\n```\n\n#### Usage : \n```\nUsage: Python3 WorkspaceDirectoryDump.py [options] GCPOrgID OauthCredentialFilePath\n\nUser Dump Syntax : Python3 WorkspaceDirectoryDump.py -U --oauth-filepath client_secret_xyz-8abcd.apps.googleusercontent.com.json \n\nGroup Dump Syntax : Python3 WorkspaceDirectoryDump.py -G --oauth-filepath client_secret_xyz-8abcd.apps.googleusercontent.com.json --org-id=ORG_ID\n\nUser \u0026 Group Dump Syntax : Python3 WorkspaceDirectoryDump.py -U -G --oauth-filepath client_secret_xyz-8abcd.apps.googleusercontent.com.json --org-id=ORG_ID\n\nGCP Access Token Reuse\n\nOptions:\n  --version             show program's version number and exit\n\n  -h, --help            show this help message and exit\n\n  -U, --user            Users Information Dump\n\n  -G, --group           Groups Information Dump\n\n  --org-id=ORG_ID       Organization ID\n\n  --oauth-filepath=OAUTH_FILEPATH  OAuth Credential File Path\n```\n  \n#### Little Tweaks\n  \n  Organization ID is required only if \"Group\" data needs to be dumped\n  \n  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRedTeamOperations%2FGoogleWorkspaceDirectoryDump","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FRedTeamOperations%2FGoogleWorkspaceDirectoryDump","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRedTeamOperations%2FGoogleWorkspaceDirectoryDump/lists"}