Jonny and I talked about this over IRC. But I just wanted to create a topic over here for discussion.
The account modification query string in WHM is this.
Where "account" = the users account and "example.com" = the WHM domain.
Working on how to change it remotely now.
That's a rundown of all the data. Most of the inputs are self explanatory.
The account modification query string in WHM is this.
Code:
https://example.com:2087/scripts/edituser?user=account
Working on how to change it remotely now.
Code:
<form action="/scripts/saveedituser" method="POST">
<input type="hidden" name="user" value="account_name">
<input type="hidden" name="BWLIMIT" value="8589934592">
<input type="hidden" name="CONTACTEMAIL" value="[email protected]">
<input type="hidden" name="CONTACTEMAIL2" value="">
<input type="hidden" name="DEMO" value="0">
<input type="hidden" name="FEATURELIST" value="default">
<input type="hidden" name="IP" value="209.188.83.160">
<input type="hidden" name="OWNER" value="owner_of_account">
<input type="hidden" name="PLAN" value="package_name">
<input type="hidden" name="STARTDATE" value="1228428805">
<input type="hidden" name="USER" value="account_name">
<input type="text" name="DNS" value="new_address_here">
<select name="RS">
<option value="x">x</option>
<option value="x2">x2</option>
<option value="x3" selected>x3</option>
<option value="x3mail">x3mail</option>
<option value="xmail">xmail</option>
</select>
<select name="LANG">
<option value="english" selected>english</option>
<option value="spanish-utf8">spanish-utf8</option>
<option value="arabic">arabic</option>
<option value="russian">russian</option>
<option value="japanese">japanese</option>
<option value="portuguese-utf8">portuguese-utf8</option>
<option value="french-utf8">french-utf8</option>
<option value="hindi">hindi</option>
<option value="german-utf8">german-utf8</option>
<option value="bengali">bengali</option>
<option value="portuguese">portuguese</option>
<option value="spanish">spanish</option>
<option value="french">french</option>
<option value="german">german</option>
<option value="english-utf8">english-utf8</option>
<option value="chinese">chinese</option>
<option value=".english.webalizer">.english.webalizer</option>
</select>
<input type="text" name="newuser" value="demo789">
<input type="hidden" name="seeshell" value="1">
<input type="text" size="7" name="MAXPOP" value="15">
<input type="text" size="7" name="MAXFTP" value="15">
<input type="text" size="7" name="MAXLST" value="15">
<input size="7" type="text" name="MAXSUB" value="15">
<input size="7" type="text" name="MAXSQL" value="15">
<input size="7" type="text" name="MAXPARK" value="15">
<input size="7" type="text" name="MAXADDON" value="15">
<input type="checkbox" name="HASCGI" value="1" checked="checked">
<input type="submit" class="input-button" value="Save">
</form>
That's a rundown of all the data. Most of the inputs are self explanatory.
Kevin Mark - TheHostingTool Lead Developer