Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Phil E. Taylor PhilETaylor

🎯
Focusing
View GitHub Profile
View gist:666ffa220ce5cb0620c0973eba24ba17
[2019-09-22 10:10:00] api-debugger.INFO: >>>>>>>>
GET /wp-login.php?redirect_to=http%3A%2F%2Fal-halo-echo.pl%2Fwp-admin%2F&reauth=1 HTTP/1.1
Host: al-halo-echo.pl
User-Agent: myJoomla/2.0 (myJoomla.com)
X-MyJoomla-FAQ: For full details see myJoomla.com or email phil@phil-taylor.com
<<<<<<<<
HTTP/1.1 401 Unauthorized
Date: Sun, 22 Sep 2019 10:10:00 GMT
View gist:8bd8aaefc1bbd763fa2daae33036066f
[2019-09-09 17:00:59] api-debugger.INFO: >>>>>>>>
POST /plugins/system/bfnetwork/bfnetwork/bfTools.php HTTP/1.1
Content-Length: 923
Referer: https://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: www.apecs.org
X-MYJOOMLA-HMAC: 5picr+I4nWZUlPGd4izSMbVzm9mEhNxWKx5B7QeBzQ0=
View gist:c8722d79f014c07263162b6f362d0e93
34.201.72.165 - - [02/Jul/2019:14:21:30 -0500] "GET /administrator/ HTTP/1.1" 200 2016 "-" "Mozilla/5.0 (Windows NT 6.0; rv:34.0) Gecko/20100101 Firefox/34.0"
34.201.72.165 - - [02/Jul/2019:14:21:30 -0500] "POST /administrator/index.php HTTP/1.1" 303 20 "https://refugecountryclub.com/administrator/" "Mozilla/5.0 (Windows NT 6.0; rv:34.0) Gecko/20100101 Firefox/34.0"
34.201.72.165 - - [02/Jul/2019:14:21:31 -0500] "GET /administrator/index.php HTTP/1.1" 200 6592 "https://refugecountryclub.com/administrator/" "Mozilla/5.0 (Windows NT 6.0; rv:34.0) Gecko/20100101 Firefox/34.0"
34.201.72.165 - - [02/Jul/2019:14:21:33 -0500] "GET /administrator/index.php?option=com_templates HTTP/1.1" 200 8114 "https://refugecountryclub.com/administrator/index.php" "Mozilla/5.0 (Windows NT 6.0; rv:34.0) Gecko/20100101 Firefox/34.0"
34.201.72.165 - - [02/Jul/2019:14:21:34 -0500] "GET /administrator/index.php?option=com_templates&view=template&id=10000++ HTTP/1.1" 200 24129 "https://refugecountryclub.com/administrator/index.php?optio
@PhilETaylor
PhilETaylor / sql.sql
Created Jun 20, 2019
myJoomla Speedup SQL
View sql.sql
UPDATE bf_files AS NEWTABLE
INNER JOIN (
SELECT
bf_files_last.filewithpath, bf_files_last.suspectcontent, bf_files_last.falsepositive, bf_files_last.encrypted FROM bf_files_last
LEFT JOIN
bf_files ON bf_files_last.filewithpath = bf_files.filewithpath
WHERE
bf_files_last.currenthash = bf_files.currenthash
AND
bf_files_last.filemtime = bf_files.filemtime
View gist:26e59abfa4a0bd081267ea019795bf04
UPDATE bf_files AS NEWTABLE
INNER JOIN (
SELECT
bf_files_last.filewithpath,
bf_files_last.suspectcontent, bf_files_last.falsepositive,
bf_files_last.encrypted FROM bf_files_last
LEFT JOIN
bf_files ON
bf_files_last.filewithpath = bf_files.filewithpath
WHERE
View gist:e0d106001cd90946111f1c26b2f5049b
Delivered-To: phil@phil-taylor.com
Return-Path: <abler54@lxvm3.neteffx.net>
Delivered-To: phil+spam@phil-taylor.com
Received: from director12.mail.ord1d.rsapps.net ([172.30.191.6])
by backend37.mail.ord1d.rsapps.net with LMTP id cIZhDLUq5VzKUwAAXiPxRA
for <phil+spam@phil-taylor.com>; Wed, 22 May 2019 06:55:49 -0400
Received: from proxy13.mail.ord1d.rsapps.net ([172.30.191.6])
by director12.mail.ord1d.rsapps.net with LMTP id ECR0DLUq5VyJPAAAIasKDg
; Wed, 22 May 2019 06:55:49 -0400
Received: from smtp13.gate.ord1d ([172.30.191.6])
View gist:e60cfb7a07abb49c68fe0be89b90f377
Delivered-To: phil@phil-taylor.com
Return-Path: <seasontickets@seasonticketfinance.com>
Delivered-To: phil+spam@phil-taylor.com
Received: from director9.mail.ord1d.rsapps.net ([172.30.191.6])
by backend37.mail.ord1d.rsapps.net with LMTP id ODxyHg0j5Vz+UQAAXiPxRA
for <phil+spam@phil-taylor.com>; Wed, 22 May 2019 06:23:09 -0400
Received: from proxy11.mail.ord1d.rsapps.net ([172.30.191.6])
by director9.mail.ord1d.rsapps.net with LMTP id 4Ft9Hg0j5VxgTwAAalYnBA
; Wed, 22 May 2019 06:23:09 -0400
Received: from smtp14.gate.ord1d ([172.30.191.6])
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 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{