Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/RedTeamOperations/GoogleWorkspaceDirectoryDump
https://github.com/RedTeamOperations/GoogleWorkspaceDirectoryDump
Last synced: 25 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/RedTeamOperations/GoogleWorkspaceDirectoryDump
- Owner: RedTeamOperations
- Created: 2022-07-05T20:56:01.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-09T07:00:26.000Z (over 2 years ago)
- Last Synced: 2024-08-03T18:16:40.986Z (4 months ago)
- Language: Python
- Size: 479 KB
- Stars: 16
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Google Workspace Directory Dump Tool
Script 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.
![This is an image](gw.jpg)
#### Install Dependencies:
```
pip3 install google.auth google-auth-oauthlibpip3 install --upgrade google-api-python-client
```#### Usage :
```
Usage: Python3 WorkspaceDirectoryDump.py [options] GCPOrgID OauthCredentialFilePathUser Dump Syntax : Python3 WorkspaceDirectoryDump.py -U --oauth-filepath client_secret_xyz-8abcd.apps.googleusercontent.com.json
Group Dump Syntax : Python3 WorkspaceDirectoryDump.py -G --oauth-filepath client_secret_xyz-8abcd.apps.googleusercontent.com.json --org-id=ORG_ID
User & Group Dump Syntax : Python3 WorkspaceDirectoryDump.py -U -G --oauth-filepath client_secret_xyz-8abcd.apps.googleusercontent.com.json --org-id=ORG_ID
GCP Access Token Reuse
Options:
--version show program's version number and exit-h, --help show this help message and exit
-U, --user Users Information Dump
-G, --group Groups Information Dump
--org-id=ORG_ID Organization ID
--oauth-filepath=OAUTH_FILEPATH OAuth Credential File Path
```
#### Little Tweaks
Organization ID is required only if "Group" data needs to be dumped