1 |
How to use Hydra with PHP |
How to use Hydra with PHP. This is HIGHLY EXPERIMENTAL since there |
2 |
|
are several known bugs, with the hydra sapi module. |
3 |
|
|
4 |
0. Get hydra-sapi.tar.gz from ftp://ftp.hellug.gr/pub/software/hydra/php |
0. Get PHP4. |
5 |
|
|
6 |
1. Untar the file as a subdirectory called hydra/ in the sapi/ |
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 |
|
|
9 |
|
2. Untar the hydra-sapi tarball as a subdirectory called hydra/ in the sapi/ |
10 |
directory in the PHP main source tree. |
directory in the PHP main source tree. |
11 |
|
|
12 |
2. CD into the PHP's source tree and run "autoconf" |
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 |
|
|
15 |
3. Proceed to "./configure --with-hydra=/where/hydra/source/is" and "make" |
4. Proceed to "./configure --with-hydra=/where/hydra/source/is" and "make" |
16 |
|
Note that you should point to the root of the untarred data, not |
17 |
|
to the src/ directory. |
18 |
|
|
19 |
4. Compile Hydra with SMP and HIC enabled (this is the default) |
5. Compile Hydra with SMP and HIC enabled (this is the default) |
20 |
|
|
21 |
5. Edit the hydra.conf to enable HIC modules |
6. Edit the hydra.conf to enable HIC modules, and set the path of libphp4.so. |
22 |
|
|
23 |
6. Run Hydra |
7. Run Hydra. |