remove shellinabox (not working)

This commit is contained in:
Martijn Scheepers
2023-01-04 09:33:02 +01:00
parent 992c736a66
commit 854e0875c9
3 changed files with 56 additions and 23 deletions

56
help.php.save Normal file
View File

@@ -0,0 +1,56 @@
<?php include('partialpage/header.php');?>
<?php include('partialpage/sidebar.php');?>
<!-- !PAGE CONTENT! -->
<div class="w3-main" style="margin-left:340px;margin-right:40px">
<!-- Header -->
<div class="w3-container" style="margin-top:80px" id="showcase">
<h1 class="w3-jumbo"><b>H1502 Help</b></h1>
<br>
<div style="border:5px solid red; width:100px" class="w3-round"></div>
<br>
</div>
<!-- led -->
<div class="w3-container" id="leds" style="margin-top:25px">
<h1 class="w3-xxlarge w3-text-red"><b>Onboard leds</b></h1>
<p><b>Orange: </b>timer</p>
<p><b>Red: </b>heartbeat</p>
<p><b>Yellow: </b>HDD</p>
<p><b>Green: </b>CPU</p>
</div>
<!-- inputs -->
<div class="w3-container" id="inputs" style="margin-top:25px">
<h1 class="w3-xxlarge w3-text-red"><b>Inputs</b></h1>
<p><b>8 X digital inputs: </b>potial free contact</p>
<p><b>4 X analog input: </b>configurable 0-10volt / 4-20mA</p>
</div>
<!-- outputs -->
<div class="w3-container" id="outputs" style="margin-top:25px">
<h1 class="w3-xxlarge w3-text-red"><b>outputs</b></h1>
<p><b>4 X relay: </b>multicontact</p>
<p><b>4 X solidstate relay: </b>single contact</p>
</div>
<!-- update -->
<div class="w3-container" id="update" style="margin-top:25px">
<h1 class="w3-xxlarge w3-text-red"><b>update</b></h1>
<p><b>UP + reboot: </b>USB update</p>
<p><b>DOWN + reboot: </b>TFTP update</p>
<!-- outputs -->
<div class="w3-container" id="outputs" style="margin-top:25px">
<h1 class="w3-xxlarge w3-text-red"><b>outputs</b></h1>
<p><b>4 X relay: </b>multicontact</p>
<p><b>4 X solidstate relay: </b>single contact</p>
</div>
<p><b>4 X solidstate relay: </b>single contact</p>
</div>
<!-- End page content -->
</div>
<?php include('partialpage/footer.php');?>

View File

@@ -30,7 +30,6 @@
<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="shellinabox.php" onclick="w3_close()" class="w3-bar-item w3-button">Shell in a box</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>

View File

@@ -1,22 +0,0 @@
<?php include('partialpage/header.php');?>
<?php include('partialpage/sidebar.php');?>
<!-- !PAGE CONTENT! -->
<link rel="stylesheet" href="css/shell.css">
<div class="w3-main" style="margin-left:340px;margin-right:40px">
<!-- console -->
<div class="w3-container" id="console" style="margin-top:75px">
<h1 class="w3-jumbo"><b>Console</b></h1>
<br>
<div style="border:5px solid red; width:100px" class="w3-round"></div>
<br>
<p>Shell in a box</p>
<div class="w3-section">
<iframe id="shell" src="http://<?php echo $_SERVER['SERVER_ADDR'];?>:4200"></iframe>
</div>
</div>
<!-- End page content -->
</div>
<?php include('partialpage/footer.php');?>