Code cleanup and fix possible injections when a trusted user is logged in thanks to mwdmeyer, constant_chaos, disclosure5 and rightwayround from /r/msp for pointing these issues out

This commit is contained in:
johnnyq
2021-12-12 13:16:26 -05:00
parent 82ead8a755
commit faf39fc84a
17 changed files with 33 additions and 40 deletions

View File

@@ -1,5 +1,4 @@
<?php include("header.php"); ?>
<?php $os = get_ip(); ?>
<!-- Breadcrumbs-->
<ol class="breadcrumb">
<li class="breadcrumb-item">
@@ -11,10 +10,4 @@
<!-- Page Content -->
<h1>Blank Page</h1>
<hr>
<p><?php echo get_user_agent(); ?></p>
<p><?php echo get_ip(); ?></p>
<p><?php echo get_os(); ?></p>
<p><?php echo get_web_browser(); ?></p>
<p><?php echo get_device(); ?></p>
<?php include("footer.php"); ?>
<?php include("footer.php"); ?>