Browse Subversion Repository
Diff of /branches/mty-makai/mty.c
Parent Directory
| Revision Log
| Patch
| 33 |
#include "scoreboard.h" |
#include "scoreboard.h" |
| 34 |
#include "synth.h" |
#include "synth.h" |
| 35 |
#include "util.h" |
#include "util.h" |
| 36 |
|
#include "makai.h" |
| 37 |
|
|
| 38 |
#ifdef WIN32 |
#ifdef WIN32 |
| 39 |
/* 優先度 */ |
/* 優先度 */ |
| 789 |
if ( fixedSalt[0] != '\0' ) { |
if ( fixedSalt[0] != '\0' ) { |
| 790 |
printf( "全空間モード (salt:%c%c)\n", fixedSalt[0], fixedSalt[1] ); |
printf( "全空間モード (salt:%c%c)\n", fixedSalt[0], fixedSalt[1] ); |
| 791 |
} |
} |
| 792 |
|
#ifdef KEYLOG |
| 793 |
|
if ( keyLog == MAKAI_TRUE ) { |
| 794 |
|
printf( "検索したキー空間のロギング\n" ); |
| 795 |
|
initMutexKeylog(); |
| 796 |
|
} |
| 797 |
|
#endif /* KEYLOG */ |
| 798 |
#ifdef SPECIAL |
#ifdef SPECIAL |
| 799 |
dispSpecial(); |
dispSpecial(); |
| 800 |
#else /* SPECIAL */ |
#else /* SPECIAL */ |
| 845 |
/* コードをメモリに貼り付ける */ |
/* コードをメモリに貼り付ける */ |
| 846 |
code = scoreboard_map(sfp); |
code = scoreboard_map(sfp); |
| 847 |
|
|
| 848 |
/* キーの初期化 */ |
/* salt を設定するためにダミーのキーを作成 (ここってロックいるのか ?) */ |
| 849 |
WaitForSingleObject(mutex_key, INFINITE); |
WaitForSingleObject(mutex_key, INFINITE); |
| 850 |
srand(usec()); |
key.key[1] = 'z' + 1; |
| 851 |
key_init(&key); |
key.key[2] = 'z' + 1; |
| 852 |
ReleaseMutex(mutex_key); |
ReleaseMutex(mutex_key); |
| 853 |
set_salt(code, crypt64_descs[0], key.key); |
set_salt(code, crypt64_descs[0], key.key); |
| 854 |
|
|
|
|
Legend:
| Removed from v.262 |
|
| changed lines |
| |
Added in v.263 |
|
|
| |