LabRat: GitLab exploitation orchestrator
Project description
Overview
LabRat automates common GitLab exploitation workflows: credential spraying, token creation, project enumeration, repository cloning, and bulk updates.
Features
- Authentication — Spray credentials or combo lists across GitLab instances with optional LDAP support
- Agent management — Track access tokens and push SSH keys across available agents
- Project operations — Enumerate, clone, create access tokens, and perform procedural updates on repositories
- User enumeration — List users with advanced filtering and create access tokens
Installation
pip install gitlabrat
Requires Python 3.8+
Quick Start
# Authenticate to a GitLab instance
labrat auth -t https://gitlab.example.com -u username -p password
# List authenticated agents
labrat agents ls
Usage
labrat [-h] {agents,auth,projects,users} ...
Dependencies
| Package | Purpose |
|---|---|
| python-gitlab | GitLab API client |
| GitPython | Git repository operations |
| BeautifulSoup4 | HTML parsing for session auth |
| Requests | HTTP session management |
Disclaimer
This tool is intended for authorized security testing and research only. The author assumes no liability for misuse. Always obtain proper authorization before testing against any system you do not own.
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gitlabrat-1.2.tar.gz.
File metadata
- Download URL: gitlabrat-1.2.tar.gz
- Upload date:
- Size: 25.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a382eebb910d2e920c868c2e668c64ff9cd9bccabbdbb6ac64ba8cd4a00a8efe
|
|
| MD5 |
530db9554edee3b9c95ed4ed82863561
|
|
| BLAKE2b-256 |
1f3666196ac0f6066ee29fec9f7ec5f2df080d6c46d2c2ec35827bae5515f3fa
|
File details
Details for the file gitlabrat-1.2-py3-none-any.whl.
File metadata
- Download URL: gitlabrat-1.2-py3-none-any.whl
- Upload date:
- Size: 29.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4da097423380766282350945f52cfd174574e53b3a18e18cf7bc2861cd013831
|
|
| MD5 |
b9abba31c665227b978523ba706816a1
|
|
| BLAKE2b-256 |
de7068033d36653fd2f7d520ec6e1613df8ed99267243df160212bebfab2b76b
|