View Full Version : WebHost toolbox 1.5.1
cdoverlaw
10-30-2004, 03:00 AM
we want to add direct admin support to webhost toolbox 1.5.1 and to do this we need the login url (which automatically inputs username and password)
Thanks for the help
Webhost toolbox is currently located at www.revosoftware.com
cdoverlaw
11-01-2004, 11:09 AM
pleasee can someone help with this, its just a url, surely somebody knows what it is
nobaloney
11-01-2004, 11:34 AM
Do you mean something like:
https://example.com/login.php?username=foo&password=bar ?
If so, then it doesn't exist.
If not, then please explain what you mean.
Jeff
skruf
11-01-2004, 11:41 AM
Hey,
DA logins are generally via port 2222. (That's configurable so, it could change depending on the hoster.)
The login screen for the server is generally found like so:
http://www.example.com:2222
A kink is thrown in when one uses SSL on the server for secure logins. Naturally, then it would be https:// in the above URL.
Also, sometimes folks may decide to make it easier on their customers by making it a URL sonething like this:
https://www.example.com/login
So, the login is obviously not set in stone.
Here's a link to DA's API stuff:
http://www.directadmin.com/api.html
In the Quick Links you'll also find a link to a PHP Class that Phil wrote.
Hope that helps.
David
cdoverlaw
11-01-2004, 12:04 PM
what i want is a url that automatically inputs username and password and then continues the login, so like cpanel is https://username:password@domain.com:2087
cdoverlaw
11-01-2004, 12:06 PM
yeah i mean sumthin like
https://example.com/login.php?username=foo&password=bar
are you sure this is not possible, all other control panels have this, its a php form so it shud be possible to make a url that fills it in and then hits login
thoroughfare
11-01-2004, 03:27 PM
It's https://hostname:2222/CMD_LOGIN or http://hostname:2222/CMD_LOGIN, but it'll only take POST variables. I just tested using:
https://hostname:2222/CMD_LOGIN?referer=%2F&username=xxxxxx&password=xxxxxxxxx
...and it didn't work. Needs to be POST variables.
Matt :)
cdoverlaw
11-02-2004, 12:55 AM
hmm their must be away round this, i need it to add support to directadmin to my software
jmstacey
11-02-2004, 06:40 PM
You can't make your php script use post? As that seems to be the only solution until (if) DA implements this.
cdoverlaw
11-03-2004, 12:08 AM
its not php it is a desktop pc application,
l0rdphi1
11-03-2004, 12:30 AM
Use sockets to fake a post query to /CMD_LOGIN.
Phi1.
cdoverlaw
11-03-2004, 12:30 AM
how would i do that?
l0rdphi1
11-03-2004, 12:32 AM
What programming language are you programming in? =)
Phi1.
cdoverlaw
11-03-2004, 08:47 AM
visual basic .net
l0rdphi1
11-03-2004, 03:57 PM
This looks to do basically what you're after:
http://www.kbalertz.com/Feedback.aspx?kbNumber=311293
(I googled for 'visual basic .net open URL POST method')
However, I personally can't help much here; I never bothered to learn VB.
Good luck.
Phi1.
nobaloney
11-06-2004, 04:12 PM
Not learning VB was probably a good thing, Phi1, since most of us who did were left completely out in the cold with all the changes when they moved to VB.NET.
Jeff
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.