# gsan を Homebrew, Nix でインストール

gsan のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:gsan
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install gsan
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#gsan
```

  証拠: nixpkgs package indexes: pkgs/by-name/gs/gsan/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:gsan
- **パッケージマネージャ:** Homebrew
- **バージョン:** 5.0.0
- **ソース概要:** Extract subdomains from SSL certificates in HTTPS sites
- **ホームページ:** <https://franccesco.github.io/getaltname/>
- **リポジトリ:** <https://github.com/franccesco/getaltname>
- **最終更新:** 2026-08-02T20:52:09+09:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- gsan (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 5.0.0
## プロジェクトの歴史と使われ方

GSAN, from the getaltname project, is a small reconnaissance CLI for extracting Subject Alternative Names from HTTPS certificates. Its distinctive point is that it connects directly to servers rather than relying on Certificate Transparency logs.

### プロジェクトの歴史

The GitHub repository was created in November 2017, and early releases appeared in March 2018. The release stream moved quickly through 0.x and 1.x versions in 2018, reached 3.x during 2018 and 2019, published 4.2.3 in October 2020, and published 5.0.0 in August 2024.

The README and GitHub Pages site present a focused tool: pass a domain or pipe domain and IP:PORT lists into `gsan`, extract DNS names from the certificate SAN extension, and optionally write output for other tools.

### 採用の歴史

GSAN's adoption evidence is narrow but clear: it is packaged for Homebrew and Nix and documented for pipx and Docker use. Its audience is security practitioners doing subdomain enumeration, especially in cases where direct certificate inspection is useful for internal servers, self-signed certificates, or targets not covered by public Certificate Transparency logs.

### 使われ方

Basic usage is `gsan example.com`, producing the SAN DNS names found in the HTTPS certificate. The documentation also shows piping many targets with xargs, using Docker, combining results from Shodan, applying timeouts, writing an output file, and passing that output to Nmap.

### パッケージ好きにとっての重要性

GSAN is package-manager interesting as a tiny Python security CLI whose value comes from composing with other tools. It takes certificate metadata, emits target lists, and fits into Unix pipelines with Shodan, xargs, Docker, and Nmap.

### タイムライン

- 2017: GitHub repository created.
- 2018: 0.2.0 through 2.0.0 releases published in March.
- 2018: 3.0.3 release published in July.
- 2019: 3.0.13 and v3.0.14 releases published.
- 2020: v4.2.3 release published.
- 2024: v5.0.0 release published.

### Related projects

- Shodan is shown in the README as a source of HTTPS targets for GSAN.
- Nmap is shown as a downstream consumer of GSAN output files.
- Certificate Transparency log tools are related but differ from GSAN's direct TLS-connection approach.

### ソース

- <https://api.github.com/repos/franccesco/getaltname>
- <https://api.github.com/repos/franccesco/getaltname/releases?per_page=50>
- <https://franccesco.github.io/getaltname/>
- <https://github.com/franccesco/getaltname>


## セキュリティノート

broad file, network, media, or database tool signal.

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal

## 他のパッケージマネージャ記録

- Nix - gsan: normalized package name match | nixpkgs package indexes: pkgs/by-name/gs/gsan/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/gsan.yml](https://github.com/mxcl/pkgdb/blob/main/combined/gsan.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
