Git Codebase - Sn0wlink IT
FredMin/modules
[...] Up Directory
add-sys-user.php
authlog.php
backup.php
cmd-line.php
cron-editor.php
debuglog.php
edit-hostname.php
edit-ip.php
file-explorer.php
foot.php
head.php
kernallog.php
logs.php
offsite-backup.php
passwd-change.php
phpinfo.php
remove-user.php
restart-apache.php
restart-mysql.php
restart-server.php
restart-ssh.php
smart.php
software.php
update.php
file-explorer.php
<?php // Page name $pagename ="File Explorer"; // Include Files include ('./config/config.php'); include ('head.php'); include ('../functions.php'); echo " <p class='menu-header'>File Browser</p><br /> Type the folder path to view files <form name='form' method='post' action='file-explorer.php'> <input name='text_box' value='/'> <input type='submit' id='search-submit' value='Go' /> </form> "; $text_box = $_POST["text_box"]; if ($text_box != ""){ $filesearch = shell_exec("ls $text_box"); echo "<pre>$filesearch</pre>"; } // Footer include ('foot.php'); ?>