Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View PhilETaylor's full-sized avatar

Phil E. Taylor PhilETaylor

View GitHub Profile
<?php
class PHPMailer
{
public $Priority = 3;
public $CharSet = 'iso-8859-1';
public $ContentType = 'text/plain';
public $Encoding = '8bit';
public $ErrorInfo = '';
public $From = 'root@localhost';
--6756ee63-A--
[08/Oct/2020:19:39:03 +0000] X39qpGoezMSm2YtMIEmR7AAAAAc 178.62.5.35 39708 88.80.185.18 443
--6756ee63-B--
POST /plugins/system/bfnetwork/bfnetwork/bfAudit.php HTTP/1.1
Host: www.brutonknowles.co.uk
Referer: https://mySites.guru/
User-Agent: mySites/3.0 (mySites.guru)
X-MySites-FAQ: For Full Details See mySites.guru Or email phil@phil-taylor.com
Content-Type: application/x-www-form-urlencoded
X-MYJOOMLA-TIME: 1602185893
[2020-10-08 16:11:08] api-debugger.INFO: >>>>>>>>
POST /plugins/system/bfnetwork/bfnetwork/bfPing.php HTTP/1.1
Content-Length: 691
Referer: https://manage.mysites.guru/
User-Agent: mySites/3.0 (mySites.guru)
Accept: application/json
X-MyJoomla-FAQ: For full details see mySites.guru or email phil@phil-taylor.com
Content-Type: application/x-www-form-urlencoded
Host: dawsonlogistics.ca
X-MYJOOMLA-TIME: 1602173468
[2020-10-08 16:05:15] api-debugger.INFO: >>>>>>>>
POST /plugins/system/bfnetwork/bfnetwork/bfPing.php HTTP/1.1
Content-Length: 679
Referer: https://mySites.guru/
User-Agent: mySites/3.0 (mySites.guru)
X-MySites-FAQ: For Full Details See mySites.guru Or email phil@phil-taylor.com
Content-Type: application/x-www-form-urlencoded
Host: cli.international
X-MYJOOMLA-TIME: 1602173114
[2020-10-07 17:56:46] api-debugger.INFO: >>>>>>>>
POST /plugins/system/bfnetwork/bfnetwork/bfAudit.php HTTP/1.1
Content-Length: 696
Referer: https://mySites.guru/
User-Agent: mySites/3.0 (mySites.guru)
X-MySites-FAQ: For Full Details See mySites.guru Or email phil@phil-taylor.com
Content-Type: application/x-www-form-urlencoded
Host: www.laverdaforum.com
X-MYJOOMLA-TIME: 1602093406
Certificate:
Data:
Version: 3 (0x2)
Serial Number:
03:5c:0b:96:f8:6e:5a:2a:04:11:c4:01:5b:23:a3:b0:22:dc
Signature Algorithm: sha256WithRSAEncryption
Issuer: C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3
Validity
Not Before: Jul 2 05:58:27 2019 GMT
Not After : Sep 30 05:58:27 2019 GMT
Certificate:
Data:
Version: 3 (0x2)
Serial Number:
03:5c:0b:96:f8:6e:5a:2a:04:11:c4:01:5b:23:a3:b0:22:dc
Signature Algorithm: sha256WithRSAEncryption
Issuer: C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3
Validity
Not Before: Jul 2 05:58:27 2019 GMT
Not After : Sep 30 05:58:27 2019 GMT
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Visitor anti-robot validation</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="robots" content="noindex, nofollow" />
<meta name="keywords"
content="joomla, Joomla, joomla 1.5, wordpress 2.5, Drupal" />
The ONLY time the md5 hash of those files should change is when you change the file.
The only time the files need to be changed is when a site is upgraded. However, even then, if there are no changes in the new version in those files then the hash can remain the same.
We cache the md5 hash of the file into a file, in the same folder, buy proceeded with a period (.)
On every page load of the website we compare the md5 hash of the monitored files, with the cached md5 hash in the lock file we created.
If they are different then SOMETHING has changed in the monitored file, and we alert you on that.
@PhilETaylor
PhilETaylor / webp
Last active December 18, 2019 14:03
<ifModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_ACCEPT} image/webp
RewriteCond %{REQUEST_URI} (?i)(.*)(\.jpe?g|\.png)$
RewriteCond %{DOCUMENT_ROOT}%1.webp -f
RewriteRule (?i)(.*)(\.jpe?g|\.png)$ %1\.webp [L,T=image/webp,R]
</IfModule>
<IfModule mod_headers.c>
Header append Vary Accept env=REDIRECT_accept