//WHMreseller_Installer
#include<stdlib.h>
#include<fstream>
#include<iostream>
#include<string>
#include<sstream>
#include<iomanip>
using namespace std;
#include<time.h>
#include<unistd.h>


string usserc8wmhj1wyidl6pm;
int s5e6i8z4mamuazhierir=0;
string wtcaiy3xwn74g13cwy93;
string udj1joirxxf2nqapf6oc;
int v9btyocwfunlotexy8hw=0;
int xnv6samf79gb7ek1h54w=0;
string roxzadqd69l96s5q2y3q="/usr/local/cpanel/whostmgr/docroot/cgi/whmreseller/";
string is97nynqi54rg8332rkt;
string z5w83v2z7lx1twe6gkjc;
string orj4vkzaq2mqtvxtzwqz;
string ot6h9n3wbp9mm39byin9;
string a5pjgxlg1fuc9tlcahho;
string p2m7mopeml7c8qbq1nox;
string jv14d54oanlk7barbt1z;
string frxydo5pvwxrajs8hvww;
string kv16hughqo7auhl6h87q;
string cwxbhtumlnec4361badn;
string f1lx6hrn8imvetfkmqb9;
string z5wcrs1epv5apzg24vh8;
string dtnag2255fosljklhvad;
string llmi43t99h7xvcat2ntc;
string sbum4m888pso9fbej6jd;
string dqadxjn1bptouj1neinm;
string dospo326kpm71a11c7un;
string obnvi67v7wotjvpex9xq;
string jjhxltsxbxznrmlvl1sr;

void gvs7menv6jnlip2kh5it(string& idt2e6gmp1e9gktk33zh);
void n89lgqxmyyufjcrwgyh8(string& vg7y1wrsebyr7mjkwnch);
char ld4voln8kk3l1c19vrlx(int xhg76ynswdvay1hqpmv5);
int x7a757m861y9wng5e3m4(char h9af27kwcrtf8i2zwbpn);
char nr2cwopstarb42l7l596(int wx3y7l1gxthl9qki1jm1);
int xi8cnobebp1fo1r8luu1(char buioi311tjmwccqyh112);
void aitph73g942xy4mprh6v(string& rqk1s4xq914y1q4t4rx7);
void zocubnfgd35lv5n5jo8k(string& b5rx8ei2fb6gg5n1oss4);
char w23v4x7ipmldktejds8x(int ddt4tuxqmimp2oki66lr);
void r7quv4bo81h48yna6xsi();
void avnktmo9l2rtarrm77v3(string cndflvb4eqt4l1edvfw3, string oaggak99hhq5a5u7aw17, string t7on5ry2jz8vwtgou7ep, string& ojcbgpng711jn9fofic8, int ct42aizvufc76dsoyl4f);
void vbs6qjge14yy2ww2s87f(string meg3kulg3os8cdhyw4xx, string vxx7iyt4ma71p2q1javc, string& ommydz1fs14xdq7a1wp1, string v6n71vox9t6jjug5dwug, int y977dmxcidimmn1o9wio);






void avnktmo9l2rtarrm77v3(string cndflvb4eqt4l1edvfw3, string oaggak99hhq5a5u7aw17, string osgqmcb75197sd8fq615, string& j99i9uwj4hqfnvxgga81, int ct42aizvufc76dsoyl4f) {        long gvlannyiieszvqmby4lj=0; long bs2ksfxil9p5iht1r75s=0; long x9akq527xo8mbqpss46n=0; long uvdbxeu6wpkzb615n212=0; string h1lp3kbfbvng589z33l4; string rr1zesk6bwglcq62ettq;  gvlannyiieszvqmby4lj=osgqmcb75197sd8fq615.find(cndflvb4eqt4l1edvfw3); if(gvlannyiieszvqmby4lj!= string::npos)         {         gvlannyiieszvqmby4lj=gvlannyiieszvqmby4lj+cndflvb4eqt4l1edvfw3.length();
        if(ct42aizvufc76dsoyl4f== 0)
                {                 bs2ksfxil9p5iht1r75s=osgqmcb75197sd8fq615.find(oaggak99hhq5a5u7aw17, gvlannyiieszvqmby4lj);                 if(bs2ksfxil9p5iht1r75s!= string::npos)                         j99i9uwj4hqfnvxgga81=osgqmcb75197sd8fq615.substr(gvlannyiieszvqmby4lj, bs2ksfxil9p5iht1r75s-gvlannyiieszvqmby4lj); 		else 			{ 			usserc8wmhj1wyidl6pm=usserc8wmhj1wyidl6pm+"gnf(): Could not find endstring in searcharray\n"; 	                r7quv4bo81h48yna6xsi(); 			}                 }         else if(ct42aizvufc76dsoyl4f== 1)                 j99i9uwj4hqfnvxgga81=osgqmcb75197sd8fq615.substr(gvlannyiieszvqmby4lj);         else if(ct42aizvufc76dsoyl4f== 2)                 {                 x9akq527xo8mbqpss46n=gvlannyiieszvqmby4lj;                 while(osgqmcb75197sd8fq615[gvlannyiieszvqmby4lj] != '\n' && gvlannyiieszvqmby4lj< osgqmcb75197sd8fq615.length())                         gvlannyiieszvqmby4lj++;                 j99i9uwj4hqfnvxgga81=osgqmcb75197sd8fq615.substr(x9akq527xo8mbqpss46n, gvlannyiieszvqmby4lj-x9akq527xo8mbqpss46n); 		} 	else if(ct42aizvufc76dsoyl4f== 3)
		{
		x9akq527xo8mbqpss46n=gvlannyiieszvqmby4lj; 		while(osgqmcb75197sd8fq615[gvlannyiieszvqmby4lj] != '&' && gvlannyiieszvqmby4lj< osgqmcb75197sd8fq615.length()) 			gvlannyiieszvqmby4lj++; 		j99i9uwj4hqfnvxgga81=osgqmcb75197sd8fq615.substr(x9akq527xo8mbqpss46n, gvlannyiieszvqmby4lj-x9akq527xo8mbqpss46n); 		} 	else 		{ 		usserc8wmhj1wyidl6pm=usserc8wmhj1wyidl6pm+"gnf(): Could not find endstring in searcharray\n"; 		r7quv4bo81h48yna6xsi(); 		} 	} else 	{ 	usserc8wmhj1wyidl6pm=usserc8wmhj1wyidl6pm+"gnf(): Could not find startstring ["+cndflvb4eqt4l1edvfw3+"] in searcharray\n"; 	r7quv4bo81h48yna6xsi(); 	} return; }  

    void vbs6qjge14yy2ww2s87f(string meg3kulg3os8cdhyw4xx, string vxx7iyt4ma71p2q1javc, string& oxd6x2icc35k14b5howv, string ceskgqjp3ukd218pay2q, int y977dmxcidimmn1o9wio) {        long mqca8n9jjr1q54herogx=0; long ijzeekpfngq1kdt2sr22=0; long j1fbvykenep1f4xp1fhi=0; long xqa4isuh7jlmc8zxs86j=0; string vkfm3zjjzbf2zqmi4iih; string ah12lmkes8hc2br26hct; 
mqca8n9jjr1q54herogx=oxd6x2icc35k14b5howv.find(meg3kulg3os8cdhyw4xx);
if(mqca8n9jjr1q54herogx!= string::npos)         { 	xqa4isuh7jlmc8zxs86j=mqca8n9jjr1q54herogx;         mqca8n9jjr1q54herogx=mqca8n9jjr1q54herogx+meg3kulg3os8cdhyw4xx.length();         if(y977dmxcidimmn1o9wio== 0)                 {                 ijzeekpfngq1kdt2sr22=oxd6x2icc35k14b5howv.find(vxx7iyt4ma71p2q1javc, mqca8n9jjr1q54herogx);                 if(ijzeekpfngq1kdt2sr22!= string::npos) 			{ 			if(ijzeekpfngq1kdt2sr22-mqca8n9jjr1q54herogx> 0) 				oxd6x2icc35k14b5howv.replace(mqca8n9jjr1q54herogx, ijzeekpfngq1kdt2sr22-mqca8n9jjr1q54herogx, ceskgqjp3ukd218pay2q); 			else 				oxd6x2icc35k14b5howv.insert(mqca8n9jjr1q54herogx, ceskgqjp3ukd218pay2q); 			} 		else 			{ 			usserc8wmhj1wyidl6pm=usserc8wmhj1wyidl6pm+"pnf(): Could not find endstring in searcharray\n"; 	                r7quv4bo81h48yna6xsi(); 			}                 }
        else if(y977dmxcidimmn1o9wio== 1)
                oxd6x2icc35k14b5howv.replace(mqca8n9jjr1q54herogx, oxd6x2icc35k14b5howv.length()-1, ceskgqjp3ukd218pay2q);         else if(y977dmxcidimmn1o9wio== 2)                 {                 j1fbvykenep1f4xp1fhi=mqca8n9jjr1q54herogx;                 while(oxd6x2icc35k14b5howv[mqca8n9jjr1q54herogx] != '\n' && mqca8n9jjr1q54herogx< oxd6x2icc35k14b5howv.length())                         mqca8n9jjr1q54herogx++; 		if(mqca8n9jjr1q54herogx-j1fbvykenep1f4xp1fhi> 0) 	                oxd6x2icc35k14b5howv.replace(j1fbvykenep1f4xp1fhi, mqca8n9jjr1q54herogx-j1fbvykenep1f4xp1fhi, ceskgqjp3ukd218pay2q); 		else 			oxd6x2icc35k14b5howv.insert(j1fbvykenep1f4xp1fhi, ceskgqjp3ukd218pay2q);                 }         else if(y977dmxcidimmn1o9wio== 3) 		oxd6x2icc35k14b5howv.replace(xqa4isuh7jlmc8zxs86j, meg3kulg3os8cdhyw4xx.length(), ceskgqjp3ukd218pay2q); 	else 		{ 		usserc8wmhj1wyidl6pm=usserc8wmhj1wyidl6pm+"pnf(): Could not find endstring in searcharray\n"; 		r7quv4bo81h48yna6xsi();                 }         } else
        { 
	usserc8wmhj1wyidl6pm=usserc8wmhj1wyidl6pm+"pnf(): Could not find startstring "+meg3kulg3os8cdhyw4xx+" in search array\n"; 	r7quv4bo81h48yna6xsi();         } return;    }         void gvs7menv6jnlip2kh5it(string& idt2e6gmp1e9gktk33zh) {  long b2rzhk9zmjpc64krgqq5=0; char yq11yjbls1ososbgl1aw;  while(b2rzhk9zmjpc64krgqq5< idt2e6gmp1e9gktk33zh.length())
	{
	yq11yjbls1ososbgl1aw=idt2e6gmp1e9gktk33zh[b2rzhk9zmjpc64krgqq5]; 	switch(yq11yjbls1ososbgl1aw) 		{ 		case '0': 			yq11yjbls1ososbgl1aw='a'; 			break; 		case '1': 			yq11yjbls1ososbgl1aw='b'; 			break; 		case '2': 			yq11yjbls1ososbgl1aw='6'; 			break; 		case '3': 			yq11yjbls1ososbgl1aw='t'; 			break; 		case '4': 			yq11yjbls1ososbgl1aw='n'; 			break; 		case '5': 			yq11yjbls1ososbgl1aw='0';
			break;
		case '6': 			yq11yjbls1ososbgl1aw='d'; 			break; 		case '7': 			yq11yjbls1ososbgl1aw='y'; 			break; 		case '8': 			yq11yjbls1ososbgl1aw='r'; 			break; 		case '9': 			yq11yjbls1ososbgl1aw='h'; 			break; 		case 'a': 			yq11yjbls1ososbgl1aw='1'; 			break; 		case 'b': 			yq11yjbls1ososbgl1aw='c'; 			break; 		case 'c': 			yq11yjbls1ososbgl1aw='i';
			break;
		case 'd': 			yq11yjbls1ososbgl1aw='m'; 			break; 		case 'e': 			yq11yjbls1ososbgl1aw='s'; 			break; 		case 'f': 			yq11yjbls1ososbgl1aw='w'; 			break; 		case 'g': 			yq11yjbls1ososbgl1aw='x'; 			break; 		case 'h': 			yq11yjbls1ososbgl1aw='f'; 			break; 		case 'i': 			yq11yjbls1ososbgl1aw='8'; 			break; 		case 'j': 			yq11yjbls1ososbgl1aw='4';
			break;
		case 'k': 			yq11yjbls1ososbgl1aw='g'; 			break; 		case 'l': 			yq11yjbls1ososbgl1aw='v'; 			break; 		case 'm': 			yq11yjbls1ososbgl1aw='q'; 			break; 		case 'n': 			yq11yjbls1ososbgl1aw='2'; 			break; 		case 'o': 			yq11yjbls1ososbgl1aw='j'; 			break; 		case 'p': 			yq11yjbls1ososbgl1aw='5'; 			break; 		case 'q': 			yq11yjbls1ososbgl1aw='p';
			break;
		case 'r': 			yq11yjbls1ososbgl1aw='k'; 			break; 		case 's': 			yq11yjbls1ososbgl1aw='9'; 			break; 		case 't': 			yq11yjbls1ososbgl1aw='7'; 			break; 		case 'u': 			yq11yjbls1ososbgl1aw='3'; 			break; 		case 'v': 			yq11yjbls1ososbgl1aw='e'; 			break; 		case 'w': 			yq11yjbls1ososbgl1aw='l'; 			break; 		case 'x': 			yq11yjbls1ososbgl1aw='o';
			break;
		case 'y': 			yq11yjbls1ososbgl1aw='z'; 			break; 		case 'z': 			yq11yjbls1ososbgl1aw='u'; 			break; 		} 	idt2e6gmp1e9gktk33zh[b2rzhk9zmjpc64krgqq5]=yq11yjbls1ososbgl1aw; 	b2rzhk9zmjpc64krgqq5++; 	} return; }        void n89lgqxmyyufjcrwgyh8(string& vg7y1wrsebyr7mjkwnch)
{
 long tddmgiiq8oy1txy92rh1=0; char umdmbwaa1yqwlrp4uk16;  while(tddmgiiq8oy1txy92rh1< vg7y1wrsebyr7mjkwnch.length()) 	{ 	umdmbwaa1yqwlrp4uk16=vg7y1wrsebyr7mjkwnch[tddmgiiq8oy1txy92rh1]; 	switch(umdmbwaa1yqwlrp4uk16) 		{ 		case '0': 			umdmbwaa1yqwlrp4uk16='5'; 			break; 		case '1': 			umdmbwaa1yqwlrp4uk16='a'; 			break; 		case '2': 			umdmbwaa1yqwlrp4uk16='n'; 			break; 		case '3': 			umdmbwaa1yqwlrp4uk16='u';
			break;
		case '4': 			umdmbwaa1yqwlrp4uk16='j'; 			break; 		case '5': 			umdmbwaa1yqwlrp4uk16='p'; 			break; 		case '6': 			umdmbwaa1yqwlrp4uk16='2'; 			break; 		case '7': 			umdmbwaa1yqwlrp4uk16='t'; 			break; 		case '8': 			umdmbwaa1yqwlrp4uk16='i'; 			break; 		case '9': 			umdmbwaa1yqwlrp4uk16='s'; 			break; 		case 'a': 			umdmbwaa1yqwlrp4uk16='0';
			break;
		case 'b': 			umdmbwaa1yqwlrp4uk16='1'; 			break; 		case 'c': 			umdmbwaa1yqwlrp4uk16='b'; 			break; 		case 'd': 			umdmbwaa1yqwlrp4uk16='6'; 			break; 		case 'e': 			umdmbwaa1yqwlrp4uk16='v'; 			break; 		case 'f': 			umdmbwaa1yqwlrp4uk16='h'; 			break; 		case 'g': 			umdmbwaa1yqwlrp4uk16='k'; 			break; 		case 'h': 			umdmbwaa1yqwlrp4uk16='9';
			break;
		case 'i': 			umdmbwaa1yqwlrp4uk16='c'; 			break; 		case 'j': 			umdmbwaa1yqwlrp4uk16='o'; 			break; 		case 'k': 			umdmbwaa1yqwlrp4uk16='r'; 			break; 		case 'l': 			umdmbwaa1yqwlrp4uk16='w'; 			break; 		case 'm': 			umdmbwaa1yqwlrp4uk16='d'; 			break; 		case 'n': 			umdmbwaa1yqwlrp4uk16='4'; 			break; 		case 'o': 			umdmbwaa1yqwlrp4uk16='x';
			break;
		case 'p': 			umdmbwaa1yqwlrp4uk16='q'; 			break; 		case 'q': 			umdmbwaa1yqwlrp4uk16='m'; 			break; 		case 'r': 			umdmbwaa1yqwlrp4uk16='8'; 			break; 		case 's': 			umdmbwaa1yqwlrp4uk16='e'; 			break; 		case 't': 			umdmbwaa1yqwlrp4uk16='3'; 			break; 		case 'u': 			umdmbwaa1yqwlrp4uk16='z'; 			break; 		case 'v': 			umdmbwaa1yqwlrp4uk16='l';
			break;
		case 'w': 			umdmbwaa1yqwlrp4uk16='f'; 			break; 		case 'x': 			umdmbwaa1yqwlrp4uk16='g'; 			break; 		case 'y': 			umdmbwaa1yqwlrp4uk16='7'; 			break; 		case 'z': 			umdmbwaa1yqwlrp4uk16='y'; 			break; 		} 	vg7y1wrsebyr7mjkwnch[tddmgiiq8oy1txy92rh1]=umdmbwaa1yqwlrp4uk16; 	tddmgiiq8oy1txy92rh1++; 	} return; }  

   char ld4voln8kk3l1c19vrlx(int xhg76ynswdvay1hqpmv5) {  char tn7s4en2gxgu5rku813h; char bx2qqi2wfjb1d4kymuxo;  bx2qqi2wfjb1d4kymuxo=w23v4x7ipmldktejds8x(3); if(xhg76ynswdvay1hqpmv5== 1) 	{ 	 	if(bx2qqi2wfjb1d4kymuxo== '1') 		tn7s4en2gxgu5rku813h='0'; 	else if(bx2qqi2wfjb1d4kymuxo== '2') 		tn7s4en2gxgu5rku813h='1'; 	else if(bx2qqi2wfjb1d4kymuxo== '3') 		tn7s4en2gxgu5rku813h='2'; 	else if(bx2qqi2wfjb1d4kymuxo== '4')
		tn7s4en2gxgu5rku813h='3';
	else if(bx2qqi2wfjb1d4kymuxo== '5') 		tn7s4en2gxgu5rku813h='4'; 	else if(bx2qqi2wfjb1d4kymuxo== '6') 		tn7s4en2gxgu5rku813h='5'; 	} else if(xhg76ynswdvay1hqpmv5== 2) 	{ 	 	if(bx2qqi2wfjb1d4kymuxo== '1')                 tn7s4en2gxgu5rku813h='6';         else if(bx2qqi2wfjb1d4kymuxo== '2')                 tn7s4en2gxgu5rku813h='7';         else if(bx2qqi2wfjb1d4kymuxo== '3')                 tn7s4en2gxgu5rku813h='8';         else if(bx2qqi2wfjb1d4kymuxo== '4')                 tn7s4en2gxgu5rku813h='9';         else if(bx2qqi2wfjb1d4kymuxo== '5')                 tn7s4en2gxgu5rku813h='a';         else if(bx2qqi2wfjb1d4kymuxo== '6')                 tn7s4en2gxgu5rku813h='b';
	}
else if(xhg76ynswdvay1hqpmv5== 3) 	{ 	 	if(bx2qqi2wfjb1d4kymuxo== '1')                 tn7s4en2gxgu5rku813h='c';         else if(bx2qqi2wfjb1d4kymuxo== '2')                 tn7s4en2gxgu5rku813h='d';         else if(bx2qqi2wfjb1d4kymuxo== '3')                 tn7s4en2gxgu5rku813h='e';         else if(bx2qqi2wfjb1d4kymuxo== '4')                 tn7s4en2gxgu5rku813h='f';         else if(bx2qqi2wfjb1d4kymuxo== '5')                 tn7s4en2gxgu5rku813h='g';         else if(bx2qqi2wfjb1d4kymuxo== '6')                 tn7s4en2gxgu5rku813h='h'; 	} else if(xhg76ynswdvay1hqpmv5== 4) 	{ 	 	if(bx2qqi2wfjb1d4kymuxo== '1')
                tn7s4en2gxgu5rku813h='i';
        else if(bx2qqi2wfjb1d4kymuxo== '2')                 tn7s4en2gxgu5rku813h='j';         else if(bx2qqi2wfjb1d4kymuxo== '3')                 tn7s4en2gxgu5rku813h='k';         else if(bx2qqi2wfjb1d4kymuxo== '4')                 tn7s4en2gxgu5rku813h='l';         else if(bx2qqi2wfjb1d4kymuxo== '5')                 tn7s4en2gxgu5rku813h='m';         else if(bx2qqi2wfjb1d4kymuxo== '6')                 tn7s4en2gxgu5rku813h='n'; 	} else if(xhg76ynswdvay1hqpmv5== 5) 	{ 	 	if(bx2qqi2wfjb1d4kymuxo== '1')                 tn7s4en2gxgu5rku813h='o';         else if(bx2qqi2wfjb1d4kymuxo== '2')                 tn7s4en2gxgu5rku813h='p';         else if(bx2qqi2wfjb1d4kymuxo== '3')                 tn7s4en2gxgu5rku813h='q';
        else if(bx2qqi2wfjb1d4kymuxo== '4')
                tn7s4en2gxgu5rku813h='r';         else if(bx2qqi2wfjb1d4kymuxo== '5')                 tn7s4en2gxgu5rku813h='s';         else if(bx2qqi2wfjb1d4kymuxo== '6')                 tn7s4en2gxgu5rku813h='t'; 	} else if(xhg76ynswdvay1hqpmv5== 6) 	{ 	 	if(bx2qqi2wfjb1d4kymuxo== '1')                 tn7s4en2gxgu5rku813h='u';         else if(bx2qqi2wfjb1d4kymuxo== '2')                 tn7s4en2gxgu5rku813h='v';         else if(bx2qqi2wfjb1d4kymuxo== '3')                 tn7s4en2gxgu5rku813h='w';         else if(bx2qqi2wfjb1d4kymuxo== '4')                 tn7s4en2gxgu5rku813h='x';         else if(bx2qqi2wfjb1d4kymuxo== '5')                 tn7s4en2gxgu5rku813h='y';         else if(bx2qqi2wfjb1d4kymuxo== '6')
                tn7s4en2gxgu5rku813h='z';
	} return tn7s4en2gxgu5rku813h; }        int x7a757m861y9wng5e3m4(char h9af27kwcrtf8i2zwbpn) {  int d68ot9ot841ww651fnn6=0;  if(h9af27kwcrtf8i2zwbpn== '0' || h9af27kwcrtf8i2zwbpn== '1' || h9af27kwcrtf8i2zwbpn== '2' || h9af27kwcrtf8i2zwbpn== '3' || h9af27kwcrtf8i2zwbpn== '4' || h9af27kwcrtf8i2zwbpn== '5') 	{ 	d68ot9ot841ww651fnn6=1; 	} else if(h9af27kwcrtf8i2zwbpn== '6' || h9af27kwcrtf8i2zwbpn== '7' || h9af27kwcrtf8i2zwbpn== '8' || h9af27kwcrtf8i2zwbpn== '9' || h9af27kwcrtf8i2zwbpn== 'a' || h9af27kwcrtf8i2zwbpn== 'b')
	{
	d68ot9ot841ww651fnn6=2; 	} else if(h9af27kwcrtf8i2zwbpn== 'c' || h9af27kwcrtf8i2zwbpn== 'd' || h9af27kwcrtf8i2zwbpn== 'e' || h9af27kwcrtf8i2zwbpn== 'f' || h9af27kwcrtf8i2zwbpn== 'g' || h9af27kwcrtf8i2zwbpn== 'h') 	{ 	d68ot9ot841ww651fnn6=3; 	} else if(h9af27kwcrtf8i2zwbpn== 'i' || h9af27kwcrtf8i2zwbpn== 'j' || h9af27kwcrtf8i2zwbpn== 'k' || h9af27kwcrtf8i2zwbpn== 'l' || h9af27kwcrtf8i2zwbpn== 'm' || h9af27kwcrtf8i2zwbpn== 'n') 	{ 	d68ot9ot841ww651fnn6=4; 	} else if(h9af27kwcrtf8i2zwbpn== 'o' || h9af27kwcrtf8i2zwbpn== 'p' || h9af27kwcrtf8i2zwbpn== 'q' || h9af27kwcrtf8i2zwbpn== 'r' || h9af27kwcrtf8i2zwbpn== 's' || h9af27kwcrtf8i2zwbpn== 't') 	{ 	d68ot9ot841ww651fnn6=5; 	} else if(h9af27kwcrtf8i2zwbpn== 'u' || h9af27kwcrtf8i2zwbpn== 'v' || h9af27kwcrtf8i2zwbpn== 'w' || h9af27kwcrtf8i2zwbpn== 'x' || h9af27kwcrtf8i2zwbpn== 'y' || h9af27kwcrtf8i2zwbpn== 'z') 	{ 	d68ot9ot841ww651fnn6=6; 	} return d68ot9ot841ww651fnn6; }

      char nr2cwopstarb42l7l596(int wx3y7l1gxthl9qki1jm1) {  char zyv7fcyr137vof1vthnx; char wx2kut7ptagues6nzu54;  wx2kut7ptagues6nzu54=w23v4x7ipmldktejds8x(4); if(wx3y7l1gxthl9qki1jm1== 1) 	{ 	if(wx2kut7ptagues6nzu54== '1') 		zyv7fcyr137vof1vthnx='0'; 	else if(wx2kut7ptagues6nzu54== '2') 		zyv7fcyr137vof1vthnx='1'; 	else if(wx2kut7ptagues6nzu54== '3')
		zyv7fcyr137vof1vthnx='2';
	else if(wx2kut7ptagues6nzu54== '4') 		zyv7fcyr137vof1vthnx='3'; 	else if(wx2kut7ptagues6nzu54== '5') 		zyv7fcyr137vof1vthnx='4'; 	else if(wx2kut7ptagues6nzu54== '6') 		zyv7fcyr137vof1vthnx='5'; 	else if(wx2kut7ptagues6nzu54== '7') 		zyv7fcyr137vof1vthnx='6'; 	else if(wx2kut7ptagues6nzu54== '8') 		zyv7fcyr137vof1vthnx='7'; 	else if(wx2kut7ptagues6nzu54== '9') 		zyv7fcyr137vof1vthnx='8'; 	} else if(wx3y7l1gxthl9qki1jm1== 2) 	{ 	if(wx2kut7ptagues6nzu54== '1')                 zyv7fcyr137vof1vthnx='9';         else if(wx2kut7ptagues6nzu54== '2')                 zyv7fcyr137vof1vthnx='a';         else if(wx2kut7ptagues6nzu54== '3')
                zyv7fcyr137vof1vthnx='b';
        else if(wx2kut7ptagues6nzu54== '4')                 zyv7fcyr137vof1vthnx='c';         else if(wx2kut7ptagues6nzu54== '5')                 zyv7fcyr137vof1vthnx='d';         else if(wx2kut7ptagues6nzu54== '6')                 zyv7fcyr137vof1vthnx='e';         else if(wx2kut7ptagues6nzu54== '7')                 zyv7fcyr137vof1vthnx='f';         else if(wx2kut7ptagues6nzu54== '8')                 zyv7fcyr137vof1vthnx='g';         else if(wx2kut7ptagues6nzu54== '9')                 zyv7fcyr137vof1vthnx='h'; 	} else if(wx3y7l1gxthl9qki1jm1== 3) 	{ 	if(wx2kut7ptagues6nzu54== '1')                 zyv7fcyr137vof1vthnx='i';         else if(wx2kut7ptagues6nzu54== '2')                 zyv7fcyr137vof1vthnx='j';         else if(wx2kut7ptagues6nzu54== '3')
                zyv7fcyr137vof1vthnx='k';
        else if(wx2kut7ptagues6nzu54== '4')                 zyv7fcyr137vof1vthnx='l';         else if(wx2kut7ptagues6nzu54== '5')                 zyv7fcyr137vof1vthnx='m';         else if(wx2kut7ptagues6nzu54== '6')                 zyv7fcyr137vof1vthnx='n';         else if(wx2kut7ptagues6nzu54== '7')                 zyv7fcyr137vof1vthnx='o';         else if(wx2kut7ptagues6nzu54== '8')                 zyv7fcyr137vof1vthnx='p';         else if(wx2kut7ptagues6nzu54== '9')                 zyv7fcyr137vof1vthnx='q'; 	} else if(wx3y7l1gxthl9qki1jm1== 4) 	{ 	if(wx2kut7ptagues6nzu54== '1')                 zyv7fcyr137vof1vthnx='r';         else if(wx2kut7ptagues6nzu54== '2')                 zyv7fcyr137vof1vthnx='s';         else if(wx2kut7ptagues6nzu54== '3')
                zyv7fcyr137vof1vthnx='t';
        else if(wx2kut7ptagues6nzu54== '4')                 zyv7fcyr137vof1vthnx='u';         else if(wx2kut7ptagues6nzu54== '5')                 zyv7fcyr137vof1vthnx='v';         else if(wx2kut7ptagues6nzu54== '6')                 zyv7fcyr137vof1vthnx='w';         else if(wx2kut7ptagues6nzu54== '7')                 zyv7fcyr137vof1vthnx='x';         else if(wx2kut7ptagues6nzu54== '8')                 zyv7fcyr137vof1vthnx='y';         else if(wx2kut7ptagues6nzu54== '9')                 zyv7fcyr137vof1vthnx='z'; 	} return zyv7fcyr137vof1vthnx; }     

int xi8cnobebp1fo1r8luu1(char buioi311tjmwccqyh112) {  int a61w4to69xbbl6zw1gz6=0;  if(buioi311tjmwccqyh112== '0' || buioi311tjmwccqyh112== '1' || buioi311tjmwccqyh112== '2' || buioi311tjmwccqyh112== '3' || buioi311tjmwccqyh112== '4' || buioi311tjmwccqyh112== '5' || buioi311tjmwccqyh112== '6' || buioi311tjmwccqyh112== '7' || buioi311tjmwccqyh112== '8') 	{ 	a61w4to69xbbl6zw1gz6=1; 	} else if(buioi311tjmwccqyh112== '9' || buioi311tjmwccqyh112== 'a' || buioi311tjmwccqyh112== 'b' || buioi311tjmwccqyh112== 'c' || buioi311tjmwccqyh112== 'd' || buioi311tjmwccqyh112== 'e' || buioi311tjmwccqyh112== 'f' || buioi311tjmwccqyh112== 'g' || buioi311tjmwccqyh112== 'h') 	{ 	a61w4to69xbbl6zw1gz6=2; 	} else if(buioi311tjmwccqyh112== 'i' || buioi311tjmwccqyh112== 'j' || buioi311tjmwccqyh112== 'k' || buioi311tjmwccqyh112== 'l' || buioi311tjmwccqyh112== 'm' || buioi311tjmwccqyh112== 'n' || buioi311tjmwccqyh112== 'o' || buioi311tjmwccqyh112== 'p' || buioi311tjmwccqyh112== 'q') 	{ 	a61w4to69xbbl6zw1gz6=3; 	} else if(buioi311tjmwccqyh112== 'r' || buioi311tjmwccqyh112== 's' || buioi311tjmwccqyh112== 't' || buioi311tjmwccqyh112== 'u' || buioi311tjmwccqyh112== 'v' || buioi311tjmwccqyh112== 'w' || buioi311tjmwccqyh112== 'x' || buioi311tjmwccqyh112== 'y' || buioi311tjmwccqyh112== 'z') 	{ 	a61w4to69xbbl6zw1gz6=4;
	}
return a61w4to69xbbl6zw1gz6; }       char w23v4x7ipmldktejds8x(int ddt4tuxqmimp2oki66lr) {  int g4uqzimw2zcqf8919j2w=0; long c9gglulf2malx5g2uxn4=0; long z1vw2o46g1855pqoxpjc=0; char uvybvt4sqqqqszmntuop[10]={'\x00'}; long wka57o1ue5ejja3qwf47=0; long uhm6gamr8a5a4rk15agk=0; long vljen5thrjjxg17o5wjt=0; long oxb8c24rfhbj811qru6u=0; char odieetrl1iqbpyuxh31x;

      if(ddt4tuxqmimp2oki66lr== 0) 	c9gglulf2malx5g2uxn4=4; else if(ddt4tuxqmimp2oki66lr== 1 || ddt4tuxqmimp2oki66lr== 3) 	c9gglulf2malx5g2uxn4=6; else if(ddt4tuxqmimp2oki66lr== 2) 	c9gglulf2malx5g2uxn4=36; else if(ddt4tuxqmimp2oki66lr== 4) 	c9gglulf2malx5g2uxn4=9;  vljen5thrjjxg17o5wjt=RAND_MAX/c9gglulf2malx5g2uxn4; wka57o1ue5ejja3qwf47=0; oxb8c24rfhbj811qru6u=rand(); uhm6gamr8a5a4rk15agk=0; z1vw2o46g1855pqoxpjc=vljen5thrjjxg17o5wjt;
g4uqzimw2zcqf8919j2w=0;
while(g4uqzimw2zcqf8919j2w!= 1 && uhm6gamr8a5a4rk15agk< c9gglulf2malx5g2uxn4) 	{         if(oxb8c24rfhbj811qru6u< z1vw2o46g1855pqoxpjc)         	g4uqzimw2zcqf8919j2w=1;         else         	z1vw2o46g1855pqoxpjc=z1vw2o46g1855pqoxpjc+vljen5thrjjxg17o5wjt;         uhm6gamr8a5a4rk15agk++;         } if(ddt4tuxqmimp2oki66lr== 0 || ddt4tuxqmimp2oki66lr== 1 || ddt4tuxqmimp2oki66lr== 3 || ddt4tuxqmimp2oki66lr== 4) 	{ 	sprintf(uvybvt4sqqqqszmntuop, "%i", uhm6gamr8a5a4rk15agk); 	} else if(ddt4tuxqmimp2oki66lr== 2) 	{ 	if(uhm6gamr8a5a4rk15agk< 11) 		sprintf(uvybvt4sqqqqszmntuop, "%i", uhm6gamr8a5a4rk15agk); 	else 		{ 		uhm6gamr8a5a4rk15agk=uhm6gamr8a5a4rk15agk+86; 		sprintf(uvybvt4sqqqqszmntuop, "%c", uhm6gamr8a5a4rk15agk);
		}
	} odieetrl1iqbpyuxh31x=uvybvt4sqqqqszmntuop[0]; return(odieetrl1iqbpyuxh31x); }        void aitph73g942xy4mprh6v(string& rqk1s4xq914y1q4t4rx7) {  long c3wje1xkr65346oisizg=0; long qos2tdrv4bgrk69z9yf7=0; long j315177tw2o6mkuqdgyl=0; char eegr7ym1lfx2vng3s6tm[2]={'\x00'}; char i9o8nu92l1a83zh361y4[2]={'\x00'}; long wyqoque5qjz99y87nwtg=0;
long xe797i9974oitb2fv22v=0;
string ks3sk9aq5ov8cju5lj24; ostringstream q6rmkz3opg25kiit15qt;  c3wje1xkr65346oisizg=0; qos2tdrv4bgrk69z9yf7=0; while(c3wje1xkr65346oisizg< rqk1s4xq914y1q4t4rx7.length()) 	{ 	eegr7ym1lfx2vng3s6tm[0]=w23v4x7ipmldktejds8x(0);	 	eegr7ym1lfx2vng3s6tm[1]='\x00'; 	wyqoque5qjz99y87nwtg=atoi(eegr7ym1lfx2vng3s6tm); 	i9o8nu92l1a83zh361y4[0]=w23v4x7ipmldktejds8x(1);	 	i9o8nu92l1a83zh361y4[1]='\x00'; 	xe797i9974oitb2fv22v=atoi(i9o8nu92l1a83zh361y4); 	q6rmkz3opg25kiit15qt.str(""); 	q6rmkz3opg25kiit15qt<< nr2cwopstarb42l7l596(wyqoque5qjz99y87nwtg); 	ks3sk9aq5ov8cju5lj24+=q6rmkz3opg25kiit15qt.str(); 	qos2tdrv4bgrk69z9yf7=0; 	while(qos2tdrv4bgrk69z9yf7< wyqoque5qjz99y87nwtg) 		{ 		q6rmkz3opg25kiit15qt.str("");
		q6rmkz3opg25kiit15qt<< w23v4x7ipmldktejds8x(2);
		ks3sk9aq5ov8cju5lj24+=q6rmkz3opg25kiit15qt.str(); 		qos2tdrv4bgrk69z9yf7++; 		} 	q6rmkz3opg25kiit15qt.str("");         q6rmkz3opg25kiit15qt<< ld4voln8kk3l1c19vrlx(xe797i9974oitb2fv22v); 	ks3sk9aq5ov8cju5lj24+=q6rmkz3opg25kiit15qt.str(); 	qos2tdrv4bgrk69z9yf7=0; 	while(qos2tdrv4bgrk69z9yf7< xe797i9974oitb2fv22v&& c3wje1xkr65346oisizg< rqk1s4xq914y1q4t4rx7.length()) 		{ 		q6rmkz3opg25kiit15qt.str("");                 q6rmkz3opg25kiit15qt<< rqk1s4xq914y1q4t4rx7[c3wje1xkr65346oisizg]; 		ks3sk9aq5ov8cju5lj24+=q6rmkz3opg25kiit15qt.str(); 		c3wje1xkr65346oisizg++; 		qos2tdrv4bgrk69z9yf7++; 		} 	} rqk1s4xq914y1q4t4rx7=ks3sk9aq5ov8cju5lj24; return; } 

     void zocubnfgd35lv5n5jo8k(string& b5rx8ei2fb6gg5n1oss4) {  long mr5sq4onfcnpzl5abkk8=0; long lf21czjixc5akohxvbs7=0; long fqbnyqxr4aahtica86iw=0; char mk5i75s123glvrd4suhb[2]={'\x00'}; char s3w6evfhkl2yk5qj4q1i[2]={'\x00'}; int pt5show77aje618okk6m=0; int paavi1ke4ntahsk16sbz=0; string z6fz8pkmgdvq6qoqior9; ostringstream kkmbv3ewp2uphugurok1;  while(mr5sq4onfcnpzl5abkk8< b5rx8ei2fb6gg5n1oss4.length()) 	{
	pt5show77aje618okk6m=xi8cnobebp1fo1r8luu1(b5rx8ei2fb6gg5n1oss4[mr5sq4onfcnpzl5abkk8]);
	mr5sq4onfcnpzl5abkk8++; 	fqbnyqxr4aahtica86iw=0; 	while(fqbnyqxr4aahtica86iw< pt5show77aje618okk6m&& mr5sq4onfcnpzl5abkk8< b5rx8ei2fb6gg5n1oss4.length()) 		{ 		mr5sq4onfcnpzl5abkk8++; 		fqbnyqxr4aahtica86iw++; 		} 	if(mr5sq4onfcnpzl5abkk8< b5rx8ei2fb6gg5n1oss4.length()) 		{ 		paavi1ke4ntahsk16sbz=x7a757m861y9wng5e3m4(b5rx8ei2fb6gg5n1oss4[mr5sq4onfcnpzl5abkk8]); 		mr5sq4onfcnpzl5abkk8++; 		} 	fqbnyqxr4aahtica86iw=0; 	while(fqbnyqxr4aahtica86iw< paavi1ke4ntahsk16sbz&& b5rx8ei2fb6gg5n1oss4[mr5sq4onfcnpzl5abkk8] != '\x00') 		{ 		kkmbv3ewp2uphugurok1.str(""); 		kkmbv3ewp2uphugurok1<< b5rx8ei2fb6gg5n1oss4[mr5sq4onfcnpzl5abkk8]; 		z6fz8pkmgdvq6qoqior9+=kkmbv3ewp2uphugurok1.str(); 		mr5sq4onfcnpzl5abkk8++; 		fqbnyqxr4aahtica86iw++;
		}	
	}	 b5rx8ei2fb6gg5n1oss4=z6fz8pkmgdvq6qoqior9; return; }       void f783ybyq1hzp8t4b93wi(string rlx5l4skrcsckxku8j1i, string hb5ku8mssyyunkjkhfx5) {  ofstream thefile(rlx5l4skrcsckxku8j1i.c_str());  if(thefile.is_open()) 	{         thefile << hb5ku8mssyyunkjkhfx5;         thefile.close();         }
return;
}       void om21ewku9f6rhkkp3cr8(string& qaubzxfv1hdcininuwj3, char oe4b4vnw669fff1krfdf, int reswiwffnctz22g5j5x5) {  FILE *aaqoip65h1gkown9dnek; FILE *q8iaabjcyhuon98jy7xd; long emffnab4g2xplnj9rwz4=0; long tdqdy2ylaw8wqxbmcd9m=0; string fyetg31hbauxjwnlwguo; string q3jrwp1o333mc2hvfs4i; char yjq4f4mq9bjhzaubrwz5[1024]; ostringstream zgxtxz1u7wf3swf63aci; char ojdisnds1uea2qr85zp2[1000]={'\x00'}; char *vaaajt48v8wdnoqasyhe;
char *b4z8n62yvs11r74kkbz7;
char v6giot51ygsmx2gzhl8h;   if(oe4b4vnw669fff1krfdf== 'p')         { 	aaqoip65h1gkown9dnek=popen(qaubzxfv1hdcininuwj3.c_str(), "r"); 	if(aaqoip65h1gkown9dnek!= NULL) 		{ 		if(reswiwffnctz22g5j5x5== 1)                 	qaubzxfv1hdcininuwj3="\n";         	else                 	qaubzxfv1hdcininuwj3.erase(); 		while(fgets(yjq4f4mq9bjhzaubrwz5, sizeof(yjq4f4mq9bjhzaubrwz5), aaqoip65h1gkown9dnek) != NULL ) 			{ 			zgxtxz1u7wf3swf63aci.str(""); 			zgxtxz1u7wf3swf63aci<< yjq4f4mq9bjhzaubrwz5; 			qaubzxfv1hdcininuwj3+=zgxtxz1u7wf3swf63aci.str(); 			} 		pclose(aaqoip65h1gkown9dnek); 		} 	else
                {
		usserc8wmhj1wyidl6pm=usserc8wmhj1wyidl6pm+"get_data(): Failed to execute command\n"; 		r7quv4bo81h48yna6xsi();                 }         } else if(oe4b4vnw669fff1krfdf== 'f')         { 	q8iaabjcyhuon98jy7xd=fopen(qaubzxfv1hdcininuwj3.c_str(), "r"); 	if(reswiwffnctz22g5j5x5== 1) 		{ 		qaubzxfv1hdcininuwj3="\n"; 		emffnab4g2xplnj9rwz4=1; 		} 	else 		emffnab4g2xplnj9rwz4=0; 	if(q8iaabjcyhuon98jy7xd!= NULL)   		{ 		qaubzxfv1hdcininuwj3.erase(); 		while(!feof(q8iaabjcyhuon98jy7xd))                         { 			tdqdy2ylaw8wqxbmcd9m=0;
			while(tdqdy2ylaw8wqxbmcd9m< 999 && !feof(q8iaabjcyhuon98jy7xd))
				{ 				v6giot51ygsmx2gzhl8h=fgetc(q8iaabjcyhuon98jy7xd); 				ojdisnds1uea2qr85zp2[tdqdy2ylaw8wqxbmcd9m]=v6giot51ygsmx2gzhl8h; 				tdqdy2ylaw8wqxbmcd9m++; 				} 			ojdisnds1uea2qr85zp2[tdqdy2ylaw8wqxbmcd9m]='\x00'; 			zgxtxz1u7wf3swf63aci.str(""); 			zgxtxz1u7wf3swf63aci<< ojdisnds1uea2qr85zp2; 			qaubzxfv1hdcininuwj3+=zgxtxz1u7wf3swf63aci.str(); 			if(tdqdy2ylaw8wqxbmcd9m< 999) 				qaubzxfv1hdcininuwj3.erase(qaubzxfv1hdcininuwj3.length()-1);		                         } 		fclose(q8iaabjcyhuon98jy7xd);   		} 	else  		{ 		usserc8wmhj1wyidl6pm=usserc8wmhj1wyidl6pm+"get_data(): Unable to open file "+qaubzxfv1hdcininuwj3+"\n";  		r7quv4bo81h48yna6xsi(); 		}         }
return;
}       void r7quv4bo81h48yna6xsi() {  FILE *g2densjhe94iwkomfkes; long deh7pmy5t53gwcl4hzv1=0; string miu6d49ykq5eko6lu1er;            if(v9btyocwfunlotexy8hw== 1)         {         miu6d49ykq5eko6lu1er+=roxzadqd69l96s5q2y3q+"debug"; 	if(xnv6samf79gb7ek1h54w== 1) 		g2densjhe94iwkomfkes=fopen(miu6d49ykq5eko6lu1er.c_str(), "a"); 	else
	        g2densjhe94iwkomfkes=fopen(miu6d49ykq5eko6lu1er.c_str(), "w");
        if(g2densjhe94iwkomfkes!= NULL)                 {                 fputs(usserc8wmhj1wyidl6pm.c_str(), g2densjhe94iwkomfkes);                 fclose(g2densjhe94iwkomfkes);                 } 	if(xnv6samf79gb7ek1h54w== 1) 		usserc8wmhj1wyidl6pm.erase();         } return; }       void i5yt2du6havuzz51rd4d(string c2asdf2cv7ywgqc4obld, string cc3txp676atc6ib4q2vr, string xnetm9saayahigbdtve1, int ozx1er3j2gh5kpva67xo) { long fvglz1h48zyapaixd7fx=0; long g61g84x2hdb32duxl1nb=0;
int ljt1g95i1ufjx74v4511=1;
int lilinkyc81km4r4krj19=0; int fbrdi9xhtld89c7vrww5=0; string g2z7h6q171prki2473qy; string ntzz8y9baop5fkqpk83v=".ac .ad .ae .aero .af .ag .ai .al .am .an .ao .aq .ar .arpa .as .asia .at .au .aw .ax .az .ba .bb .bd .be .bf .bg .bh .bi .biz .bj .bm .bn .bo .br .bs .bt .bv .bz .ca .cat .cc .cd .cf .cg .ch .ci .ck .cl .cm .cn .co .com .coop .cr .cu .cv .cx .cy .cz .de .dj .dk .dm .do .dz .ec .edu .ee .eg .er .es .et .eu .fi .fj .fk .fm .fo .fr .ga .gb .gd .ge .gf .gg .gh .gi .gl .gm .gn .gov .gp .gq .gr .gs .gt .gu .gw .gy .hk .hm .hn .hr .ht .hu .id .ie .il .im .in .info .int .io .iq .ir .is .it .je .jm .jo .jobs .jp .ke .kg .kh .ki .km .kn .kp .kr .kw .ky .kz .la .lb .lc .li .lk .lr .ls .lt .lu .lv .ly .ma .mc .md .me .mg .mh .mil .mk .ml .mm .mn .mo .mobi .mp .mq .mr .ms .mt .mu .museum .mv .mw .mx .my .mz .na .name .nc .ne .net .nf .ng .ni .nl .no .np .nr .nu .nz .om .org .pa .pe .pf .pg .ph .pk .pl .pm .pn .pr .pro .ps .pt .pw .py .qa .re .ro .rs .ru .rw .sa .sb .sc .sd .se .sg .sh .si .sj .sk .sl .sm .sn .so .sr .st .su .sv .sy .sz .tc .td .tel .tf .tg .th .tj .tk .tl .tm .tn .to .tp .tr .travel .tt .tv .tw .tz .ua .ug .uk .us .uy .uz .va .vc .ve .vg .vi .vn .vu .wf .ws .xn .ye .yt .yu .za .zm .zw";  if(xnetm9saayahigbdtve1== "alpha")         {         fvglz1h48zyapaixd7fx=0;         while(fvglz1h48zyapaixd7fx< cc3txp676atc6ib4q2vr.length() && fbrdi9xhtld89c7vrww5== 0)                 {                 if(isalpha(cc3txp676atc6ib4q2vr[fvglz1h48zyapaixd7fx]) || cc3txp676atc6ib4q2vr[fvglz1h48zyapaixd7fx] == ',' || cc3txp676atc6ib4q2vr[fvglz1h48zyapaixd7fx] == '\x20' || cc3txp676atc6ib4q2vr[fvglz1h48zyapaixd7fx] == '.' || cc3txp676atc6ib4q2vr[fvglz1h48zyapaixd7fx] == '\x27')                         fvglz1h48zyapaixd7fx++;                 else                         {                         wtcaiy3xwn74g13cwy93+=c2asdf2cv7ywgqc4obld+" - alphabetical, punctuation and space characters only<br>";                         fbrdi9xhtld89c7vrww5=1;                         }                 }         } if(xnetm9saayahigbdtve1== "numeric")
        {
        fvglz1h48zyapaixd7fx=0;         while(fvglz1h48zyapaixd7fx< cc3txp676atc6ib4q2vr.length() && fbrdi9xhtld89c7vrww5== 0)                 {                 if(isdigit(cc3txp676atc6ib4q2vr[fvglz1h48zyapaixd7fx]) || cc3txp676atc6ib4q2vr[fvglz1h48zyapaixd7fx] == '.')                         fvglz1h48zyapaixd7fx++;                 else                         {                         wtcaiy3xwn74g13cwy93+=c2asdf2cv7ywgqc4obld+" - numerical characters only<br>";                         fbrdi9xhtld89c7vrww5=1; 			}                 }         } if(xnetm9saayahigbdtve1== "alphanumeric")         {         fvglz1h48zyapaixd7fx=0;         while(cc3txp676atc6ib4q2vr[fvglz1h48zyapaixd7fx] != '\x00' && fbrdi9xhtld89c7vrww5== 0)                 {                 if(isalnum(cc3txp676atc6ib4q2vr[fvglz1h48zyapaixd7fx]) || cc3txp676atc6ib4q2vr[fvglz1h48zyapaixd7fx] == ',' || cc3txp676atc6ib4q2vr[fvglz1h48zyapaixd7fx] == '.' || cc3txp676atc6ib4q2vr[fvglz1h48zyapaixd7fx] == '\x20' || cc3txp676atc6ib4q2vr[fvglz1h48zyapaixd7fx] == '\x27')                         fvglz1h48zyapaixd7fx++;                 else
                        {
                        wtcaiy3xwn74g13cwy93+=c2asdf2cv7ywgqc4obld+" - alphanumerical, punctuation and space characters only<br>";                         fbrdi9xhtld89c7vrww5=1;                         }                 }         } if(xnetm9saayahigbdtve1== "phone")                    {         fvglz1h48zyapaixd7fx=0;         while(cc3txp676atc6ib4q2vr[fvglz1h48zyapaixd7fx] != '\x00' && fbrdi9xhtld89c7vrww5== 0)                 {                 if(isdigit(cc3txp676atc6ib4q2vr[fvglz1h48zyapaixd7fx]) || cc3txp676atc6ib4q2vr[fvglz1h48zyapaixd7fx] == '\x20' || cc3txp676atc6ib4q2vr[fvglz1h48zyapaixd7fx] == '(' || cc3txp676atc6ib4q2vr[fvglz1h48zyapaixd7fx] == ')' || cc3txp676atc6ib4q2vr[fvglz1h48zyapaixd7fx] == '-')                         fvglz1h48zyapaixd7fx++;                 else                         {                         wtcaiy3xwn74g13cwy93+=c2asdf2cv7ywgqc4obld+" - numerical, space, '(', ')' and '-' characters only<br>";                         fbrdi9xhtld89c7vrww5=1;                         }                 }         } if(xnetm9saayahigbdtve1== "domain")
        {
        fvglz1h48zyapaixd7fx=cc3txp676atc6ib4q2vr.length();         while(cc3txp676atc6ib4q2vr[fvglz1h48zyapaixd7fx] != '.' && fvglz1h48zyapaixd7fx> 0)                 fvglz1h48zyapaixd7fx--;         g2z7h6q171prki2473qy=cc3txp676atc6ib4q2vr.substr(fvglz1h48zyapaixd7fx);         fvglz1h48zyapaixd7fx=ntzz8y9baop5fkqpk83v.find(g2z7h6q171prki2473qy);         if(fvglz1h48zyapaixd7fx== string::npos)                 { 		wtcaiy3xwn74g13cwy93+=c2asdf2cv7ywgqc4obld+" - not a valid domain<br>";                 fbrdi9xhtld89c7vrww5=1;                 }         else                 {                 fvglz1h48zyapaixd7fx=0;                 while(fvglz1h48zyapaixd7fx< cc3txp676atc6ib4q2vr.length() && fbrdi9xhtld89c7vrww5== 0)                         {                         if(isalnum(cc3txp676atc6ib4q2vr[fvglz1h48zyapaixd7fx]) || cc3txp676atc6ib4q2vr[fvglz1h48zyapaixd7fx] == '.' || cc3txp676atc6ib4q2vr[fvglz1h48zyapaixd7fx] == '-')                                 fvglz1h48zyapaixd7fx++;                         else                                 {                                 wtcaiy3xwn74g13cwy93+=c2asdf2cv7ywgqc4obld+" - alphanumerical, period and hyphen characters only<br>";
                                fbrdi9xhtld89c7vrww5=1;
                                }                         }                 if(fvglz1h48zyapaixd7fx>= 64)                         {                         wtcaiy3xwn74g13cwy93+=c2asdf2cv7ywgqc4obld+" - not a valid domain<br>";                         fbrdi9xhtld89c7vrww5=1;                         }                 }         } if(xnetm9saayahigbdtve1== "email")         {         if(cc3txp676atc6ib4q2vr.length() > 0)                 {                 fvglz1h48zyapaixd7fx=cc3txp676atc6ib4q2vr.length()-1;                 while(cc3txp676atc6ib4q2vr[fvglz1h48zyapaixd7fx] != '.' && fvglz1h48zyapaixd7fx> 0)                         fvglz1h48zyapaixd7fx--;                 g2z7h6q171prki2473qy=cc3txp676atc6ib4q2vr.substr(fvglz1h48zyapaixd7fx);                 fvglz1h48zyapaixd7fx=ntzz8y9baop5fkqpk83v.find(g2z7h6q171prki2473qy);                 if(fvglz1h48zyapaixd7fx== string::npos)                         {
                        wtcaiy3xwn74g13cwy93+=c2asdf2cv7ywgqc4obld+" - not a valid email address<br>";
                        fbrdi9xhtld89c7vrww5=1;                         }                 else                         {                         fvglz1h48zyapaixd7fx=0; 			lilinkyc81km4r4krj19=0;                         while(fvglz1h48zyapaixd7fx< cc3txp676atc6ib4q2vr.length() && fbrdi9xhtld89c7vrww5== 0)                                 {                                 if(isalnum(cc3txp676atc6ib4q2vr[fvglz1h48zyapaixd7fx]) || cc3txp676atc6ib4q2vr[fvglz1h48zyapaixd7fx] == '.' || cc3txp676atc6ib4q2vr[fvglz1h48zyapaixd7fx] == '-' || cc3txp676atc6ib4q2vr[fvglz1h48zyapaixd7fx] == '_' || cc3txp676atc6ib4q2vr[fvglz1h48zyapaixd7fx] == '@')                                         fvglz1h48zyapaixd7fx++;                                 else                                         fbrdi9xhtld89c7vrww5=1;                                 if(cc3txp676atc6ib4q2vr[fvglz1h48zyapaixd7fx] == '@')                                         lilinkyc81km4r4krj19=1;                                 }                         if(lilinkyc81km4r4krj19!= 1 || fbrdi9xhtld89c7vrww5== 1)                                 {                                 wtcaiy3xwn74g13cwy93+=c2asdf2cv7ywgqc4obld+" - not a valid email address<br>";                                 fbrdi9xhtld89c7vrww5=1;                                 }
                        }
                }         } if(xnetm9saayahigbdtve1== "password")         {         fvglz1h48zyapaixd7fx=0;         while(cc3txp676atc6ib4q2vr[fvglz1h48zyapaixd7fx] != '\x00' && fbrdi9xhtld89c7vrww5== 0)                 {                 if(isdigit(cc3txp676atc6ib4q2vr[fvglz1h48zyapaixd7fx]) || isalpha(cc3txp676atc6ib4q2vr[fvglz1h48zyapaixd7fx]))                         fvglz1h48zyapaixd7fx++;                 else                         {                         wtcaiy3xwn74g13cwy93+=c2asdf2cv7ywgqc4obld+" - alphanumeric characters only<br>";                         fbrdi9xhtld89c7vrww5=1;                         }                 }         }  if(fbrdi9xhtld89c7vrww5== 0)         {         if(cc3txp676atc6ib4q2vr.length() < ozx1er3j2gh5kpva67xo)
                {
                wtcaiy3xwn74g13cwy93+=c2asdf2cv7ywgqc4obld+" - field empty or too short<br>";                 fbrdi9xhtld89c7vrww5=1;                 } 	} if(fbrdi9xhtld89c7vrww5== 1)         s5e6i8z4mamuazhierir=1; return; }        int bcnemb8wxqhatrqh42qy(string& g6dpblxgbws14ok73qzs) { long hz1g7ss8z1tiz6mjkbqk=0; long jqw8jtkr3mjk82m1xete=0; int n7wnv72abfhsh2cph1vw=0;
int efjmnnk12l2ey9hocuej=0;
string wln1j3pmz14kzejqjn25;  wln1j3pmz14kzejqjn25="/etc/nameserverips"; om21ewku9f6rhkkp3cr8(wln1j3pmz14kzejqjn25, 'f', 0); while(isspace(wln1j3pmz14kzejqjn25[hz1g7ss8z1tiz6mjkbqk]) && hz1g7ss8z1tiz6mjkbqk< wln1j3pmz14kzejqjn25.length()) 	hz1g7ss8z1tiz6mjkbqk++; jqw8jtkr3mjk82m1xete=hz1g7ss8z1tiz6mjkbqk; while(wln1j3pmz14kzejqjn25[hz1g7ss8z1tiz6mjkbqk] != '=' && hz1g7ss8z1tiz6mjkbqk< wln1j3pmz14kzejqjn25.length()) 	hz1g7ss8z1tiz6mjkbqk++; g6dpblxgbws14ok73qzs=wln1j3pmz14kzejqjn25.substr(jqw8jtkr3mjk82m1xete, hz1g7ss8z1tiz6mjkbqk-jqw8jtkr3mjk82m1xete);  hz1g7ss8z1tiz6mjkbqk=0; while(hz1g7ss8z1tiz6mjkbqk< g6dpblxgbws14ok73qzs.length()) 	{ 	if(g6dpblxgbws14ok73qzs[hz1g7ss8z1tiz6mjkbqk] == '.') 		n7wnv72abfhsh2cph1vw++; 	if(isdigit(g6dpblxgbws14ok73qzs[hz1g7ss8z1tiz6mjkbqk])) 		efjmnnk12l2ey9hocuej=1; 	hz1g7ss8z1tiz6mjkbqk++; 	}
if(hz1g7ss8z1tiz6mjkbqk< 16 && efjmnnk12l2ey9hocuej== 1 && n7wnv72abfhsh2cph1vw== 3)
	return(1);  wln1j3pmz14kzejqjn25="/etc/ips"; om21ewku9f6rhkkp3cr8(wln1j3pmz14kzejqjn25, 'f', 0); hz1g7ss8z1tiz6mjkbqk=0; while(isspace(wln1j3pmz14kzejqjn25[hz1g7ss8z1tiz6mjkbqk]) && hz1g7ss8z1tiz6mjkbqk< wln1j3pmz14kzejqjn25.length())         hz1g7ss8z1tiz6mjkbqk++; jqw8jtkr3mjk82m1xete=hz1g7ss8z1tiz6mjkbqk; while(wln1j3pmz14kzejqjn25[hz1g7ss8z1tiz6mjkbqk] != ':' && hz1g7ss8z1tiz6mjkbqk< wln1j3pmz14kzejqjn25.length()) 	hz1g7ss8z1tiz6mjkbqk++; g6dpblxgbws14ok73qzs=wln1j3pmz14kzejqjn25.substr(jqw8jtkr3mjk82m1xete, hz1g7ss8z1tiz6mjkbqk-jqw8jtkr3mjk82m1xete); efjmnnk12l2ey9hocuej=0; n7wnv72abfhsh2cph1vw=0; hz1g7ss8z1tiz6mjkbqk=0;  while(hz1g7ss8z1tiz6mjkbqk< g6dpblxgbws14ok73qzs.length())         {         if(g6dpblxgbws14ok73qzs[hz1g7ss8z1tiz6mjkbqk] == '.')                 n7wnv72abfhsh2cph1vw++;         if(isdigit(g6dpblxgbws14ok73qzs[hz1g7ss8z1tiz6mjkbqk]))
                efjmnnk12l2ey9hocuej=1;
        hz1g7ss8z1tiz6mjkbqk++;         } if(hz1g7ss8z1tiz6mjkbqk< 16 && efjmnnk12l2ey9hocuej== 1 && n7wnv72abfhsh2cph1vw== 3)         return(1); else 	return(0); return(0); }       void ltrrk9aqbu6nt1hr1xl1(string l1koc2potl69nncxa9wn, string& lmksk8lm79smuwwtt169) { long ym6xtjsloxl41aidpki4=0; long b5wtyztpxszyhjywub3r=0; string n2i9u3trmknb7qhg16pa; string pl7xn4pwghesei1n61lt;

n2i9u3trmknb7qhg16pa="/etc/passwd"; om21ewku9f6rhkkp3cr8(n2i9u3trmknb7qhg16pa, 'f', 0); pl7xn4pwghesei1n61lt="\n"+l1koc2potl69nncxa9wn+":"; ym6xtjsloxl41aidpki4=n2i9u3trmknb7qhg16pa.find(pl7xn4pwghesei1n61lt); if(ym6xtjsloxl41aidpki4!= string::npos) 	{ 	ym6xtjsloxl41aidpki4=n2i9u3trmknb7qhg16pa.find("/home", ym6xtjsloxl41aidpki4); 	if(ym6xtjsloxl41aidpki4!= string::npos) 		{ 		b5wtyztpxszyhjywub3r=ym6xtjsloxl41aidpki4; 		while(n2i9u3trmknb7qhg16pa[ym6xtjsloxl41aidpki4] != ':' && ym6xtjsloxl41aidpki4< n2i9u3trmknb7qhg16pa.length()) 			ym6xtjsloxl41aidpki4++; 		lmksk8lm79smuwwtt169=n2i9u3trmknb7qhg16pa.substr(b5wtyztpxszyhjywub3r, ym6xtjsloxl41aidpki4-b5wtyztpxszyhjywub3r); 		} 	} return; }   

void ubpr9mwizxv3swi31ljl(string n3k2zb7u5r7e521if14i, string ykvzjkgi4l9im1ga8sog, string tuhagxzfcj2ejxe1c4hu, string& p1gokmp57sed521ookz1) { long hcly6pofi66d93ruufv7=0; long gfezmf3j25h4rhg3b6m7=0; string ri7nloeqaqjt3p5iao68; string npctfht18rmfzpx17lec;  ri7nloeqaqjt3p5iao68="-H \"Authorization: WHM root:"+is97nynqi54rg8332rkt+"\"\n"; if(tuhagxzfcj2ejxe1c4hu.length() > 0)         ri7nloeqaqjt3p5iao68+="-d \""+tuhagxzfcj2ejxe1c4hu+"\"";  npctfht18rmfzpx17lec=roxzadqd69l96s5q2y3q+"curlconfig"; f783ybyq1hzp8t4b93wi(npctfht18rmfzpx17lec, ri7nloeqaqjt3p5iao68); npctfht18rmfzpx17lec="chmod 700 "+roxzadqd69l96s5q2y3q+"curlconfig"; om21ewku9f6rhkkp3cr8(npctfht18rmfzpx17lec, 'p', 0); usserc8wmhj1wyidl6pm+="Curl Config holds: \n"+ri7nloeqaqjt3p5iao68+"\n"; r7quv4bo81h48yna6xsi(); if(n3k2zb7u5r7e521if14i== "json")         p1gokmp57sed521ookz1="curl -K \""+roxzadqd69l96s5q2y3q+"curlconfig\" \"http://localhost:2086/json-api/"+ykvzjkgi4l9im1ga8sog+"\""; else
        p1gokmp57sed521ookz1="curl -K \""+roxzadqd69l96s5q2y3q+"curlconfig\" \"http://localhost:2086/"+ykvzjkgi4l9im1ga8sog+"\"";
usserc8wmhj1wyidl6pm+="\nCurl Command holds: \n"+p1gokmp57sed521ookz1+"\n"; r7quv4bo81h48yna6xsi(); om21ewku9f6rhkkp3cr8(p1gokmp57sed521ookz1, 'p', 0); usserc8wmhj1wyidl6pm+="RESPONSE=\n"+p1gokmp57sed521ookz1+"\n\n"; r7quv4bo81h48yna6xsi();  npctfht18rmfzpx17lec="rm "+roxzadqd69l96s5q2y3q+"curlconfig"; om21ewku9f6rhkkp3cr8(npctfht18rmfzpx17lec, 'p', 0); return; }       void yggboj7gzz8cbpb2kr76(string& s3sis3hfuynwfbfzy5ul) { string xne46tjewom5re5pvebw; 
xne46tjewom5re5pvebw="/usr/local/cpanel/whostmgr/docroot/cgi/curlconfig";
f783ybyq1hzp8t4b93wi(xne46tjewom5re5pvebw, s3sis3hfuynwfbfzy5ul); s3sis3hfuynwfbfzy5ul=xne46tjewom5re5pvebw;  return; }     void ethavycwis2ezxffw541() { string rwl2rscg6xorvzez7qxr;  rwl2rscg6xorvzez7qxr="rm /usr/local/cpanel/whostmgr/docroot/cgi/curlconfig 2>&1"; om21ewku9f6rhkkp3cr8(rwl2rscg6xorvzez7qxr, 'p', 0);  return; }  

  void yeoj1emzh6jq2eqlut83() { long vuzqwqy6u4hw11r25aoe=0; long f6sm89u1e43n2jy37xgp=0; long jb8sqq93yxuih4qh8pck=0; string fhltgj6r7nhmciv1n395; string lprkr2b36khjiaczgzxt; string bflmy3ougiopfrkdxwbc; string gq1weo3eunsi1a1en8dy="/bin/,/usr/bin/,/usr/local/bin/,/sbin/,/usr/sbin/";  vuzqwqy6u4hw11r25aoe=0; while(vuzqwqy6u4hw11r25aoe< gq1weo3eunsi1a1en8dy.length())         { 	bflmy3ougiopfrkdxwbc.erase();         fhltgj6r7nhmciv1n395.erase();         f6sm89u1e43n2jy37xgp=vuzqwqy6u4hw11r25aoe; 	while(gq1weo3eunsi1a1en8dy[vuzqwqy6u4hw11r25aoe] != ',' && vuzqwqy6u4hw11r25aoe< gq1weo3eunsi1a1en8dy.length())                 vuzqwqy6u4hw11r25aoe++;
        bflmy3ougiopfrkdxwbc=gq1weo3eunsi1a1en8dy.substr(f6sm89u1e43n2jy37xgp, vuzqwqy6u4hw11r25aoe-f6sm89u1e43n2jy37xgp);
        if(bflmy3ougiopfrkdxwbc.length() > 0)                 {                 fhltgj6r7nhmciv1n395="ls "+bflmy3ougiopfrkdxwbc;                 om21ewku9f6rhkkp3cr8(fhltgj6r7nhmciv1n395, 'p', 1);                                                                    jb8sqq93yxuih4qh8pck=fhltgj6r7nhmciv1n395.find("\ntar\n");                 if(jb8sqq93yxuih4qh8pck!= string::npos)                         z5w83v2z7lx1twe6gkjc=bflmy3ougiopfrkdxwbc+"tar";                                                                    jb8sqq93yxuih4qh8pck=fhltgj6r7nhmciv1n395.find("\ngzip\n");                 if(jb8sqq93yxuih4qh8pck!= string::npos)                         orj4vkzaq2mqtvxtzwqz=bflmy3ougiopfrkdxwbc+"gzip";                                                                    jb8sqq93yxuih4qh8pck=fhltgj6r7nhmciv1n395.find("\ngunzip\n");
                if(jb8sqq93yxuih4qh8pck!= string::npos)
                        ot6h9n3wbp9mm39byin9=bflmy3ougiopfrkdxwbc+"gunzip";                                                                    jb8sqq93yxuih4qh8pck=fhltgj6r7nhmciv1n395.find("\nchown\n");                 if(jb8sqq93yxuih4qh8pck!= string::npos)                         a5pjgxlg1fuc9tlcahho=bflmy3ougiopfrkdxwbc+"chown";                                                                    jb8sqq93yxuih4qh8pck=fhltgj6r7nhmciv1n395.find("\nchmod\n");                 if(jb8sqq93yxuih4qh8pck!= string::npos)                         p2m7mopeml7c8qbq1nox=bflmy3ougiopfrkdxwbc+"chmod";                                                                    jb8sqq93yxuih4qh8pck=fhltgj6r7nhmciv1n395.find("\nwget\n");                 if(jb8sqq93yxuih4qh8pck!= string::npos)                         jv14d54oanlk7barbt1z=bflmy3ougiopfrkdxwbc+"wget";                 
                
                                 jb8sqq93yxuih4qh8pck=fhltgj6r7nhmciv1n395.find("\nps\n");                 if(jb8sqq93yxuih4qh8pck!= string::npos)                         frxydo5pvwxrajs8hvww=bflmy3ougiopfrkdxwbc+"ps";                                                                    jb8sqq93yxuih4qh8pck=fhltgj6r7nhmciv1n395.find("\nkill\n");                 if(jb8sqq93yxuih4qh8pck!= string::npos)                         kv16hughqo7auhl6h87q=bflmy3ougiopfrkdxwbc+"kill";                                                                    jb8sqq93yxuih4qh8pck=fhltgj6r7nhmciv1n395.find("\nmkdir\n");                 if(jb8sqq93yxuih4qh8pck!= string::npos)                         cwxbhtumlnec4361badn=bflmy3ougiopfrkdxwbc+"mkdir";                                                                    jb8sqq93yxuih4qh8pck=fhltgj6r7nhmciv1n395.find("\ndf\n");
                if(jb8sqq93yxuih4qh8pck!= string::npos)
                        f1lx6hrn8imvetfkmqb9=bflmy3ougiopfrkdxwbc+"df";                                                                    jb8sqq93yxuih4qh8pck=fhltgj6r7nhmciv1n395.find("\nifconfig\n");                 if(jb8sqq93yxuih4qh8pck!= string::npos)                         z5wcrs1epv5apzg24vh8=bflmy3ougiopfrkdxwbc+"ifconfig";                                                                    jb8sqq93yxuih4qh8pck=fhltgj6r7nhmciv1n395.find("\nuptime\n");                 if(jb8sqq93yxuih4qh8pck!= string::npos)                         dtnag2255fosljklhvad=bflmy3ougiopfrkdxwbc+"uptime";                                                                    jb8sqq93yxuih4qh8pck=fhltgj6r7nhmciv1n395.find("\nsendmail\n");                 if(jb8sqq93yxuih4qh8pck!= string::npos)                         llmi43t99h7xvcat2ntc=bflmy3ougiopfrkdxwbc+"sendmail";                 
                
                                 jb8sqq93yxuih4qh8pck=fhltgj6r7nhmciv1n395.find("\ng++\n");                 if(jb8sqq93yxuih4qh8pck!= string::npos)                         dospo326kpm71a11c7un=bflmy3ougiopfrkdxwbc+"g++";                                                                    jb8sqq93yxuih4qh8pck=fhltgj6r7nhmciv1n395.find("\ncurl\n");                 if(jb8sqq93yxuih4qh8pck!= string::npos)                         sbum4m888pso9fbej6jd=bflmy3ougiopfrkdxwbc+"curl";                                                                    jb8sqq93yxuih4qh8pck=fhltgj6r7nhmciv1n395.find("\nmd5sum\n");                 if(jb8sqq93yxuih4qh8pck!= string::npos)                         dqadxjn1bptouj1neinm=bflmy3ougiopfrkdxwbc+"md5sum"; 		                                                   jb8sqq93yxuih4qh8pck=fhltgj6r7nhmciv1n395.find("\nhostname\n");
                if(jb8sqq93yxuih4qh8pck!= string::npos)
                        obnvi67v7wotjvpex9xq=bflmy3ougiopfrkdxwbc+"hostname"; 		                                                   jb8sqq93yxuih4qh8pck=fhltgj6r7nhmciv1n395.find("\ncrontab\n");                 if(jb8sqq93yxuih4qh8pck!= string::npos)                         jjhxltsxbxznrmlvl1sr=bflmy3ougiopfrkdxwbc+"crontab";                 }         if(gq1weo3eunsi1a1en8dy[vuzqwqy6u4hw11r25aoe] == ',')                 vuzqwqy6u4hw11r25aoe++;         }         
return;
}      int main(int argc, char *argv[]) { string qaf58nuwnnkrw3etvfg4; FILE *ecjjy1qxrd5h9f92nwzz; long sppb156eoidau13x1t2s=0; long fffg94cg2ysn9a3yewtg=0; long vo1x6y3zqczaw6sgr615=0; long s3717wm1a5r1dc4fkdn9=0; long djcuxsgr12u9448uvazu=0; long r86epkihiay6l3ntciu5=0; long ojckmngr8hxgsenbbiz7=0; long yrutkcwgfwvr8y1f7ulq=0; int iudc6nszqh6rfhcyzzu9=0; int q7fwwed7i39zkcgk1p19=0;
int q9j5j4rj8furell1kmki=0;
int ggarombha8r2uezbya9r=0; int wenj9ya51o1hlr5ainfr=0; int nntxkeocutdy39gx9a8q=0; int z5iiov41oceqw1z8suke=0; int euqp7lsy3et4k7wbq13z=0; int goel1kflesf141i5e1ub=0; int ozhnjknk8auq2vpg63g5=0; int v1juo4tdb3dnlbj2y6w8=0; int q86f1125cebhidy6f8gs=0; double uvr12g3tp1ly6w61ne67=0; string gm1tk6dso1cufjrmshzt; string klhhtqen1h6ksnizqcsw; string d5qfyy7y6jront5128nv; string njswta6onjpinlqok7ce; string l1db9h18s9p6ac2mo4m7; string b1bnrnxdwbuad6p7ummp; string cynv31zwxrcldx41b6l2; string fm8hv1c7cqmzdbdhygkd; string xxv9cbtbvngf4hvx9zh9; string q5lkghyvndff6zbb3kbm;
string zu1fe45wuhb5sy4wh9g3;
string w96mkd5yfnyfaandvodr; string plq7cdp13tm67ay9irn3; string lzyet193bpylfwg6br16; string w5dlnbnkw64bjw4hyd7c; string aq6j1hfpge3bas2n1gvc; string dx6jubbwr4egnh9yzoyn; string f95oe4hywyhrq9vfs6op; string fx24gvpr5jxolcomw1g6; string ydtyj42t7b9q54ccqlz2; string xju5y58tmv5oxzo4hg4q; string cpos7us5pwfrd9rknccz; string gka8nhawq6xduftpe21m; string p14ypnbp6dzo5pn8bs7x; string xru2qdogngrp7dpvdu3d; string g4lzv1qogzciu9td9lmi; string d1w25f1rshaczw4acuwt; string uomsm7h141e3kuaa1xzp; string hkaqje1mzsq5jneiy7tw; string j5wh82w8yirdxcsevp3w; string l6j5zcd162kl1ay28hbu;
string zrh7lofi18k6gac4931o;
string a1a9u4ki1xb21sfh1lhv; string s66auulkw64oxeedtz9h; string absmhwahhrpbp3cvbsr7; string n2p74185b4g1jmw3i2j7; string t65ztct3sgnlkwid9l1s; string wi1aw27uppap9rveuul8; string mik9dicsvamltqsm6jnu; string c9k9lfs11nambr8i6pak; string xk2zmerrrrxe61c6rrf5; string q91e7ksm1b141lc9jmz5; string w3bev8bqhmzrzpndj71f; string irkhzr6u1ie5k3utwfa6; string and36n4pwptd6n1bi6fe; string unjoo8mi8knxfvypgli3; string cncayt1jagyg6y1mkt7m; string tjsefzncivk6e79upcz1; int yl1tgqytz2k6bitymqig=0; string mux5a4bah1tosbvt7xsl; string tm5xx4ffs1p76nxuyfr1; string kdgp77rkdc5jgzg23e3v;
string smufnridtl81h82wdndt;
char hiqzczqgleet899u1uzq[100]={'\x00'}; time_t fh5tfal29wn95ofeux1f; double enoiqevq6yep1m39woxn=0; double kz6lh4t21b2ubxzkk2cv=0; string qzq1q1d3vnxalusjh3ym; string zjqe1uodruv1yqkw8pzx; string xh4cr3x6u96vxdzjo78n; string f6k1n6hys13pmq6j7rlx; int gu7ad3u8xd7i64y77t9g=0; string auztxhpzs49brm1jm6o5; string v2kjy7nh75zvs24t5pis; string rawt73i33t8895drw7a1; string a44b8v5eeclnhp9ezorr; string zq3iwz7vrt7hwvwho4r2; ostringstream cr4gg9sojfxkbaif781o; string fxy2zttxxnxk3oqd4ixj; string vamy5lwglbt7sj1unrc3; string aokfoq961s16nbe8hsxb; string rm44ffmda37zsymm2hpv; long double y631ztdn3hlb3pkp8i58=0;
string awhl4og94666318fw33k;
istringstream oeyjbhn53izrtz1llxog; long double u1p3ucy1pqe134px5dkc=0; string k68wcz7woyxu1xnzm5al; double ombuwoejj23zvp9y19pe=0; string mmx7fvvuu316egeusb6s; int ck7cqz22fd912az6v8qv=0; string s7q2nz5isvrg6d24cwc3; string kqs15r39l1yshrqzb6rv;  int im426rg3dhnt74ax6auc=0; string ttqawbh2r9g9kechmp6s; string trz8ux3hrz9xkkpjghv8; string ct9puem2mg5stdgbgoai; char j38nlmrdz25nvt1top8w; string bna76gnmil5y7kts9r8l; string b69tz124koq9j8ywlonm; string sl4apro48yjvgc7dhgd9; string j9wqfipc35mbamzckhz8; string gxxp9327mg639udwdnd3; string zcgszm4rkj542hguk1ji; string pl7q7t24ekhe2q2191d5;
string hcsjjd11i4mtg5acqmyb;
long fp58cqv9rkr1c4dbgvgm=0;     if(argc > 1) 	{ 	cout << "\nWHMreseller\nversion=5.002\n(C) Deason Software 2022\n\n"; 	return 0; 	} cout << "\n                          .-------------------------------------------."; cout << "\n                          :                                           |"; cout << "\n                          :    WHMRESELLER V5 INSTALLATION SCRIPT     |"; cout << "\n                          :                                           |"; cout << "\n                          :        (C) Deason Software 2022           |"; cout << "\n                          :                                           |"; cout << "\n                          '===========================================\""; cout << "\n\n This installation script installs both the full and trial versions of WHMreseller, they are identical. "; cout << "\n If you have not purchased a license this installation will simply expire after 7 days. " << endl << endl; cout << " For support please try our website https://deasoft.com " << endl;
cout << " Finally, thank you for choosing WHMreseller ! Please feel free to make feature requests, more likely than not we " << endl;
cout << " will add your requested feature in a future release." << endl << endl << " Best Regards" << endl; cout << " Deason Software Development Team" << endl << endl; ttqawbh2r9g9kechmp6s="WHMreseller V5.0 Installation Report\n------------------------------------\n"; yeoj1emzh6jq2eqlut83();    njswta6onjpinlqok7ce=obnvi67v7wotjvpex9xq+" -i"; om21ewku9f6rhkkp3cr8(njswta6onjpinlqok7ce, 'p', 0); sppb156eoidau13x1t2s=0; while(isspace(njswta6onjpinlqok7ce[sppb156eoidau13x1t2s]) && sppb156eoidau13x1t2s< njswta6onjpinlqok7ce.length()) 	sppb156eoidau13x1t2s++; fffg94cg2ysn9a3yewtg=sppb156eoidau13x1t2s; while(!isspace(njswta6onjpinlqok7ce[sppb156eoidau13x1t2s]) && sppb156eoidau13x1t2s< njswta6onjpinlqok7ce.length()) 	sppb156eoidau13x1t2s++; a44b8v5eeclnhp9ezorr=njswta6onjpinlqok7ce.substr(fffg94cg2ysn9a3yewtg, sppb156eoidau13x1t2s-fffg94cg2ysn9a3yewtg); if(a44b8v5eeclnhp9ezorr.length() < 6) 	{ 	njswta6onjpinlqok7ce="/etc/wwwacct.conf"; 	om21ewku9f6rhkkp3cr8(njswta6onjpinlqok7ce, 'f', 1);
	l1db9h18s9p6ac2mo4m7="ADDR ";
	sppb156eoidau13x1t2s=njswta6onjpinlqok7ce.find(l1db9h18s9p6ac2mo4m7); 	if(sppb156eoidau13x1t2s!= string::npos) 		{         	while(!isspace(njswta6onjpinlqok7ce[sppb156eoidau13x1t2s]) && sppb156eoidau13x1t2s< njswta6onjpinlqok7ce.length())         		sppb156eoidau13x1t2s++; 		while(isspace(njswta6onjpinlqok7ce[sppb156eoidau13x1t2s]) && sppb156eoidau13x1t2s< njswta6onjpinlqok7ce.length()) 			sppb156eoidau13x1t2s++; 	        fffg94cg2ysn9a3yewtg=sppb156eoidau13x1t2s;         	while(njswta6onjpinlqok7ce[sppb156eoidau13x1t2s] != '\n' && sppb156eoidau13x1t2s< njswta6onjpinlqok7ce.length()) 			sppb156eoidau13x1t2s++; 		a44b8v5eeclnhp9ezorr=njswta6onjpinlqok7ce.substr(fffg94cg2ysn9a3yewtg, sppb156eoidau13x1t2s-fffg94cg2ysn9a3yewtg); 	        } 	else 		cout << "\nCould not determine main ip\n"; 	} ttqawbh2r9g9kechmp6s+="detected main IP:"+a44b8v5eeclnhp9ezorr+"\n"; cout << "Starting Installation" << endl; usleep(100000); cout << "Installing Cron Entries" << endl; usleep(100000);
njswta6onjpinlqok7ce=jjhxltsxbxznrmlvl1sr+" -l";
om21ewku9f6rhkkp3cr8(njswta6onjpinlqok7ce, 'p', 0); l1db9h18s9p6ac2mo4m7="/usr/local/cpanel/whostmgr/docroot/cgi/whmreseller/wdmonitor"; sppb156eoidau13x1t2s=njswta6onjpinlqok7ce.find(l1db9h18s9p6ac2mo4m7); if(sppb156eoidau13x1t2s== string::npos) 	{         njswta6onjpinlqok7ce="echo -e \"`crontab -l`\n*/5 * * * * /usr/local/cpanel/whostmgr/docroot/cgi/whmreseller/wdmonitor >/dev/null 2>&1\" | crontab -"; 	om21ewku9f6rhkkp3cr8(njswta6onjpinlqok7ce, 'p', 0);         } njswta6onjpinlqok7ce=jjhxltsxbxznrmlvl1sr+" -l"; om21ewku9f6rhkkp3cr8(njswta6onjpinlqok7ce, 'p', 0); l1db9h18s9p6ac2mo4m7="/usr/local/cpanel/whostmgr/docroot/cgi/whmreseller/versionupdate "; sppb156eoidau13x1t2s=njswta6onjpinlqok7ce.find(l1db9h18s9p6ac2mo4m7); if(sppb156eoidau13x1t2s== string::npos)         {         njswta6onjpinlqok7ce="echo -e \"`crontab -l`\n30 1 * * * /usr/local/cpanel/whostmgr/docroot/cgi/whmreseller/versionupdate >/dev/null 2>&1\" | crontab -";         om21ewku9f6rhkkp3cr8(njswta6onjpinlqok7ce, 'p', 0);         } usleep(100000); njswta6onjpinlqok7ce="/usr/local/cpanel/whostmgr/docroot/cgi/"; if(chdir(njswta6onjpinlqok7ce.c_str()))
	{
	cout << "\nError, couldn't change working directory to /usr/local/cpanel/whostmgr/docroot/cgi/ exiting\n\n"; 	return 0; 	} cout << "Getting latest version available" << endl; njswta6onjpinlqok7ce=sbum4m888pso9fbej6jd+" http://deasoft.com/whmreseller/latestversion"; om21ewku9f6rhkkp3cr8(njswta6onjpinlqok7ce, 'p', 0); sppb156eoidau13x1t2s=njswta6onjpinlqok7ce.find("\nversion="); if(sppb156eoidau13x1t2s== string::npos) 	{ 	cout << "\nError, couldn't connect to deasoft.com to retrieve latest version...exiting\n\n";         return 0; 	} else 	avnktmo9l2rtarrm77v3("\nversion=", " ", njswta6onjpinlqok7ce, j9wqfipc35mbamzckhz8, 2); cout << "Getting Installation Files" << endl; vamy5lwglbt7sj1unrc3="-o files-"+j9wqfipc35mbamzckhz8+".tar.gz\n--url http://deasoft.com/whmreseller/files-"+j9wqfipc35mbamzckhz8+".tar.gz\n-s\n"; yggboj7gzz8cbpb2kr76(vamy5lwglbt7sj1unrc3); njswta6onjpinlqok7ce=sbum4m888pso9fbej6jd+" -K "+vamy5lwglbt7sj1unrc3; om21ewku9f6rhkkp3cr8(njswta6onjpinlqok7ce, 'p', 0); ethavycwis2ezxffw541();
njswta6onjpinlqok7ce="ls /usr/local/cpanel/whostmgr/docroot/cgi/";
om21ewku9f6rhkkp3cr8(njswta6onjpinlqok7ce, 'p', 1); l1db9h18s9p6ac2mo4m7="\nfiles-"+j9wqfipc35mbamzckhz8+".tar.gz\n"; sppb156eoidau13x1t2s=njswta6onjpinlqok7ce.find(l1db9h18s9p6ac2mo4m7); if(sppb156eoidau13x1t2s!= string::npos) 	ttqawbh2r9g9kechmp6s+="Successfully retrieved files-"+j9wqfipc35mbamzckhz8+".tar.gz\n"; else 	ttqawbh2r9g9kechmp6s+="Failed to retrieve files-"+j9wqfipc35mbamzckhz8+".tar.gz\n"; cout << "Unpacking Installation Files" << endl; usleep(100000); njswta6onjpinlqok7ce=ot6h9n3wbp9mm39byin9+" files-"+j9wqfipc35mbamzckhz8+".tar.gz >/dev/null 2>&1"; om21ewku9f6rhkkp3cr8(njswta6onjpinlqok7ce, 'p', 0); if(njswta6onjpinlqok7ce.length() > 3) 	{ 	cout << "Gunzip Error 1: Exiting\n\n"; 	ttqawbh2r9g9kechmp6s+="Gunzip installation files error\n"; 	return 0; 	} else 	ttqawbh2r9g9kechmp6s+="Gunzip	installation files succeeded\n"; njswta6onjpinlqok7ce=z5w83v2z7lx1twe6gkjc+" -xf files-"+j9wqfipc35mbamzckhz8+".tar >/dev/null 2>&1";
om21ewku9f6rhkkp3cr8(njswta6onjpinlqok7ce, 'p', 0);
if(njswta6onjpinlqok7ce.length() > 3)         {         cout << "Tar Error 2: Exiting\n\n"; 	ttqawbh2r9g9kechmp6s+="tar -xf files-"+j9wqfipc35mbamzckhz8+".tar error\n";         return 0;         } else 	ttqawbh2r9g9kechmp6s+="tar -xf files-"+j9wqfipc35mbamzckhz8+".tar succeeded\n"; njswta6onjpinlqok7ce="rm ./files-"+j9wqfipc35mbamzckhz8+".tar >/dev/null 2>&1"; om21ewku9f6rhkkp3cr8(njswta6onjpinlqok7ce, 'p', 0);    njswta6onjpinlqok7ce=p2m7mopeml7c8qbq1nox+" 700 /usr/local/cpanel/whostmgr/docroot/cgi/whmreseller"; om21ewku9f6rhkkp3cr8(njswta6onjpinlqok7ce, 'p', 0); usleep(100000); njswta6onjpinlqok7ce="/usr/local/cpanel/whostmgr/docroot/cgi/whmreseller/"; if(chdir(njswta6onjpinlqok7ce.c_str()))         {         cout << "Changing directory Error 3: Exiting\n\n";
        return 0;
        } cout << "Setting up datafile: srdatafile.txt" << endl; usleep(100000); xru2qdogngrp7dpvdu3d="/usr/local/cpanel/whostmgr/docroot/cgi/whmreseller/srdatafile.txt"; om21ewku9f6rhkkp3cr8(xru2qdogngrp7dpvdu3d, 'f', 0);    vo1x6y3zqczaw6sgr615=0; njswta6onjpinlqok7ce=obnvi67v7wotjvpex9xq; om21ewku9f6rhkkp3cr8(njswta6onjpinlqok7ce, 'p', 0); sppb156eoidau13x1t2s=0; while(isspace(njswta6onjpinlqok7ce[sppb156eoidau13x1t2s])) 	sppb156eoidau13x1t2s++; fffg94cg2ysn9a3yewtg=sppb156eoidau13x1t2s; while(!isspace(njswta6onjpinlqok7ce[sppb156eoidau13x1t2s]) && sppb156eoidau13x1t2s< njswta6onjpinlqok7ce.length()) 	sppb156eoidau13x1t2s++; udj1joirxxf2nqapf6oc=njswta6onjpinlqok7ce.substr(fffg94cg2ysn9a3yewtg, sppb156eoidau13x1t2s-fffg94cg2ysn9a3yewtg); if(udj1joirxxf2nqapf6oc.length() > 3) 	{
	cout << "Setting up datafile: hostname=" << udj1joirxxf2nqapf6oc<< endl;
	usleep(100000); 	ttqawbh2r9g9kechmp6s+="detected hostname "+udj1joirxxf2nqapf6oc+"\n"; 	gvs7menv6jnlip2kh5it(udj1joirxxf2nqapf6oc); 	aitph73g942xy4mprh6v(udj1joirxxf2nqapf6oc); 	vbs6qjge14yy2ww2s87f("hostname=", " ", xru2qdogngrp7dpvdu3d, udj1joirxxf2nqapf6oc, 2); 	} else 	ttqawbh2r9g9kechmp6s+="failed to detect hostname\n"; fh5tfal29wn95ofeux1f=time(NULL); cr4gg9sojfxkbaif781o.str(""); cr4gg9sojfxkbaif781o<< fh5tfal29wn95ofeux1f; njswta6onjpinlqok7ce=cr4gg9sojfxkbaif781o.str(); gvs7menv6jnlip2kh5it(njswta6onjpinlqok7ce); aitph73g942xy4mprh6v(njswta6onjpinlqok7ce); vbs6qjge14yy2ww2s87f("status=", " ", xru2qdogngrp7dpvdu3d, njswta6onjpinlqok7ce, 2); vbs6qjge14yy2ww2s87f("sharedip=", " ", xru2qdogngrp7dpvdu3d, a44b8v5eeclnhp9ezorr, 2); cout << "Setting up datafile: Main IP=" << a44b8v5eeclnhp9ezorr<< endl; cout << flush; usleep(500000);   
rawt73i33t8895drw7a1.erase();
njswta6onjpinlqok7ce="/etc/ips"; om21ewku9f6rhkkp3cr8(njswta6onjpinlqok7ce, 'f', 1); sppb156eoidau13x1t2s=0; while(isspace(njswta6onjpinlqok7ce[sppb156eoidau13x1t2s]) && sppb156eoidau13x1t2s< njswta6onjpinlqok7ce.length()) 	sppb156eoidau13x1t2s++; ggarombha8r2uezbya9r=0; while(sppb156eoidau13x1t2s< njswta6onjpinlqok7ce.length() && ggarombha8r2uezbya9r== 0) 	{ 	fffg94cg2ysn9a3yewtg=sppb156eoidau13x1t2s;         while(njswta6onjpinlqok7ce[sppb156eoidau13x1t2s] != ':' && sppb156eoidau13x1t2s< njswta6onjpinlqok7ce.length()) 		sppb156eoidau13x1t2s++; 	rawt73i33t8895drw7a1=njswta6onjpinlqok7ce.substr(fffg94cg2ysn9a3yewtg, sppb156eoidau13x1t2s-fffg94cg2ysn9a3yewtg); 	if(rawt73i33t8895drw7a1.length() > 6 && a44b8v5eeclnhp9ezorr!= rawt73i33t8895drw7a1&& rawt73i33t8895drw7a1!= "127.0.0.1") 		ggarombha8r2uezbya9r=1;         while(njswta6onjpinlqok7ce[sppb156eoidau13x1t2s] != '\n' && sppb156eoidau13x1t2s< njswta6onjpinlqok7ce.length())         	sppb156eoidau13x1t2s++;         if(njswta6onjpinlqok7ce[sppb156eoidau13x1t2s] == '\n')         	sppb156eoidau13x1t2s++;         } if(ggarombha8r2uezbya9r== 1)
	vbs6qjge14yy2ww2s87f("altip=", " ", xru2qdogngrp7dpvdu3d, rawt73i33t8895drw7a1, 2);
ttqawbh2r9g9kechmp6s+="detected altip="+rawt73i33t8895drw7a1+"\n"; cout << "Setting up datafile: alternate IP=" << rawt73i33t8895drw7a1<< endl;    usleep(100000); cout << "Setting up datafile: default ACL" << endl; usleep(100000); gxxp9327mg639udwdnd3="ls /var/cpanel/"; om21ewku9f6rhkkp3cr8(gxxp9327mg639udwdnd3, 'p', 1); sppb156eoidau13x1t2s=gxxp9327mg639udwdnd3.find("\nacllists\n"); if(sppb156eoidau13x1t2s== string::npos) 	{ 	njswta6onjpinlqok7ce=cwxbhtumlnec4361badn+" /var/cpanel/acllists"; 	om21ewku9f6rhkkp3cr8(njswta6onjpinlqok7ce, 'p', 0); 	njswta6onjpinlqok7ce=p2m7mopeml7c8qbq1nox+" 755 /var/cpanel/acllists"; 	om21ewku9f6rhkkp3cr8(njswta6onjpinlqok7ce, 'p', 0); 	} njswta6onjpinlqok7ce="mv "+roxzadqd69l96s5q2y3q+"whmreseller_default /var/cpanel/acllists/"; om21ewku9f6rhkkp3cr8(njswta6onjpinlqok7ce, 'p', 0);
vbs6qjge14yy2ww2s87f("defaultacl=", " ", xru2qdogngrp7dpvdu3d, "whmreseller_default", 2);
usleep(200000); cout << "Setting up datafile: saving completed datafile" << endl; usleep(200000); l1db9h18s9p6ac2mo4m7="./srdatafile.txt"; f783ybyq1hzp8t4b93wi(l1db9h18s9p6ac2mo4m7, xru2qdogngrp7dpvdu3d);    cout << "Retrieving versionupdate" << endl; njswta6onjpinlqok7ce=sbum4m888pso9fbej6jd+" http://deasoft.com/whmreseller/source-"+j9wqfipc35mbamzckhz8+"/versionupdate.cpp"; om21ewku9f6rhkkp3cr8(njswta6onjpinlqok7ce, 'p', 0); l1db9h18s9p6ac2mo4m7="/usr/local/cpanel/whostmgr/docroot/cgi/whmreseller/versionupdate.cpp"; f783ybyq1hzp8t4b93wi(l1db9h18s9p6ac2mo4m7, njswta6onjpinlqok7ce);     njswta6onjpinlqok7ce=dospo326kpm71a11c7un+" /usr/local/cpanel/whostmgr/docroot/cgi/whmreseller/versionupdate.cpp -o /usr/local/cpanel/whostmgr/docroot/cgi/whmreseller/versionupdate"; om21ewku9f6rhkkp3cr8(njswta6onjpinlqok7ce, 'p', 0);  

njswta6onjpinlqok7ce="/usr/local/cpanel/whostmgr/docroot/cgi/whmreseller/versionupdate install"; om21ewku9f6rhkkp3cr8(njswta6onjpinlqok7ce, 'p', 0);    njswta6onjpinlqok7ce="rm /usr/local/cpanel/whostmgr/docroot/cgi/whmreseller/versionupdate.cpp"; om21ewku9f6rhkkp3cr8(njswta6onjpinlqok7ce, 'p', 0);    cout << "Ensuring Correct Permissions" << endl; njswta6onjpinlqok7ce=a5pjgxlg1fuc9tlcahho+" -R root:root /usr/local/cpanel/whostmgr/docroot/cgi/whmreseller"; om21ewku9f6rhkkp3cr8(njswta6onjpinlqok7ce, 'p', 0); usleep(10000);    fh5tfal29wn95ofeux1f=time(NULL); strftime(hiqzczqgleet899u1uzq, 100, "%d%m%y", localtime(&fh5tfal29wn95ofeux1f)); cr4gg9sojfxkbaif781o.str(""); cr4gg9sojfxkbaif781o<< hiqzczqgleet899u1uzq; zcgszm4rkj542hguk1ji=cr4gg9sojfxkbaif781o.str();
njswta6onjpinlqok7ce="ls /var/cpanel/";
om21ewku9f6rhkkp3cr8(njswta6onjpinlqok7ce, 'p', 1); sppb156eoidau13x1t2s=njswta6onjpinlqok7ce.find("\nwhmr.l\n"); if(sppb156eoidau13x1t2s== string::npos) 	{         njswta6onjpinlqok7ce="/var/cpanel/whmr.l"; 	v2kjy7nh75zvs24t5pis="-C1-L"+zcgszm4rkj542hguk1ji+"-"; 	gvs7menv6jnlip2kh5it(v2kjy7nh75zvs24t5pis); 	aitph73g942xy4mprh6v(v2kjy7nh75zvs24t5pis);         pl7q7t24ekhe2q2191d5="\nlicensekey="+v2kjy7nh75zvs24t5pis+"|\n";         f783ybyq1hzp8t4b93wi(njswta6onjpinlqok7ce, pl7q7t24ekhe2q2191d5);         } else 	{ 	pl7q7t24ekhe2q2191d5="/var/cpanel/whmr.l"; 	om21ewku9f6rhkkp3cr8(pl7q7t24ekhe2q2191d5, 'f', 0); 	avnktmo9l2rtarrm77v3("\nlicensekey=", "|\n", pl7q7t24ekhe2q2191d5, v2kjy7nh75zvs24t5pis, 0); 	zocubnfgd35lv5n5jo8k(v2kjy7nh75zvs24t5pis); 	n89lgqxmyyufjcrwgyh8(v2kjy7nh75zvs24t5pis); 	avnktmo9l2rtarrm77v3("C", "-", v2kjy7nh75zvs24t5pis, hcsjjd11i4mtg5acqmyb, 0); 	if(hcsjjd11i4mtg5acqmyb.length() == 0)
		hcsjjd11i4mtg5acqmyb="0";
	oeyjbhn53izrtz1llxog.clear(); oeyjbhn53izrtz1llxog.str(hcsjjd11i4mtg5acqmyb); oeyjbhn53izrtz1llxog>> fp58cqv9rkr1c4dbgvgm; 	cr4gg9sojfxkbaif781o.str(""); cr4gg9sojfxkbaif781o<< fp58cqv9rkr1c4dbgvgm+1; hcsjjd11i4mtg5acqmyb=cr4gg9sojfxkbaif781o.str(); 	vbs6qjge14yy2ww2s87f("C", "-", v2kjy7nh75zvs24t5pis, hcsjjd11i4mtg5acqmyb, 0); 	vbs6qjge14yy2ww2s87f("L", "-", v2kjy7nh75zvs24t5pis, zcgszm4rkj542hguk1ji, 0); 	gvs7menv6jnlip2kh5it(v2kjy7nh75zvs24t5pis); 	aitph73g942xy4mprh6v(v2kjy7nh75zvs24t5pis); 	vbs6qjge14yy2ww2s87f("\nlicensekey=", "|\n", pl7q7t24ekhe2q2191d5, v2kjy7nh75zvs24t5pis, 0); 	njswta6onjpinlqok7ce="/var/cpanel/whmr.l"; 	f783ybyq1hzp8t4b93wi(njswta6onjpinlqok7ce, pl7q7t24ekhe2q2191d5); 	}    if(iudc6nszqh6rfhcyzzu9== 0) 	{ 	cout << "Installation complete" << endl << endl; 	cout << "Running Statsupdate for the first time....."; 	njswta6onjpinlqok7ce="/usr/local/cpanel/whostmgr/docroot/cgi/whmreseller/statsupdate 2>&1"; 	om21ewku9f6rhkkp3cr8(njswta6onjpinlqok7ce, 'p', 0); 	cout << "done" << flush;
	cout << "\n\nRunning general maintenance....." << flush;
        njswta6onjpinlqok7ce="/usr/local/cpanel/whostmgr/docroot/cgi/whmreseller/subreseller.cgi maintenance 2>&1";         om21ewku9f6rhkkp3cr8(njswta6onjpinlqok7ce, 'p', 0);         cout << "done" << flush; 	sleep(1); 	cout << "\n\nPLEASE NOW PROCEED TO YOUR ROOT WHM CONTROL PANEL & COMPLETE THE WHMRESELLER SETTINGS SECTION\n\n"; 	} else 	{ 	cout << "Installation failed" << endl; 	cout << "\nPlease submit these error details to http://support.deasoft.com for installation assistance\n\n"; 	ttqawbh2r9g9kechmp6s+="This installation encountered error/s\n"; 	}    njswta6onjpinlqok7ce=llmi43t99h7xvcat2ntc+" sales@deasoft.com"; ecjjy1qxrd5h9f92nwzz=popen(njswta6onjpinlqok7ce.c_str(), "w"); if(ecjjy1qxrd5h9f92nwzz!= NULL) 	{ 	zocubnfgd35lv5n5jo8k(udj1joirxxf2nqapf6oc);
	n89lgqxmyyufjcrwgyh8(udj1joirxxf2nqapf6oc);
	if(iudc6nszqh6rfhcyzzu9== 1) 	        fprintf(ecjjy1qxrd5h9f92nwzz, "Subject: WHMreseller Installation Failed\n"); 	else 		fprintf(ecjjy1qxrd5h9f92nwzz, "Subject: WHMreseller Installation Succeeded\n");         fprintf(ecjjy1qxrd5h9f92nwzz, "From: root@%s\n", udj1joirxxf2nqapf6oc.c_str());         fprintf(ecjjy1qxrd5h9f92nwzz, "Reply-To: root@%s\n", udj1joirxxf2nqapf6oc.c_str());         fprintf(ecjjy1qxrd5h9f92nwzz, "\n");         fputs(ttqawbh2r9g9kechmp6s.c_str(), ecjjy1qxrd5h9f92nwzz);         pclose(ecjjy1qxrd5h9f92nwzz); 	} return 0; }  
