
Roninは、セキュリティ研究と開発のためのフリーでオープンソースのRubyツールキットです。Roninはまた、サードパーティのgitリポジトリを介したコード、エクスプロイト、ペイロードなどの迅速な開発と配布を可能にします。
[Ronin][website]は、セキュリティ研究と開発のための無料かつオープンソースの[Ruby]ツールキットです。 Roninには、エンコーディング/デコーディングデータ、IP/ホスト/URLのフィルタリング、ASNのクエリ、DNSのクエリ、HTTP、[ウェブ脆弱性のスキャン][ronin-vulns-synopsis]、[ウェブサイトのクローリング][ronin-web-spider]、[エクスプロイト][ronin-exploits]や[ペイロード][ronin-payloads]の[サードパーティリポジトリのインストール][ronin-repos-synopsis]、[エクスプロイトの実行][ronin-exploits-synopsis]、[新しいエクスプロイトの開発][ronin-exploits-examples]、[ローカルデータベースの管理][ronin-db-synopsis]、[データのファジング][ronin-fuzzer]、[偵察の実行][ronin-recon-synopsis]など、さまざまなセキュリティタスクのための多くのCLIコマンドと[Rubyライブラリ][ronin-rb]が含まれています。
ronin コマンドを使用して、さまざまなデータを迅速に処理およびクエリできます。ronin irb Ruby REPLでコードとデータを効率的に扱えます。roninライブラリを使用して、Rubyスクリプトを迅速にプロトタイプ作成できます。Usage: ronin [options] [COMMAND [ARGS...]]
Options: -h, --help Print help information
Arguments: [COMMAND] The command name to run [ARGS ...] Additional arguments for the command
Commands: archive asn banner-grab bitflip cert-dump cert-gen cert-grab completion decode, dec decrypt dns dns-proxy email-addr encode, enc encrypt entropy escape extract grep help hexdump highlight hmac homoglyph host http ip iprange irb md5 netcat, nc new pack proxy public-suffix-list quote rot sha1 sha256 sha512 strings tld-list tips typo typosquat unarchive unescape unhexdump unpack unquote url xor
Additional Ronin Commands: $ ronin-repos $ ronin-wordlists $ ronin-db $ ronin-web $ ronin-fuzzer $ ronin-masscan $ ronin-nmap $ ronin-recon $ ronin-payloads $ ronin-exploits $ ronin-vulns $ ronin-app
roninコマンド一覧:```shell
$ ronin help
コマンドのmanページを表示:```shell $ ronin help COMMAND
`ronin`の使い方に関するランダムなヒントを取得する:```shell
$ ronin tips
Ronin Ruby REPLを開く:```
$ ronin irb
, Jµ ▓▓█▓
J▌ ▐▓██▌ ████ ██ ▐███D
╓▄▓▓█████▌ ██µ ████ ▄███ÖJ██▌ ███▌
,╓µ▄▄▄▄▄▄▄▄µ;, ,▄▓██████████ ▐███ ▐███▀ ███▌ ████µ ▄███
¬∞MÆ▓███████████████████████▓M ▄██████▀▀╙████▌ ████▌ ████ ▄███ J█████ ███▌
█████▀▀▀▀▀███████ -████▀└ ████ ▐█████n ▄███O ███▌ ██████████ ▓████L ████▀ ▓████ ▓███Ö ███████ ███▌ ▓███ ▐█████████▀ ▄████▀ ,╓▄▄▄█████ J████Ü ,███▌ ▄███████████ J███▀ ████ █████ J█████████████████─ ████▌ ████ ██████████▌ ████ ▐███Ü ▐███Ü
███████████▀▀▀╙└ ▐████ J███▌ ▓███▌ ²█████ J███Ü ███▌ ▀█▌
▓██████████▌ ████▌ ████ ;████ ▀███▀ ███▌ J▀▀▀- █
▄█████▀ ▀█████µ ▐████ ,▄▓████▀ ████▀ ███ J███ `
J█████- ╙▀███▄ ████████████▀╙ J█▀▀▀ █U ▀█▌
████▀ ▀███ ▄████████▀▀ ╨ █
▓██▀ ²▀█▄ █▀▀▀╙└
▄██╜ ╙W
J█▀
▌└
┘
irb(ronin)>
RoninのインタラクティブWeb UIを起動して開きます:```
$ ronin-app
さまざまな形式でデータを16進ダンプします:```shell $ ronin hexdump /bin/ls
16進ダンプファイルを元の生バイナリデータに戻します(un-hexdump):```shell
$ ronin unhexdump -o data.bin hexdump.txt
ファイルからすべての印字可能な文字列を表示する:```shell $ ronin strings /bin/ls
ファイルからすべてのアルファベット文字列を出力する:```shell
$ ronin strings --alpha /bin/ls
ファイルからすべての英数字の文字列を表示する:```shell $ ronin strings --alpha-num /bin/ls
ファイルからすべての数値文字列を表示する:```shell
$ ronin strings --numeric /bin/ls
ファイルからすべての16進数文字列を出力:```shell $ ronin strings --hex /bin/ls
ドメイン名のすべてのビットフリップを列挙します:```shell
$ ronin bitflip microsoft --alpha-num --append .com
licrosoft.com
oicrosoft.com
iicrosoft.com
eicrosoft.com
Microsoft.com
mhcrosoft.com
mkcrosoft.com
mmcrosoft.com
macrosoft.com
mycrosoft.com
...
Base64 文字列をエンコードする:```shell $ ronin encode --base64 --string "foo bar baz" Zm9vIGJhciBiYXo=
Zlibで圧縮し、Base64でエンコードし、その後URIエンコードする文字列:```shell
$ ronin encode --zlib --base64 --uri --string "foo bar"
%65%4A%78%4C%79%38%39%58%53%45%6F%73%41%67%41%4B%63%41%4B%61%0A
Base64デコード 文字列:```shell $ ronin decode --base64 --string "Zm9vIGJhciBiYXo=" foo bar baz
URIデコード、Base64デコード、そしてzlib展開を文字列に適用する:```shell
$ ronin decode --uri --base64 --zlib --string "%65%4A%78%4C%79%38%39%58%53%45%6F%73%41%67%41%4B%63%41%4B%61%0A"
foo bar
文字列をURIエスケープする:```shell $ ronin escape --uri --string "foo bar" foo%20bar
URIのアンエスケープ:```shell
$ ronin unescape --uri --string "foo%20bar"
foo bar
ファイルを引用符付きC文字列に変換する:```shell $ ronin quote --c file.bin "..."
ファイルを引用符付きのJavaScript文字列に変換:```shell
$ ronin quote --js file.bin
C文字列の引用符を外す:```shell $ ronin unquote --c --string '"\x66\x6f\x6f\x20\x62\x61\x72"' foo bar
### Text
ファイルから高エントロピーデータを抽出する:```shell
$ ronin entropy -e 5.0 index.html
Grepでデータの一般的なパターンを検索:```shell $ ronin grep --hash index.html
データから共通パターンを抽出する:```shell
$ ronin extract --hash index.html
単語のランダムなタイポを生成する:```shell $ ronin typo microsoft microssoft
単語のすべてのタイポバリエーションを列挙します。```shell
$ ronin typo --enum microsoft
microosoft
microsooft
microssoft
単語のランダムなホモグリフ版を生成する:```shell $ ronin homoglyph CEO CEO
単語のすべてのホモグリフのバリエーションを列挙する:```shell
$ ronin homoglyph --enum CEO
ϹEO
СEO
ⅭEO
CEO
CΕO
CЕO
CEO
CEΟ
CEО
CEO
ファイルをシンタックスハイライトします:```shell $ ronin highlight index.html
### 暗号