Pandora FMS Community

Checking Succesful Login

futurist71 · 30 jul 2014, 18:40 · 8 mensajes · 67 visitas

  1. Inicio del debate

    I'm trying to check website login from https website. After succesfull login, i'm trying to check  if there is a string following the login process. When using goodword string, it's not possible to get the green OK when changing the string word for another one. Is this script ok? Regards, task_begin post https://www.URL.com/LOGIN variable_name USER variable_value [email protected] variable_name PASSWORD variable_value PASSW0RD cookie 1 resource 1 task_end task_begin get http://www.URL.com cookie 1 resource 1 check_string goodword task_end

  2. Hello Which version of Pandora FMS do you have? (open or enterprise) Regards Ivo

  3. Hi! Version 5.0

  4. Even If I just leave the following section and I change the password to wrong password, the module keeps - OK (GREEN). task_begin post https://www.URL.com/LOGIN variable_name USER variable_value [email protected] variable_name PASSWORD variable_value PASSW0RD cookie 1 resource 1 task_end

  5. Are you using the paid (Enterprise) version?

  6. Even If I just leave the following section and I change the password to wrong password, the module keeps - OK (GREEN). task_begin post https://www.URL.com/LOGIN variable_name USER variable_value [email protected] variable_name PASSWORD variable_value PASSW0RD cookie 1 resource 1 task_end

    That will report always OK, you need to check a return string to see if post response is ok.

  7. Using Pandora 5.0 SP1, this doesn't work correctly.

  8. First at all, you should ask this in customer (enterprise) support, not here, but anyway: I see you're using HTTPS. In Webchecks using goliat you must be aware you need a specific version of OpenSSL to do some checks, checkout the documentation about the specific OpenSSL version you need and the server logs to see if you have any tip/hint about problems with SSL version. This check was introduced in 5.0 but I dont remeber exactly if was in SP1 or later. Anyway, check if installed OpenSSL library version is the correct one,

Entra en tu cuenta para publicar.