Aug 19

javascript — open lots of urls in new tab

Sometimes,i need to open a lot of url to finish some i need a javascript code to save time.i can run them from firebug console.

Source code    
var domains = ['url1','url2','url3'];
for(i in domains) {[i]);

The url to assign main shared ip to a reseller acct in WHM:


The url to change ip of a domain/acct



Aug 16

WHM — How to create acct from command line

how to create a whm reseller acct and assign a domain?WHM/Cpanel comes with a lot of script located in /script  directory. The /script/wwwacct can be usefull to create acct from ssh. So to create a new acct,we need to take a look at its syntax,run the command below from ssh:


It will print:

Please use the this syntax
wwwacct <domain> <user> <pass> <quota> <cpmod[advanced/?]> <ip[y/n]> <cgi[y/n]> <frontpage[y/n]> <maxftp> <maxsql> <maxpop> <maxlst> <maxsub> <bwlimit> <hasshell[y]/[n]> <owner> <plan> <maxpark> <maxaddon> <featurelist> <contactemail> <use_registered_nameservers> <language>

So,we need to supply domain,user ,pass etc,for example,

/scripts/wwwacct abcd  ‘password’  0 x3 y y y 0 0 0 0 0 0 n root 0 0 0 ” ” 0 en

This can be very usefull if you need to create a lot of new acct. The drawback is that we need to confirm for every acct.The comfirmation may can be bypassed  with sleep and echo command.