Skip to content
KitploitKITPLOIT
ツールブログ
提出
ツールブログ
提出

ハッキング、侵入テスト、サイバーセキュリティツールをあなたのセキュリティアーセナルに!

Kitploitはハッキング、サイバーセキュリティ、ペネトレーションテストのツールディレクトリです。最新のプロジェクトアップデートを見つけて、脆弱性の発見、システム分析、テストの自動化、セキュリティの強化を行いましょう。

··フィード·お問い合わせ·プライバシー·© 2026 Kitploit

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
tmpmail — POSIX shで書かれた、ターミナルから直接使える一時メール | Kitploit
ツール/GitHubGitHub/sdushantha/tmpmail
汎用ユーティリティプライバシーメールセキュリティ
GitHubsdushantha/tmpmail

tmpmail

POSIX shで書かれた、ターミナルから直接使える一時メール

リポジトリを見る
4.2k1644年前Kitploit レビュー済み

人気

すべて見る →

コミュニティで最も使われているツールを見つけましょう。

すべてのツールを探索

ツールコレクションを閲覧

すべてのツールを見る →
共有

ターミナルから直接使える一時メールアドレス(POSIX sh で記述)


tmpmail は POSIX sh で書かれたコマンドラインユーティリティで、一時的なメールアドレスを作成し、そのアドレス宛のメールを受信できます。メールの受信には 1secmail の API を使用しています。

デフォルトでは w3m を使用して端末上で HTML メールをレンダリングします。ただし、他のテキストベースの Web ブラウザや、Firefox のような GUI ブラウザでメールを表示したい場合は、--browser 引数に任意の Web ブラウザを起動するコマンドを指定してください。




依存関係

  • w3m
  • curl
  • jq
  • xclip

インストール

ローカルインストール

root@kitploit:~
# tmpmail ファイルをダウンロードし、実行可能にする
$ curl -L "https://raw.githubusercontent.com/sdushantha/tmpmail/master/tmpmail" > tmpmail && chmod +x tmpmail

# その後、$PATH の通った場所に移動します。例:
$ mv tmpmail ~/bin/

AUR

tmpmail は AUR で利用可能です。現在は Benjamin Bädorf がメンテナンスしています。

root@kitploit:~
$ yay -S tmpmail-git

Pacstall (Debian/Ubuntu)

tmpmail は pacstall-programs リポジトリ で利用可能です。現在は wizard-28 がメンテナンスしています。

root@kitploit:~
$ pacstall -I tmpmail-bin

Nixpkgs

tmpmail は nix パッケージコレクション(現時点では unstable のみ) でも利用可能です。legendofmiracles がメンテナンスしています。

システムパッケージに追加するか、nix-env でインストールするか、一時的な nix-shell で試すことができます: nix-shell -p tmpmail

Docker

必要条件:

  • docker
  • このリポジトリのクローン
root@kitploit:~
$ docker build -t mail .; # Dockerfile はソースコード内にあります
$ docker run -it mail;

使用方法

root@kitploit:~
$ tmpmail --help
tmpmail
tmpmail -h | --version
tmpmail -g [ADDRESS]
tmpmail [-t | -b BROWSER] -r | ID

When called with no option and no argument, tmpmail lists the messages in
the inbox and their numeric IDs.  When called with one argument, tmpmail
shows the email message with specified ID.

-b, --browser BROWSER
        Specify BROWSER that is used to render the HTML of
        the email (default: w3m)
    --clipboard-cmd COMMAND
        Specify the COMMAND to use for copying the email address to your
        clipboard (default: xclip -selection c)
-c, --copy
        Copy the email address to your clipboard
-d, --domains
        Show list of available domains
-g, --generate [ADDRESS]
        Generate a new email address, either the specified ADDRESS, or
        randomly create one
-h, --help
        Show help
-r, --recent
        View the most recent email message
-t, --text
        View the email as raw text, where all the HTML tags are removed.
        Without this option, HTML is used.
--version
        Show version

使用例

ランダムなメールを作成

root@kitploit:~
$ tmpmail --generate
[email protected]

カスタムメールを作成

root@kitploit:~
$ tmpmail --generate [email protected]
[email protected]

受信箱を表示

root@kitploit:~
$ tmpmail
[ Inbox for [email protected] ]

83414443   [email protected]   Test Email

メールを表示

root@kitploit:~
$ tmpmail 83414443

最新のメールを表示

root@kitploit:~
$ tmpmail -r

メールをプレーンテキストとして表示

root@kitploit:~
$ tmpmail -t 83414443
To: [email protected]
From: [email protected]
Subject: Test Email

Hello World

[Attachments]
https://is.gd/aBCdEf [apple.jpg]
https://is.gd/AbCDeF [ball.jpg]

クレジット

このスクリプトは Mitch Weaver の 1secmail スクリプトに強く影響を受けています。

ツールをダウンロード