mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-21 23:20:22 +00:00
Remove webconsole, fixes RCE via json-rpc. Thanks @lb0x
This commit is contained in:
parent
267f31785a
commit
dd5ab7bdc2
7 changed files with 0 additions and 980 deletions
|
@ -129,21 +129,6 @@ i.fa.fa-bars:hover{
|
|||
float: left;
|
||||
}
|
||||
|
||||
.webconsole {
|
||||
width:100%;
|
||||
height:100%;
|
||||
border:1px solid;
|
||||
}
|
||||
|
||||
#console {
|
||||
height:500px;
|
||||
}
|
||||
|
||||
.systemtabcontent {
|
||||
height:100%;
|
||||
min-height:500px;
|
||||
}
|
||||
|
||||
.service-status {
|
||||
border-width: 0;
|
||||
}
|
||||
|
|
|
@ -357,16 +357,6 @@ color: #d2d2d2 !important
|
|||
border-color: #404040;
|
||||
}
|
||||
|
||||
.webconsole {
|
||||
width: 100%;
|
||||
height: 20rem;
|
||||
border: 1px solid #404040;
|
||||
}
|
||||
|
||||
#console {
|
||||
height: 500px;
|
||||
}
|
||||
|
||||
tspan, rect {
|
||||
fill: #d2d2d2;
|
||||
}
|
||||
|
|
0
includes/adblock.php
Normal file → Executable file
0
includes/adblock.php
Normal file → Executable file
0
includes/internetRoute.php
Normal file → Executable file
0
includes/internetRoute.php
Normal file → Executable file
File diff suppressed because one or more lines are too long
|
@ -16,19 +16,13 @@
|
|||
<li role="presentation" class="nav-item"><a class="nav-link active" id="basictab" href="#basic" aria-controls="basic" role="tab" data-toggle="tab"><?php echo _("Basic"); ?></a></li>
|
||||
<li role="presentation" class="nav-item"><a class="nav-link" id="languagetab" href="#language" aria-controls="language" role="tab" data-toggle="tab"><?php echo _("Language"); ?></a></li>
|
||||
<li role="presentation" class="nav-item"><a class="nav-link" id="advancedtab" href="#advanced" aria-controls="advanced" role="tab" data-toggle="tab"><?php echo _("Advanced"); ?></a></li>
|
||||
<li role="presentation" class="nav-item"><a class="nav-link" id="consoletab" href="#console" aria-controls="console" role="tab" data-toggle="tab"><?php echo _("Console"); ?></a></li>
|
||||
</ul>
|
||||
|
||||
<div class="systemtabcontent tab-content">
|
||||
<!-- Tab panes -->
|
||||
<div class="tab-content">
|
||||
<?php echo renderTemplate("system/basic", $__template_data) ?>
|
||||
<?php echo renderTemplate("system/language", $__template_data) ?>
|
||||
<?php echo renderTemplate("system/advanced", $__template_data) ?>
|
||||
<?php echo renderTemplate("system/console", $__template_data) ?>
|
||||
</div><!-- /.tab-content -->
|
||||
</div><!-- /.systemtabcontent -->
|
||||
|
||||
</form>
|
||||
</div><!-- /.card-body -->
|
||||
<div class="card-footer"></div>
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
<!-- console tab -->
|
||||
<div role="tabpanel" class="tab-pane" id="console">
|
||||
<div class="row">
|
||||
<div class="col-lg-12 mt-3">
|
||||
<?php if (!RASPI_MONITOR_ENABLED) : ?>
|
||||
<iframe src="/includes/webconsole.php" class="webconsole"></iframe>
|
||||
<?php endif ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in a new issue