「mysqlfast」の版間の差分
提供: セキュリティ
(ページの作成:「<!-- vim: filetype=mediawiki --> 読み方 ;mysqlfast:まい えすきゅーえる ふぁーすと __TOC__ == 概要 == mysqlfastは、MySQLのパスワ...」) |
細 |
||
行22: | 行22: | ||
== 使い方 == | == 使い方 == | ||
+ | |||
+ | <syntaxhighlight lang="bash"> | ||
+ | mysql> select old_password('test'); | ||
+ | +----------------------+ | ||
+ | | old_password('test') | | ||
+ | +----------------------+ | ||
+ | | 378b243e220ca493 | | ||
+ | +----------------------+ | ||
+ | 1 row in set (0.01 sec) | ||
+ | </syntaxhighlight> | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
% ./mysqlfast | % ./mysqlfast | ||
usage: ./mysqlfast hash | usage: ./mysqlfast hash | ||
− | % ./mysqlfast | + | % time ./mysqlfast 378b243e220ca493 |
− | Hash: | + | Hash: 378b243e220ca493 |
Trying length 3 | Trying length 3 | ||
Trying length 4 | Trying length 4 | ||
− | Found pass: | + | Found pass: test |
+ | Time spent in user mode (CPU seconds) : 0.000s | ||
+ | Time spent in kernel mode (CPU seconds) : 0.008s | ||
+ | Total time : 0:00.00s | ||
+ | CPU utilisation (percentage) : 0.0% | ||
+ | Times the process was swapped : 0 | ||
+ | Times of major page faults : 0 | ||
+ | Times of minor page faults : 68 | ||
</syntaxhighlight> | </syntaxhighlight> | ||
行37: | 行54: | ||
* [[MySQL]] | * [[MySQL]] | ||
+ | * [[MySQLのパスワード]] | ||
* [[パスワードクラック]] | * [[パスワードクラック]] |
2013年4月21日 (日) 19:39時点における版
読み方
- mysqlfast
- まい えすきゅーえる ふぁーすと
概要
mysqlfastは、MySQLのパスワードハッシュの総当たり攻撃のパスワードクラックツールです。
インストール
wget 'https://raw.github.com/gdonald/junk/master/c/mysqlfast.c' cc -O2 -fomit-frame-pointer mysqlfast.c -o mysqlfast
使い方
mysql> select old_password('test'); +----------------------+ | old_password('test') | +----------------------+ | 378b243e220ca493 | +----------------------+ 1 row in set (0.01 sec)
% ./mysqlfast usage: ./mysqlfast hash % time ./mysqlfast 378b243e220ca493 Hash: 378b243e220ca493 Trying length 3 Trying length 4 Found pass: test Time spent in user mode (CPU seconds) : 0.000s Time spent in kernel mode (CPU seconds) : 0.008s Total time : 0:00.00s CPU utilisation (percentage) : 0.0% Times the process was swapped : 0 Times of major page faults : 0 Times of minor page faults : 68