PDA

View Full Version : Direct login without typing username and password


smella
27th September 2006, 14:47
I have need to go directly on the Oreon home page (http://xxx.xxx.xxx.xxx/oreon/oreon.php?p=1) without typing username and password or inserting them in the URL.

There is a way to do this?

julio
27th September 2006, 16:49
yes you can :)

http://Oreon_IP_Serveur/oreon/oreon.php?p=1&autologin=1&useralias=MD5(Userlogin)&password=MD5(password)

best regards

JonK
4th October 2006, 22:46
Is this autologin method working with Oreon 1.3.1-1? I keep getting redirected back out to http://cylnms01/oreon/index.php?disconnect=1 when I attempt to use the autologin method suggested above.

Thanks,

Jon

julio
5th October 2006, 00:17
oh yes it's working since 1.3-RC1

http://Oreon_IP_Serveur/oreon/oreon.php?p=1&autologin=1&useralias=MD5(Userlogin)&password=MD5(password)

MD5(password) = crypted password and same for userlogin... what is your login ? Do you use Ldap ?

JonK
5th October 2006, 00:42
I used a javascript utility at http://pajhome.org.uk/crypt/md5/ to get the MD5 hash for the username (guest) and password (guest). This is the resulting URL:

http://<servername>/oreon/oreon.php?p=1&autologin=1&useralias=084e0343a0486ff05530df6c705c8bb4&password=084e0343a0486ff05530df6c705c8bb4

Did I misinterpret your URL notation?

Thanks again,

Jon

cih
5th October 2006, 10:46
Hi there!

Do not working here either ... Same behaviour as JonK. Maybe we're missing something, Julio ...

julio
5th October 2006, 17:57
strange it's ok in my oreon :?

smella
6th October 2006, 12:17
It works but the coorect link is:

http://Oreon_IP_Serveur/oreon/index.php?p=1&autologin=1&useralias=MD5(Userlogin)&password=MD5(password)

I use Oreon v1.3-RC2

cih
6th October 2006, 12:21
Great! Thanks smella. ;)

julio
6th October 2006, 20:04
ho yes sorry :oops:

asg
11th September 2007, 11:43
the autologin feature isnt working in the new centreon 1.4.1 release. Are there any plans to reactivate it?

julio
11th September 2007, 12:24
no it's working !

I use it :)

$LOGIN = MD5(login)
$PASSWORD = MD5(password)

http://yourip/oreon/index.php?autologin=1&username=$LOGIN&password=$PASSWORD&p=2

rom
13th September 2007, 10:42
And the page 'p=number' you need to go.

bigoud
5th March 2009, 17:31
Bonjour
je déterre un vieux sujet mais j'aimerai faire exactement la même chose sous centreon 2.0
j'ai essayé l'url :
http://mon_serveur/centreon/main.php?p=1&autologin=1&useralias=MD5(user)&password=MD5(password)
mais ça ne marche pas, avec ou sans MD5().

si quelqu'un peut m'éclairer...
merci

AkHeNaToN
5th March 2009, 17:54
Ca marche parfaitement:


http://IP_SERVEUR/centreon/main.php?p=1&autologin=1&useralias=2995cb0650c5f107230ed569a8c4d6e5&password=2995cb0650c5f107230ed569a8c4d6e5


ou 2995cb0650c5f107230ed569a8c4d6e5 n'est rien d'autre que le HASH MD5 de "centreon"

bigoud
5th March 2009, 18:08
Non, pas chez moi, je ne sais pas pourquoi...
j'ai créé un utilisateur login : "centreon" avec "centreon" comme mot de passe et j'ai recopié texto ton code (en changeant IP_SERVEUR)
???
any ideas??
merci

AkHeNaToN
5th March 2009, 18:29
Arf ca marche parfaitement sous Firefox et pas sous IE (je suis renvoyé vers la page "http://10.248.0.27/centreon/index.php?disconnect=1").

=> utilise firefox 3 :rolleyes:

bigoud
6th March 2009, 10:04
mais j'utilise firefox 3.0.7
il n'y a pas une manip à faire, quelque chose à changer dans le code de centreon pour que l'autologin fonctionne?

netgeek
16th March 2009, 08:06
Main.php isn't doing the authentication; it's index.php.

Just try

http://<Server>/centreon/index.php?p=1&autologin=1&useralias=MD%<Useralias>&password=MD5<Password>

bigoud
19th March 2009, 15:38
CHAMPAGNE!!
ca marche!!!
merci beaucoup