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 /
cravings /
storage /
framework /
views /
[ HOME SHELL ]
Name
Size
Permission
Action
.gitignore
14
B
-rwxrwxrwx
045b45694e36c2f9c38c41eaa3f0c9...
2.94
KB
-rwxrwxrwx
0c8be50d69974c7ce2c8bdde4f51c5...
666
B
-rwxrwxrwx
0ccfa08dfd3240a277e4e403eb2026...
17.3
KB
-rwxrwxrwx
0fdb8de4d42eeba18a70d45a3b94f8...
12.21
KB
-rwxrwxrwx
11761ab62c0aee7dee27208c13897a...
999
B
-rwxrwxrwx
142ce0ec5ead36b99b2e075781cde6...
2.13
KB
-rwxrwxrwx
19efc40934636c2fd55074f775c715...
2.98
KB
-rwxrwxrwx
226ae3dddf457a03a15fe3ddecd291...
1.35
KB
-rwxrwxrwx
23dfc8281ba8d625a917848de71703...
4.14
KB
-rwxrwxrwx
242a73d5e3ac86000f18fd6029bd73...
325
B
-rwxrwxrwx
244554719913789ba1b143c042b267...
183
B
-rwxrwxrwx
26301feee0637c013e84cd77b27945...
382
B
-rwxrwxrwx
2716eee3a8f208f730946c35c6ce74...
1008
B
-rwxrwxrwx
2c5d32775539b20b45340236902e02...
15.22
KB
-rwxrwxrwx
2cdc25603783a64a7013456b5bff2b...
4.92
KB
-rwxrwxrwx
2e4643d9e8298e7dee7deedf0c5747...
24.9
KB
-rwxrwxrwx
2f795dd2d726318b9b17c239376e17...
426
B
-rwxrwxrwx
310e410d208aef78f7f52a3e0ac572...
15.7
KB
-rwxrwxrwx
33dc99e621292835110ad831ac76b0...
26.1
KB
-rwxrwxrwx
366b92bde72f514541349b0a0fdcc0...
314
B
-rwxrwxrwx
36cafa986fd10b12e8679884f49162...
9.19
KB
-rwxrwxrwx
39b2886d7feae6a01e79d8f833d03f...
4.02
KB
-rwxrwxrwx
3aa6802a9c06008a8c3236fb88426b...
8.46
KB
-rwxrwxrwx
41b161e5b1da923072c428717253da...
7.06
KB
-rwxrwxrwx
4498efd6ad2624b53a80d1cf53500c...
3.29
KB
-rwxrwxrwx
4543fc3864e59077625aa08df1b71b...
1.59
KB
-rwxrwxrwx
46f8eb3303dde2b6b1ff3a886ddc87...
3.27
KB
-rwxrwxrwx
4851d4cd42e8b9dfb42cd3eff9ee8e...
432
B
-rwxrwxrwx
48d5b13ea842d1e10f49606a1bed66...
2.06
KB
-rwxrwxrwx
4a0d7b69e98a87270df7114fe3cf02...
432
B
-rwxrwxrwx
4c2579e24045637cb15830b7da2837...
10.96
KB
-rwxrwxrwx
4dafd53c6bc21117b0a9588b6d61c3...
4.6
KB
-rwxrwxrwx
536c5d8edbd34756ae0092ad8e18b7...
24.63
KB
-rwxrwxrwx
5ae13251f1715fe0ce94bbf29dcb30...
10.11
KB
-rwxrwxrwx
5cd4fe7a2b38219bcf0f35435ac308...
16.01
KB
-rwxrwxrwx
636c02acc202892c20d97487989447...
210
B
-rwxrwxrwx
69ad639b417188233c72d1bfeaa906...
1.18
KB
-rwxrwxrwx
6ae30d4d75bbb03bfc64d010609f74...
182
B
-rwxrwxrwx
6cc490828669e9474a3665ead279a6...
158
B
-rwxrwxrwx
6dbb891284fae00ca780b51eb2ae15...
2.44
KB
-rwxrwxrwx
6e537645ceb33513316e37f4217ea0...
2.49
KB
-rwxrwxrwx
6ffc2b8c7b51cd93145d0b7728cbbf...
15.66
KB
-rwxrwxrwx
7affbf7ec3858a9a059f9d062aa126...
3.47
KB
-rwxrwxrwx
7ba69c5e840aa7a02ed1e1e3eeda7b...
6.39
KB
-rwxrwxrwx
8617114f3ff84db7c60e1f9e6f54c6...
9.97
KB
-rwxrwxrwx
8859e69b1448d99374906c0559257f...
4.45
KB
-rwxrwxrwx
8e6d4ca4757f460b279aba40786b4b...
1.98
KB
-rwxrwxrwx
959025c2ed8d77d88a8b5a97dfa19e...
13.15
KB
-rwxrwxrwx
9b867d64ce84f43606a9fae33e30a3...
1018
B
-rwxrwxrwx
a05a080051dad3dce0fb160ce997b4...
159
B
-rwxrwxrwx
a308dcb8af9ab5b7efacc72be7094f...
6.12
KB
-rwxrwxrwx
a37d691094123e1390857b7e8defeb...
11.23
KB
-rwxrwxrwx
a54c85694e10049ba0b6097841a6d7...
5.06
KB
-rwxrwxrwx
a55096779bf1469a233df55086d913...
1.7
KB
-rwxrwxrwx
ae92217104a61373afc93af5550971...
3.58
KB
-rwxrwxrwx
b190f8a791a19beaa79bbb0d8476fe...
5.33
KB
-rwxrwxrwx
b822ac4e77c0ea06332608d9e0b452...
312
B
-rwxrwxrwx
b9fb461b32dff1bd3437b4b764dd0c...
2.92
KB
-rwxrwxrwx
bb4ddbe0d65a089d0b4abae1acde95...
10.68
KB
-rwxrwxrwx
c97264e85f04e9f45a982a3022c70b...
902
B
-rwxrwxrwx
ca457bf1e98421a9a78a54fa956501...
2.53
KB
-rwxrwxrwx
cbc704c9d5b159b3b36520057e598e...
2.43
KB
-rwxrwxrwx
cd9539c87a3be839631ffd31302b4c...
18.69
KB
-rwxrwxrwx
cf5984fc37bec4d8eee222c3cc5dee...
8.12
KB
-rwxrwxrwx
cff7b22d958d939ad1b4bde9922519...
8.95
KB
-rwxrwxrwx
d29f4556fe506c9720e1bf696dabae...
1.76
KB
-rwxrwxrwx
db621f174b75a67a0aaf5c6bacad71...
6.64
KB
-rwxrwxrwx
dc40e4a016ed70b3ad51aea1d161d9...
16.41
KB
-rwxrwxrwx
e15a6e19e1e5177e59e8262584e793...
284
B
-rwxrwxrwx
e19b65e780aca35bebb7b77843b060...
4.6
KB
-rwxrwxrwx
edd39d0714a538cbe2ad92a9e4f133...
22.94
KB
-rwxrwxrwx
eecb58e38f89b879cc6147f18fa955...
1021
B
-rwxrwxrwx
efd1ffeab25f92e4075ce15872c37d...
5.98
KB
-rwxrwxrwx
f1a0be9083f4ff965a9247666bb06e...
16.91
KB
-rwxrwxrwx
f1f02845b43f5e81b20e26a0974570...
722
B
-rwxrwxrwx
f34fe06ad3ab448ac4123d259b6245...
1.77
KB
-rwxrwxrwx
f3a1b98ab2ab523844233cacc7ec0d...
14.01
KB
-rwxrwxrwx
fb07376e752bed5f78442eabd69a22...
11.02
KB
-rwxrwxrwx
ff87649dac98c27bf16b614d1f9544...
8.58
KB
-rwxrwxrwx
googleda794cd9937527d01.html
46
B
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : 2c5d32775539b20b45340236902e02b48ae995d2.php
<?php $__env->startSection('extrastyle'); ?> <style> .action-links a { display: block; white-space: nowrap; } </style> <?php $__env->stopSection(); ?> <?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($places)); ?> <br> <small>Places</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" value="<?php echo e($query); ?>" 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($place['phones'][0] ?? ""); ?></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 class="action-links"> <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> <a href="<?php echo e(route('admin_edit_place_food', ['place' => $place['slug']])); ?>">Update 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 class="add-image"> <form action="<?php echo e(route('add_place_picture', ['slug' => $place['slug']])); ?>" method="POST" enctype="multipart/form-data"> <?php echo csrf_field(); ?> <div class="form-group add-image-input"> <label>Add Image</label> <input type="file" name="image"> </div> <button class="btn btn-primary">Submit</button> </form> </div> </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 => { $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 => { 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('.badge') $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 => { 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/cravings/resources/views/admin/user_places.blade.php ENDPATH**/ ?>
Close