Skip to content

Commit c21971c

Browse files
committed
Added some info on problems encountered during testing.
1 parent 5a9f242 commit c21971c

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

documentation/modules/exploit/linux/http/centreon_useralias_exec.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,25 @@ cd nagios-plugins-2.1.1/
3434
./configure
3535
make
3636
sudo make install
37+
```
38+
5.1 If during make, you get an sslv3 method not found error (https://support.nagios.com/forum/viewtopic.php?f=35&t=36601&p=168235&hilit=SSLv3#p168235)
39+
```
40+
--- plugins/sslutils.c.orig 2016-01-14 20:02:06.419867000 +0100
41+
+++ plugins/sslutils.c 2016-01-14 20:01:36.091492000 +0100
42+
@@ -70,8 +70,13 @@
43+
#endif
44+
break;
45+
case 3: /* SSLv3 protocol */
46+
+#if defined(OPENSSL_NO_SSL3)
47+
+ printf(("%s\n", _("CRITICAL - SSL protocol version 3 is not supported by your SSL library.")));
48+
+ return STATE_CRITICAL;
49+
+#else
50+
method = SSLv3_client_method();
51+
ssl_options = SSL_OP_NO_SSLv2 | SSL_OP_NO_TLSv1;
52+
+#endif
53+
break;
54+
default: /* Unsupported */
55+
printf("%s\n", _("CRITICAL - Unsupported SSL protocol version."));
3756
```
3857
6. Install [Centreon clib](https://documentation.centreon.com/docs/centreon-clib/en/latest/installation/index.html)
3958
```
@@ -67,6 +86,7 @@ sudo make install
6786
sudo mkdir /var/log/centreon-engine
6887
cd ~
6988
sudo pear install XML_RPC-1.4.5
89+
(may need to install php-xml)
7090
wget https://www.exploit-db.com/apps/bf269a17dd99215e6dc5d7755b521c21-centreon-2.5.3.tar.gz
7191
tar vxf bf269a17dd99215e6dc5d7755b521c21-centreon-2.5.3.tar.gz
7292
cd centreon-2.5.3
@@ -188,4 +208,4 @@ Just a standard run.
188208
www-data
189209
uname -a
190210
Linux centreon 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
191-
```
211+
```

0 commit comments

Comments
 (0)