A sample auto-submission form, to be generated in a temporary html code:
<form action="http://www.domain.com:2222/CMD_LOGIN" method="POST" name="form">
A better option would be to pre-set a short-term use Login Key, just for this client's IP address. It would expire after a certain amount of time, and only allow this client's IP to login with it. Much more secure.
Use the created Login Key for the password, along with this account's usual username (not the login key name)
|How to create a login page for DirectAdmin on your website|
|Creating a Login Key to use with your API, script, or temporary login, to keep your password safe|
© 2018 JBMC Software, Suite 173 3-11 Bellerose Drive, St Albert, AB T8N 1P7 Canada. Mon-Fri 9AM-5PM MST