1 |
/* |
2 |
* this file is automatically generated from zipcrack.c, do NOT modify |
3 |
*/ |
4 |
|
5 |
#if 0 |
6 |
#elif defined(__i386__) || defined(__i386) || defined(i386) |
7 |
# define ARCH_i386 1 |
8 |
# undef METHOD |
9 |
# define METHOD 1 |
10 |
# undef TARGET_CPU |
11 |
# define TARGET_CPU 0 |
12 |
# undef USE_MULT_TAB |
13 |
# undef init_crack_pw |
14 |
# define init_crack_pw METHOD1_init_crack_pw |
15 |
# undef crack_pw |
16 |
# define crack_pw METHOD1_crack_pw |
17 |
# if TARGET_CPU==COMPILE_CPU && USE_MULT_TAB |
18 |
# define DEFAULT_METHOD 1 |
19 |
# endif |
20 |
# include "zipcrack.c" |
21 |
# undef METHOD |
22 |
# define METHOD 2 |
23 |
# undef TARGET_CPU |
24 |
# define TARGET_CPU 0 |
25 |
# define USE_MULT_TAB 1 |
26 |
# undef init_crack_pw |
27 |
# define init_crack_pw METHOD2_init_crack_pw |
28 |
# undef crack_pw |
29 |
# define crack_pw METHOD2_crack_pw |
30 |
# if TARGET_CPU==COMPILE_CPU && USE_MULT_TAB |
31 |
# define DEFAULT_METHOD 2 |
32 |
# endif |
33 |
# include "zipcrack.c" |
34 |
# undef METHOD |
35 |
# define METHOD 3 |
36 |
# undef TARGET_CPU |
37 |
# define TARGET_CPU 5 |
38 |
# undef USE_MULT_TAB |
39 |
# undef init_crack_pw |
40 |
# define init_crack_pw METHOD3_init_crack_pw |
41 |
# undef crack_pw |
42 |
# define crack_pw METHOD3_crack_pw |
43 |
# if TARGET_CPU==COMPILE_CPU && USE_MULT_TAB |
44 |
# define DEFAULT_METHOD 3 |
45 |
# endif |
46 |
# include "zipcrack.c" |
47 |
# undef METHOD |
48 |
# define METHOD 4 |
49 |
# undef TARGET_CPU |
50 |
# define TARGET_CPU 5 |
51 |
# define USE_MULT_TAB 1 |
52 |
# undef init_crack_pw |
53 |
# define init_crack_pw METHOD4_init_crack_pw |
54 |
# undef crack_pw |
55 |
# define crack_pw METHOD4_crack_pw |
56 |
# if TARGET_CPU==COMPILE_CPU && USE_MULT_TAB |
57 |
# define DEFAULT_METHOD 4 |
58 |
# endif |
59 |
# include "zipcrack.c" |
60 |
# undef METHOD |
61 |
# define METHOD 5 |
62 |
# undef TARGET_CPU |
63 |
# define TARGET_CPU 6 |
64 |
# undef USE_MULT_TAB |
65 |
# undef init_crack_pw |
66 |
# define init_crack_pw METHOD5_init_crack_pw |
67 |
# undef crack_pw |
68 |
# define crack_pw METHOD5_crack_pw |
69 |
# if TARGET_CPU==COMPILE_CPU && USE_MULT_TAB |
70 |
# define DEFAULT_METHOD 5 |
71 |
# endif |
72 |
# include "zipcrack.c" |
73 |
# undef METHOD |
74 |
# define METHOD 6 |
75 |
# undef TARGET_CPU |
76 |
# define TARGET_CPU 6 |
77 |
# define USE_MULT_TAB 1 |
78 |
# undef init_crack_pw |
79 |
# define init_crack_pw METHOD6_init_crack_pw |
80 |
# undef crack_pw |
81 |
# define crack_pw METHOD6_crack_pw |
82 |
# if TARGET_CPU==COMPILE_CPU && USE_MULT_TAB |
83 |
# define DEFAULT_METHOD 6 |
84 |
# endif |
85 |
# include "zipcrack.c" |
86 |
# undef ARCH_i386 |
87 |
#elif 1 |
88 |
# undef METHOD |
89 |
# define METHOD 1 |
90 |
# undef USE_MULT_TAB |
91 |
# undef init_crack_pw |
92 |
# define init_crack_pw METHOD1_init_crack_pw |
93 |
# undef crack_pw |
94 |
# define crack_pw METHOD1_crack_pw |
95 |
# if USE_MULT_TAB |
96 |
# define DEFAULT_METHOD 1 |
97 |
# endif |
98 |
# include "zipcrack.c" |
99 |
# undef METHOD |
100 |
# define METHOD 2 |
101 |
# define USE_MULT_TAB 1 |
102 |
# undef init_crack_pw |
103 |
# define init_crack_pw METHOD2_init_crack_pw |
104 |
# undef crack_pw |
105 |
# define crack_pw METHOD2_crack_pw |
106 |
# if USE_MULT_TAB |
107 |
# define DEFAULT_METHOD 2 |
108 |
# endif |
109 |
# include "zipcrack.c" |
110 |
#else |
111 |
#warn no architecture compiled in |
112 |
#endif |
113 |
|
114 |
#ifndef DEFAULT_METHOD |
115 |
#define DEFAULT_METHOD 0 |
116 |
#endif |
117 |
|
118 |
int default_method = DEFAULT_METHOD; |
119 |
|
120 |
method methods[] = { |
121 |
#if 0 |
122 |
#elif defined(__i386__) || defined(__i386) || defined(i386) |
123 |
{ "cpmask", init_cpmask, crack_cpmask, load_img }, |
124 |
{ "zip1, TARGET_CPU=0", METHOD1_init_crack_pw, METHOD1_crack_pw, load_zip }, |
125 |
{ "zip2, TARGET_CPU=0, USE_MULT_TAB", METHOD2_init_crack_pw, METHOD2_crack_pw, load_zip }, |
126 |
{ "zip3, TARGET_CPU=5", METHOD3_init_crack_pw, METHOD3_crack_pw, load_zip }, |
127 |
{ "zip4, TARGET_CPU=5, USE_MULT_TAB", METHOD4_init_crack_pw, METHOD4_crack_pw, load_zip }, |
128 |
{ "zip5, TARGET_CPU=6", METHOD5_init_crack_pw, METHOD5_crack_pw, load_zip }, |
129 |
{ "zip6, TARGET_CPU=6, USE_MULT_TAB", METHOD6_init_crack_pw, METHOD6_crack_pw, load_zip }, |
130 |
#elif 1 |
131 |
{ "cpmask", init_cpmask, crack_cpmask, load_img }, |
132 |
{ "zip1", METHOD1_init_crack_pw, METHOD1_crack_pw, load_zip }, |
133 |
{ "zip2, USE_MULT_TAB", METHOD2_init_crack_pw, METHOD2_crack_pw, load_zip }, |
134 |
#else |
135 |
#endif |
136 |
{ 0, 0, 0, 0 } |
137 |
}; |
138 |
|