Added auth log page
This commit is contained in:
23
auth.php
Normal file
23
auth.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php include('partialpage/header.php');?>
|
||||
<?php include('partialpage/sidebar.php');?>
|
||||
|
||||
<!-- !PAGE CONTENT! -->
|
||||
<div class="w3-main" style="margin-left:340px;margin-right:40px">
|
||||
<!-- auth log output -->
|
||||
<div class="w3-container" id="auths" style="margin-top:75px">
|
||||
<h1 class="w3-jumbo"><b>Auth Log</b></h1>
|
||||
<br>
|
||||
<div style="border:5px solid red; width:100px" class="w3-round"></div>
|
||||
<br>
|
||||
<p>Auth log file(/var/log/auth.log).</p>
|
||||
<div class="w3-section">
|
||||
<textarea class="w3-input w3-border" type="text" name="auths" rows="50">
|
||||
<?php echo file_get_contents('/var/log/auth.log');?>
|
||||
</textarea>
|
||||
</div>
|
||||
</div>
|
||||
<!-- End page content -->
|
||||
</div>
|
||||
|
||||
<?php include('partialpage/footer.php');?>
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
<a href="time.php" onclick="w3_close()" class="w3-bar-item w3-button">Time/date</a>
|
||||
<a href="messages.php" onclick="w3_close()" class="w3-bar-item w3-button">Messages Log</a>
|
||||
<a href="dmesg.php" onclick="w3_close()" class="w3-bar-item w3-button">dmesg</a>
|
||||
<a href="auth.php" onclick="w3_close()" class="w3-bar-item w3-button">Auth Log</a>
|
||||
<a href="phpinfo.php" onclick="w3_close()" class="w3-bar-item w3-button">phpinfo</a>
|
||||
</div>
|
||||
<a href="help.php" onclick="w3_close()" class="w3-bar-item w3-button w3-hover-white">Help</a>
|
||||
|
||||
Reference in New Issue
Block a user