gitlab-subdomains

command module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2022 License: MIT Imports: 15 Imported by: 0

README

gitlab-subdomains

Find subdomains on GitLab.

go badge MIT license badge twitter badge


Important note

‼ GitLab search is very limited ‼ Check the official documentation 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 or use my 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 -h

Usage of gitlab-subdomains:
  -d string
    	domain you are looking for (required)
  -debug
    	debug mode
  -e	extended mode, also look for <dummy>example.<tld>
  -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 if you have any problem with the script.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL