!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: nginx/1.24.0. PHP/7.3.32 

uname -a: Linux ip-172-31-28-255.ec2.internal 6.1.159-181.297.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC
Mon Dec 22 22:31:59 UTC 2025 x86_64
 

 

Safe-mode: OFF (not secure)

/www/wwwroot/itce.co.in/admin/certificate/   drwxr-xr-x
Free 30.76 GB of 49.93 GB (61.62%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     webacappella_tools.js (9.11 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
//hack
//waJSQuery est utilisé par WA pa la place de jQuery pour eviter tout conflit avec des scripts externe
//webacappella_tools.js est utilisé en meme temps par les sites WA et pour l'admin
try
{
	if (waJSQuery==undefined)
	{
		waJSQuery = jQuery
	}	
}
catch(e)
{
	waJSQuery = jQuery
}


// add support for Object.keys for old browser
if ( !Object.keys ) {
    Object.keys = function( obj ) {
        var keys = [], k;
        for ( k in obj ) {
            if ( Object.prototype.hasOwnProperty.call( obj, k ) ) {
                keys.push( k );
            }
        }
		
        return keys;
    };
}

if ( !String.prototype.format ) {
	String.prototype.format = function() {
		var _formatted = this;
		
		for ( var _i = 0; _i < arguments.length; _i++ ) {
			var _regexp = new RegExp( '\\{'+ _i+'\\}', 'gi' );
			_formatted = _formatted.replace( _regexp, arguments[ _i ] );
		}
		
		return _formatted;
	};
}

if ( !String.prototype.startsWith ) {
	String.prototype.startsWith = function( str ) {
		return this.slice( 0, str.length ) == str;
	};
}

if ( !String.prototype.endsWith ) {
	String.prototype.endsWith = function( str ) {
		return this.slice( -str.length ) == str;
	};
}

function _objectKeysCount( _object ) {
	return _object == undefined ? 0 : Object.keys( _object ).length;
}

function _toJSON( _data, _silent ) {
	var _result = new Object();
	
	if ( _silent == undefined ) {
		_silent = true;
	}
	
	_result.success = false;
	_result.error = 'Unknown error';
	
	if ( _data.indexOf( '<?php' ) > -1 ) {
		if ( _silent != true ) {
			_result.error = Translator.tr( 'Error:No php on server' );
			WA_Dialog.alert( _result.error );
		}
		
		return _result;
	}
	
	try {

		///
        _result.json = waJSQuery.parseJSON( _data );
		_result.success = _result.json.success;
		_result.error = _result.json.error;
	}
	catch( e ) {
		_result.success = false;
		_result.error = e.message;
    }
	
	if ( _result.json == null ) {
		if ( _silent != true ) {
			_result.error = Translator.tr( 'Error:Malformed response !' );
			WA_Dialog.alert( _result.error );
		}
	}
	else {
		if ( _result.success != true ) {
			if ( _silent != true ) {
				WA_Dialog.alert( _result.error_message );
			}
		}
	}
	
	return _result;
}

function _HTMLEntities( _text ) {
	//_text = _text.replace(/"/g,'&quot;'); // 34 22
	_text = _text.replace(/&/g,'&amp;'); // 38 26
	_text = _text.replace(/\'/g,'&#39;'); // 39 27
	_text = _text.replace(/</g,'&lt;'); // 60 3C
	_text = _text.replace(/>/g,'&gt;'); // 62 3E
	_text = _text.replace(/\^/g,'&circ;'); // 94 5E
	_text = _text.replace(/‘/g,'&lsquo;'); // 145 91
	_text = _text.replace(/’/g,'&rsquo;'); // 146 92
	_text = _text.replace(/“/g,'&ldquo;'); // 147 93
	_text = _text.replace(/”/g,'&rdquo;'); // 148 94
	_text = _text.replace(/•/g,'&bull;'); // 149 95
	_text = _text.replace(/–/g,'&ndash;'); // 150 96
	_text = _text.replace(/—/g,'&mdash;'); // 151 97
	_text = _text.replace(/˜/g,'&tilde;'); // 152 98
	_text = _text.replace(/™/g,'&trade;'); // 153 99
	_text = _text.replace(/š/g,'&scaron;'); // 154 9A
	_text = _text.replace(/›/g,'&rsaquo;'); // 155 9B
	_text = _text.replace(/œ/g,'&oelig;'); // 156 9C
	_text = _text.replace(//g,'&#357;'); // 157 9D
	_text = _text.replace(/ž/g,'&#382;'); // 158 9E
	_text = _text.replace(/Ÿ/g,'&Yuml;'); // 159 9F
	// _text = _text.replace(/ /g,'&nbsp;'); // 160 A0
	_text = _text.replace(/¡/g,'&iexcl;'); // 161 A1
	_text = _text.replace(/¢/g,'&cent;'); // 162 A2
	_text = _text.replace(/£/g,'&pound;'); // 163 A3
	//_text = _text.replace(/ /g,'&curren;'); // 164 A4
	_text = _text.replace(/¥/g,'&yen;'); // 165 A5
	_text = _text.replace(/¦/g,'&brvbar;'); // 166 A6
	_text = _text.replace(/§/g,'&sect;'); // 167 A7
	_text = _text.replace(/¨/g,'&uml;'); // 168 A8
	_text = _text.replace(/©/g,'&copy;'); // 169 A9
	_text = _text.replace(/ª/g,'&ordf;'); // 170 AA
	_text = _text.replace(/«/g,'&laquo;'); // 171 AB
	_text = _text.replace(/¬/g,'&not;'); // 172 AC
	_text = _text.replace(/­/g,'&shy;'); // 173 AD
	_text = _text.replace(/®/g,'&reg;'); // 174 AE
	_text = _text.replace(/¯/g,'&macr;'); // 175 AF
	_text = _text.replace(/°/g,'&deg;'); // 176 B0
	_text = _text.replace(/±/g,'&plusmn;'); // 177 B1
	_text = _text.replace(/²/g,'&sup2;'); // 178 B2
	_text = _text.replace(/³/g,'&sup3;'); // 179 B3
	_text = _text.replace(/´/g,'&acute;'); // 180 B4
	_text = _text.replace(/µ/g,'&micro;'); // 181 B5
	_text = _text.replace(/¶/g,'&para'); // 182 B6
	_text = _text.replace(/·/g,'&middot;'); // 183 B7
	_text = _text.replace(/¸/g,'&cedil;'); // 184 B8
	_text = _text.replace(/¹/g,'&sup1;'); // 185 B9
	_text = _text.replace(/º/g,'&ordm;'); // 186 BA
	_text = _text.replace(/»/g,'&raquo;'); // 187 BB
	_text = _text.replace(/¼/g,'&frac14;'); // 188 BC
	_text = _text.replace(/½/g,'&frac12;'); // 189 BD
	_text = _text.replace(/¾/g,'&frac34;'); // 190 BE
	_text = _text.replace(/¿/g,'&iquest;'); // 191 BF
	_text = _text.replace(/À/g,'&Agrave;'); // 192 C0
	_text = _text.replace(/Á/g,'&Aacute;'); // 193 C1
	_text = _text.replace(/Â/g,'&Acirc;'); // 194 C2
	_text = _text.replace(/Ã/g,'&Atilde;'); // 195 C3
	_text = _text.replace(/Ä/g,'&Auml;'); // 196 C4
	_text = _text.replace(/Å/g,'&Aring;'); // 197 C5
	_text = _text.replace(/Æ/g,'&AElig;'); // 198 C6
	_text = _text.replace(/Ç/g,'&Ccedil;'); // 199 C7
	_text = _text.replace(/È/g,'&Egrave;'); // 200 C8
	_text = _text.replace(/É/g,'&Eacute;'); // 201 C9
	_text = _text.replace(/Ê/g,'&Ecirc;'); // 202 CA
	_text = _text.replace(/Ë/g,'&Euml;'); // 203 CB
	_text = _text.replace(/Ì/g,'&Igrave;'); // 204 CC
	_text = _text.replace(/Í/g,'&Iacute;'); // 205 CD
	_text = _text.replace(/Î/g,'&Icirc;'); // 206 CE
	_text = _text.replace(/Ï/g,'&Iuml;'); // 207 CF
	_text = _text.replace(/Ð/g,'&ETH;'); // 208 D0
	_text = _text.replace(/Ñ/g,'&Ntilde;'); // 209 D1
	_text = _text.replace(/Ò/g,'&Ograve;'); // 210 D2
	_text = _text.replace(/Ó/g,'&Oacute;'); // 211 D3
	_text = _text.replace(/Ô/g,'&Ocirc;'); // 212 D4
	_text = _text.replace(/Õ/g,'&Otilde;'); // 213 D5
	_text = _text.replace(/Ö/g,'&Ouml;'); // 214 D6
	_text = _text.replace(/×/g,'&times;'); // 215 D7
	_text = _text.replace(/Ø/g,'&Oslash;'); // 216 D8
	_text = _text.replace(/Ù/g,'&Ugrave;'); // 217 D9
	_text = _text.replace(/Ú/g,'&Uacute;'); // 218 DA
	_text = _text.replace(/Û/g,'&Ucirc;'); // 219 DB
	_text = _text.replace(/Ü/g,'&Uuml;'); // 220 DC
	_text = _text.replace(/Ý/g,'&Yacute;'); // 221 DD
	_text = _text.replace(/Þ/g,'&THORN;'); // 222 DE
	_text = _text.replace(/ß/g,'&szlig;'); // 223 DF
	_text = _text.replace(/à/g,'&aacute;'); // 224 E0
	_text = _text.replace(/á/g,'&aacute;'); // 225 E1
	_text = _text.replace(/â/g,'&acirc;'); // 226 E2
	_text = _text.replace(/ã/g,'&atilde;'); // 227 E3
	_text = _text.replace(/ä/g,'&auml;'); // 228 E4
	_text = _text.replace(/å/g,'&aring;'); // 229 E5
	_text = _text.replace(/æ/g,'&aelig;'); // 230 E6
	_text = _text.replace(/ç/g,'&ccedil;'); // 231 E7
	_text = _text.replace(/è/g,'&egrave;'); // 232 E8
	_text = _text.replace(/é/g,'&eacute;'); // 233 E9
	_text = _text.replace(/ê/g,'&ecirc;'); // 234 EA
	_text = _text.replace(/ë/g,'&euml;'); // 235 EB
	_text = _text.replace(/ì/g,'&igrave;'); // 236 EC
	_text = _text.replace(/í/g,'&iacute;'); // 237 ED
	_text = _text.replace(/î/g,'&icirc;'); // 238 EE
	_text = _text.replace(/ï/g,'&iuml;'); // 239 EF
	_text = _text.replace(/ð/g,'&eth;'); // 240 F0
	_text = _text.replace(/ñ/g,'&ntilde;'); // 241 F1
	_text = _text.replace(/ò/g,'&ograve;'); // 242 F2
	_text = _text.replace(/ó/g,'&oacute;'); // 243 F3
	_text = _text.replace(/ô/g,'&ocirc;'); // 244 F4
	_text = _text.replace(/õ/g,'&otilde;'); // 245 F5
	_text = _text.replace(/ö/g,'&ouml;'); // 246 F6
	_text = _text.replace(/÷/g,'&divide;'); // 247 F7
	_text = _text.replace(/ø/g,'&oslash;'); // 248 F8
	_text = _text.replace(/ù/g,'&ugrave;'); // 249 F9
	_text = _text.replace(/ú/g,'&uacute;'); // 250 FA
	_text = _text.replace(/û/g,'&ucirc;'); // 251 FB
	_text = _text.replace(/ü/g,'&uuml;'); // 252 FC
	_text = _text.replace(/ý/g,'&yacute;'); // 253 FD
	_text = _text.replace(/þ/g,'&thorn;'); // 254 FE
	_text = _text.replace(/ÿ/g,'&yuml;'); // 255 FF
	return _text;
}

// parseUri 1.2.2
// (c) Steven Levithan <stevenlevithan.com>
// MIT License

function _parseUri( _str ) {
	var	_o   = _parseUri.options,
		_m   = _o.parser[ _o.strictMode ? "strict" : "loose" ].exec( _str ),
		_uri = {},
		_i   = 14;

	while ( _i-- ) {
		_uri[ _o.key[ _i ] ] = _m[ _i ] || "";
	}

	_uri[ _o.q.name ] = {};
	_uri[ _o.key[ 12 ] ].replace( _o.q.parser, function( $0, $1, $2 ) {
		if ( $1 ) {
			_uri[ _o.q.name ][ $1 ] = $2;
		}
	} ) ;

	return _uri;
};

_parseUri.options = {
	strictMode: false,
	key: [ "source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor" ],
	q:   {
		name:   "queryKey",
		parser: /(?:^|&)([^&=]*)=?([^&]*)/g
	},
	parser: {
		strict: /^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,
		loose:  /^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/
	}
};

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0024 ]--