1 |
nmav |
1.3 |
How to use Hydra with PHP. This is HIGHLY EXPERIMENTAL since there |
2 |
|
|
are several known bugs, with the hydra sapi module. |
3 |
nmav |
1.1 |
|
4 |
nmav |
1.2 |
0. Get PHP4. |
5 |
nmav |
1.1 |
|
6 |
nmav |
1.3 |
1. Get hydra-sapi-0.y.x.tar.gz from ftp://ftp.hellug.gr/pub/software/hydra/php |
7 |
|
|
(note that 'y' and 'x' must match your Hydra version). |
8 |
nmav |
1.2 |
|
9 |
|
|
2. Untar the hydra-sapi tarball as a subdirectory called hydra/ in the sapi/ |
10 |
nmav |
1.1 |
directory in the PHP main source tree. |
11 |
|
|
|
12 |
nmav |
1.2 |
3. CD into the PHP's source tree and run "autoconf" |
13 |
|
|
If you don't have autoconf, get it at ftp://ftp.gnu.org/ |
14 |
nmav |
1.1 |
|
15 |
nmav |
1.2 |
4. Proceed to "./configure --with-hydra=/where/hydra/source/is" and "make" |
16 |
nmav |
1.3 |
Note that you should point to the root of the untarred data, not |
17 |
|
|
to the src/ directory. |
18 |
nmav |
1.1 |
|
19 |
nmav |
1.2 |
5. Compile Hydra with SMP and HIC enabled (this is the default) |
20 |
nmav |
1.1 |
|
21 |
nmav |
1.2 |
6. Edit the hydra.conf to enable HIC modules, and set the path of libphp4.so. |
22 |
nmav |
1.1 |
|
23 |
nmav |
1.2 |
7. Run Hydra. |