クランチとは何ですか?
Crunchは、パスワードの生成に使用される優れたLinuxツールです。あなたは彼にあなたが必要とする組み合わせを教えることができ、それはそれを生成します。 6桁を含むすべてのパスワードの組み合わせが必要な場合、たとえば「abcde1234!」それらすべてを含むファイルを生成します。クランチからの出力は、画面、ファイル、または別のプログラムに送信できます。
構文は本当に単純です:
./crunch <from-len> <to-len> [-f <path to charset.lst> charset-name] [-o wordlist.txt or START]
options:
-f /path/to/charset.lst charset-name
Specifies a character set from the charset.lst
-o wordlist.txt
Specifies the file to write the output to, eg: wordlist.txt
./crunch 8 8 -f charset.lst mixalpha-numeric-all-space -o wordlist.txt
crunch should generate a 8 character wordlist using the mixalpha-number-all-space character set from charset.lst and will write the wordlist to a file named wordlist.txt. The file will start at cbdogaaa and end at " dog "
For compleate manual please visit crunch man page.
Code language: Bash (bash)
Ubuntulinuxへのインストール
sudo apt install crunch
Debianlinuxへのインストール
sudo apt-get install crunch
Code language: JavaScript (javascript)
例1「abcde1234!」を含む6桁のファイルを生成する
crunch 6 6 'abcde1234!' -o exportfile.txt
Code language: JavaScript (javascript)

例2特殊文字を含む8桁のファイルを生成する
crunch 8 8 pentest\@\#\$\%\^\&\! -o textnum.txt
Code language: PHP (php)

これがクランチを使った簡単なビデオです
結論
Crunchは、侵入テストチームからランダムなパスワードを生成して、ワイヤレスシステム、ファイアウォール、その他のIoTシステムをテストするために使用されます。シンプルで使いやすく、高速です。
興味がある場合は、/ dev / random
を使用してLinuxでランダムパスワードを生成する方法を確認できます。
.tar.gz / var /wwwおよびvardumpmysqlデータベースとscpsshを別のサーバーに–シンプルなバックアップソリューション
/ dev/randomを使用してLinuxでランダムパスワードを生成する方法