Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/p0dalirius/gitea-extract-users
A Python script to extract the list of users of a GiTea instance, unauthenticated or authenticated.
https://github.com/p0dalirius/gitea-extract-users
extract gitea osint unauthenticated users
Last synced: about 1 month ago
JSON representation
A Python script to extract the list of users of a GiTea instance, unauthenticated or authenticated.
- Host: GitHub
- URL: https://github.com/p0dalirius/gitea-extract-users
- Owner: p0dalirius
- Created: 2022-12-20T15:28:23.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-24T10:20:11.000Z (about 2 years ago)
- Last Synced: 2024-12-18T18:50:10.744Z (about 1 month ago)
- Topics: extract, gitea, osint, unauthenticated, users
- Language: Python
- Homepage: https://podalirius.net
- Size: 7.81 KB
- Stars: 13
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# gitea-extract-users
A Python script to extract the list of users of a GiTea instance, unauthenticated or authenticated.
## Features
- [x] Dump all users of a remote GiTea instance, unauthenticated (misconfiguration of the instance).
- [x] Dump all users of a remote GiTea instance, authenticated using `i_like_gitea` cookie in `--cookie` option.
- [x] Export users and emails to a JSON file, specified by option `--outfile`.## Usage
```
$ ./gitea-extract-users.py -h
Dump GiTea users via /explore/users endpoint - v1.1 - by @podalirius_usage: gitea-extract-users.py [-h] -t TARGET [-o OUTFILE] [-c COOKIE]
Dump GiTea users via /explore/users endpoint
options:
-h, --help show this help message and exit
-t TARGET, --target TARGET
IP address or hostname of the GiTea to target.
-o OUTFILE, --outfile OUTFILE
Output JSON file of all the found users.
-c COOKIE, --cookie COOKIE
i_like_gitea cookie to dump users in authenticated mode.
```## Example output format:
```json
{
"target": "https://git.podalirius.poc",
"users": [
{
"mail": "[email protected]",
"username": "Podalirius",
"fullname": "Podalirius Podalirius",
"joined": "Nov 05, 1605"
}
]
}
```