Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gwen001/gitlab-subdomains
Find subdomains on GitLab.
https://github.com/gwen001/gitlab-subdomains
bugbounty gitlab go pentesting security-tools subdomains
Last synced: 5 days ago
JSON representation
Find subdomains on GitLab.
- Host: GitHub
- URL: https://github.com/gwen001/gitlab-subdomains
- Owner: gwen001
- License: mit
- Created: 2022-11-26T18:33:07.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-28T05:43:26.000Z (7 months ago)
- Last Synced: 2024-11-05T09:43:51.748Z (9 days ago)
- Topics: bugbounty, gitlab, go, pentesting, security-tools, subdomains
- Language: Go
- Homepage:
- Size: 35.2 MB
- Stars: 61
- Watchers: 10
- Forks: 10
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
gitlab-subdomains
Find subdomains on GitLab.
---
## Description
This Go tool performs searches on GitLab and parses the results to find subdomains of a given domain.
## Important note
‼ GitLab search is very limited ‼
Check the [official documentation](https://docs.gitlab.com/ee/api/search.html) for more information.## Requirements
You need a GitLab token, if you don't have any you can easily create a free account on [gitlab.com](https://gitlab.com/) or use my [github-regexp](https://github.com/gwen001/github-regexp) to find one or more...
## Install
```
go install github.com/gwen001/gitlab-subdomains@latest
```or
```
git clone https://github.com/gwen001/gitlab-subdomains
cd gitlab-subdomains
go install
```## Usage
```
$ gitlab-subdomains -hUsage of gitlab-subdomains:
-d string
domain you are looking for (required)
-debug
debug mode
-e extended mode, also look for example.
-t string
gitlab token (required), can be:
• a single token
• a list of tokens separated by comma
• a file (.tokens) containing 1 token per line
if the options is not provided, the environment variable GITLAB_TOKEN is readed, it can be:
• a single token
• a list of tokens separated by comma
```If you want to use multiple tokens, you better create a `.tokens` file in the executable directory with 1 token per line
```
token1
token2
...
```
or use an environment variable with tokens separated by comma:
```
export GITLAB_TOKEN=token1,token2...
```Tokens are disabled when GitLab raises a rate limit alert, however they are re-enable 1mn later.
You can disable that feature by using the option `-k`.---
---
Feel free to [open an issue](/../../issues/) if you have any problem with the script.