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 | : 104.23.253.119
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 /
noahpromax.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
113
B
-rw-r--r--
blogs.blade.php
3.89
KB
-rw-r--r--
contact_us.blade.php
9.79
KB
-rw-r--r--
index.blade.php
15.19
KB
-rw-r--r--
index_old.blade.php
940
B
-rw-r--r--
portfolio.blade.php
14.99
KB
-rw-r--r--
post.blade.php
4.18
KB
-rw-r--r--
practice_area.blade.php
2.1
KB
-rw-r--r--
privacy_security.blade.php
876
B
-rw-r--r--
projects.blade.php
1.68
KB
-rw-r--r--
review.blade.php
9.18
KB
-rw-r--r--
search.blade.php
13.68
KB
-rw-r--r--
service_detail.blade.php
2.88
KB
-rw-r--r--
services.blade.php
4.55
KB
-rw-r--r--
sitemap.blade.php
4.12
KB
-rw-r--r--
sitemapxml.blade.php
2.34
KB
-rw-r--r--
templates.blade.php
42.18
KB
-rw-r--r--
terms.blade.php
988
B
-rw-r--r--
thank_you.blade.php
1.07
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) . ".html"; $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 = url('blog/'.$blogpostslistElement->slug.'.html'); $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 = url($item->product_slug.'.html'); $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>".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>" . $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