!c99Shell v. 1.0 pre-release build #16!

Software: Apache/2.2.3 (CentOS). PHP/5.1.6 

uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44
EDT 2010 i686
 

uid=48(apache) gid=48(apache) groups=48(apache) 

Safe-mode: OFF (not secure)

/var/www/html/mis/ealumni/fckeditor/editor/_source/internals/   drwxr-xr-x
Free 50.91 GB of 127.8 GB (39.84%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     fckxhtmlentities.js (7.03 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
п»ї/*
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
 * Copyright (C) 2003-2007 Frederico Caldeira Knabben
 *
 * == BEGIN LICENSE ==
 *
 * Licensed under the terms of any of the following licenses at your
 * choice:
 *
 *  - GNU General Public License Version 2 or later (the "GPL")
 *    http://www.gnu.org/licenses/gpl.html
 *
 *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
 *    http://www.gnu.org/licenses/lgpl.html
 *
 *  - Mozilla Public License Version 1.1 or later (the "MPL")
 *    http://www.mozilla.org/MPL/MPL-1.1.html
 *
 * == END LICENSE ==
 *
 * This file define the HTML entities handled by the editor.
 */

var FCKXHtmlEntities = new Object() ;

FCKXHtmlEntities.Initialize = function()
{
	if ( FCKXHtmlEntities.Entities )
		return ;

	var sChars = '' ;
	var oEntities, e ;

	if ( FCKConfig.ProcessHTMLEntities )
	{
		FCKXHtmlEntities.Entities = {
			// Latin-1 Entities
			'В ':'nbsp',
			'ВЎ':'iexcl',
			'Вў':'cent',
			'ВЈ':'pound',
			'В¤':'curren',
			'ВҐ':'yen',
			'В¦':'brvbar',
			'В§':'sect',
			'ВЁ':'uml',
			'В©':'copy',
			'ВЄ':'ordf',
			'В«':'laquo',
			'В¬':'not',
			'В­':'shy',
			'В®':'reg',
			'ВЇ':'macr',
			'В°':'deg',
			'В±':'plusmn',
			'ВІ':'sup2',
			'Ві':'sup3',
			'Вґ':'acute',
			'Вµ':'micro',
			'В¶':'para',
			'В·':'middot',
			'Вё':'cedil',
			'В№':'sup1',
			'Вє':'ordm',
			'В»':'raquo',
			'Вј':'frac14',
			'ВЅ':'frac12',
			'Вѕ':'frac34',
			'Вї':'iquest',
			'Г—':'times',
			'Г·':'divide',

			// Symbols

			'Ж’':'fnof',
			'•':'bull',
			'…':'hellip',
			'′':'prime',
			'″':'Prime',
			'‾':'oline',
			'вЃ„':'frasl',
			'℘':'weierp',
			'в„‘':'image',
			'в„њ':'real',
			'в„ў':'trade',
			'в„µ':'alefsym',
			'в†ђ':'larr',
			'↑':'uarr',
			'в†’':'rarr',
			'↓':'darr',
			'↔':'harr',
			'↵':'crarr',
			'в‡ђ':'lArr',
			'⇑':'uArr',
			'в‡’':'rArr',
			'⇓':'dArr',
			'⇔':'hArr',
			'в€Ђ':'forall',
			'∂':'part',
			'в€ѓ':'exist',
			'в€…':'empty',
			'∇':'nabla',
			'в€€':'isin',
			'∉':'notin',
			'∋':'ni',
			'в€Џ':'prod',
			'∑':'sum',
			'в€’':'minus',
			'в€—':'lowast',
			'в€љ':'radic',
			'в€ќ':'prop',
			'в€ћ':'infin',
			'в€ ':'ang',
			'в€§':'and',
			'в€Ё':'or',
			'∩':'cap',
			'в€Є':'cup',
			'∫':'int',
			'∴':'there4',
			'в€ј':'sim',
			'в‰…':'cong',
			'≈':'asymp',
			'в‰ ':'ne',
			'в‰Ў':'equiv',
			'≤':'le',
			'≥':'ge',
			'вЉ‚':'sub',
			'вЉѓ':'sup',
			'вЉ„':'nsub',
			'вЉ†':'sube',
			'вЉ‡':'supe',
			'вЉ•':'oplus',
			'вЉ—':'otimes',
			'вЉҐ':'perp',
			'в‹…':'sdot',
			'\u2308':'lceil',
			'\u2309':'rceil',
			'\u230a':'lfloor',
			'\u230b':'rfloor',
			'\u2329':'lang',
			'\u232a':'rang',
			'в—Љ':'loz',
			'в™ ':'spades',
			'в™Ј':'clubs',
			'♥':'hearts',
			'♦':'diams',

			// Other Special Characters

			'"':'quot',
		//	'&':'amp',		// This entity is automatically handled by the XHTML parser.
		//	'<':'lt',		// This entity is automatically handled by the XHTML parser.
		//	'>':'gt',		// This entity is automatically handled by the XHTML parser.
			'Л†':'circ',
			'Лњ':'tilde',
			' ':'ensp',
			' ':'emsp',
			' ':'thinsp',
			'‌':'zwnj',
			'‍':'zwj',
			'‎':'lrm',
			'‏':'rlm',
			'–':'ndash',
			'—':'mdash',
			'‘':'lsquo',
			'’':'rsquo',
			'‚':'sbquo',
			'“':'ldquo',
			'”':'rdquo',
			'„':'bdquo',
			'†':'dagger',
			'‡':'Dagger',
			'‰':'permil',
			'‹':'lsaquo',
			'›':'rsaquo',
			'€':'euro'
		} ;

		// Process Base Entities.
		for ( e in FCKXHtmlEntities.Entities )
			sChars += e ;

		// Include Latin Letters Entities.
		if ( FCKConfig.IncludeLatinEntities )
		{
			oEntities = {
				'ГЂ':'Agrave',
				'ГЃ':'Aacute',
				'Г‚':'Acirc',
				'Гѓ':'Atilde',
				'Г„':'Auml',
				'Г…':'Aring',
				'Г†':'AElig',
				'Г‡':'Ccedil',
				'Г€':'Egrave',
				'Г‰':'Eacute',
				'ГЉ':'Ecirc',
				'Г‹':'Euml',
				'ГЊ':'Igrave',
				'ГЌ':'Iacute',
				'ГЋ':'Icirc',
				'ГЏ':'Iuml',
				'Гђ':'ETH',
				'Г‘':'Ntilde',
				'Г’':'Ograve',
				'Г“':'Oacute',
				'Г”':'Ocirc',
				'Г•':'Otilde',
				'Г–':'Ouml',
				'Ø':'Oslash',
				'Г™':'Ugrave',
				'Гљ':'Uacute',
				'Г›':'Ucirc',
				'Гњ':'Uuml',
				'Гќ':'Yacute',
				'Гћ':'THORN',
				'Гџ':'szlig',
				'Г ':'agrave',
				'ГЎ':'aacute',
				'Гў':'acirc',
				'ГЈ':'atilde',
				'Г¤':'auml',
				'ГҐ':'aring',
				'Г¦':'aelig',
				'Г§':'ccedil',
				'ГЁ':'egrave',
				'Г©':'eacute',
				'ГЄ':'ecirc',
				'Г«':'euml',
				'Г¬':'igrave',
				'Г­':'iacute',
				'Г®':'icirc',
				'ГЇ':'iuml',
				'Г°':'eth',
				'Г±':'ntilde',
				'ГІ':'ograve',
				'Гі':'oacute',
				'Гґ':'ocirc',
				'Гµ':'otilde',
				'Г¶':'ouml',
				'Гё':'oslash',
				'Г№':'ugrave',
				'Гє':'uacute',
				'Г»':'ucirc',
				'Гј':'uuml',
				'ГЅ':'yacute',
				'Гѕ':'thorn',
				'Гї':'yuml',
				'Е’':'OElig',
				'Е“':'oelig',
				'Е ':'Scaron',
				'ЕЎ':'scaron',
				'Её':'Yuml'
			} ;

			for ( e in oEntities )
			{
				FCKXHtmlEntities.Entities[ e ] = oEntities[ e ] ;
				sChars += e ;
			}

			oEntities = null ;
		}

		// Include Greek Letters Entities.
		if ( FCKConfig.IncludeGreekEntities )
		{
			oEntities = {
				'О‘':'Alpha',
				'О’':'Beta',
				'О“':'Gamma',
				'О”':'Delta',
				'О•':'Epsilon',
				'О–':'Zeta',
				'О—':'Eta',
				'Θ':'Theta',
				'О™':'Iota',
				'Ољ':'Kappa',
				'О›':'Lambda',
				'Оњ':'Mu',
				'Оќ':'Nu',
				'Оћ':'Xi',
				'Оџ':'Omicron',
				'О ':'Pi',
				'ОЎ':'Rho',
				'ОЈ':'Sigma',
				'О¤':'Tau',
				'ОҐ':'Upsilon',
				'О¦':'Phi',
				'О§':'Chi',
				'ОЁ':'Psi',
				'О©':'Omega',
				'О±':'alpha',
				'ОІ':'beta',
				'Оі':'gamma',
				'Оґ':'delta',
				'Оµ':'epsilon',
				'О¶':'zeta',
				'О·':'eta',
				'Оё':'theta',
				'О№':'iota',
				'Оє':'kappa',
				'О»':'lambda',
				'Ој':'mu',
				'ОЅ':'nu',
				'Оѕ':'xi',
				'Ої':'omicron',
				'ПЂ':'pi',
				'ПЃ':'rho',
				'П‚':'sigmaf',
				'Пѓ':'sigma',
				'П„':'tau',
				'П…':'upsilon',
				'П†':'phi',
				'П‡':'chi',
				'П€':'psi',
				'П‰':'omega',
				'\u03d1':'thetasym',
				'\u03d2':'upsih',
				'\u03d6':'piv'
			} ;

			for ( e in oEntities )
			{
				FCKXHtmlEntities.Entities[ e ] = oEntities[ e ] ;
				sChars += e ;
			}

			oEntities = null ;
		}
	}
	else
	{
		FCKXHtmlEntities.Entities = {} ;

		// Even if we are not processing the entities, we must render the &nbsp;
		// correctly. As we don't want HTML entities, let's use its numeric
		// representation (&#160).
		sChars = 'В ' ;
	}

	// Create the Regex used to find entities in the text.
	var sRegexPattern = '[' + sChars + ']' ;

	if ( FCKConfig.ProcessNumericEntities )
		sRegexPattern = '[^ -~]|' + sRegexPattern ;

	var sAdditional = FCKConfig.AdditionalNumericEntities ;

	if ( sAdditional && sAdditional.length > 0 )
		sRegexPattern += '|' + FCKConfig.AdditionalNumericEntities ;

	FCKXHtmlEntities.EntitiesRegex = new RegExp( sRegexPattern, 'g' ) ;
}

:: Command execute ::

Enter:
 
Select:
 

:: Shadow's tricks :D ::

Useful Commands
 
Warning. Kernel may be alerted using higher levels
Kernel Info:

:: Preddy's tricks :D ::

Php Safe-Mode Bypass (Read Files)

File:

eg: /etc/passwd

Php Safe-Mode Bypass (List Directories):

Dir:

eg: /etc/

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

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

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

--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0758 ]--