Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.


GitHub release (latest by date)

YouTube Channel Subscribers


## 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"
}
]
}
```