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
backup.php
<?php // Page name $pagename ="System Backup"; // Include Files include ('./config/config.php'); include ('head.php'); include ('../functions.php'); echo "<h3>Save Backup File</h3> <a href='backup.zip'>backup.zip</a> <p />"; $cmd = shell_exec('sudo zip -r backup.zip /var/www/html'); echo "<div class='catout'>$cmd</div>"; // Footer include ('foot.php'); ?>