Skip to content

Instantly share code, notes, and snippets.


Jeroen Boersma JeroenBoersma

View GitHub Profile
JeroenBoersma / Klaviyo read customer
Last active Feb 21, 2022
Klaviyo - Magento 2 private data leakage
View Klaviyo read customer

Klaviyo read customer quotes for guest carts

April 28th I've found a endpoint in a thirth party module Klaviyo Magento 2 which allows to read private customer data from stores. It works by reclaiming any guest-cart as your own and reading the private data for the orders in the Magento API.


JeroenBoersma / 1.
Last active Nov 4, 2020
Docker php development aditional scripts
View 1.

Docker php development aditional scripts

For docker I've some local scripts which I occasionaly use for day-to-day jobs. The reason I don't commit them in the repository is because they're so project specific.



JeroenBoersma /
Last active Nov 10, 2020
Docker AWS (with love)
aws() {
docker run --rm -it -v ${HOME}/.aws:/root/.aws -v ${CWD}:/mnt --workdir=/mnt amazon/aws-cli "$@"
return $?;
if [ -z "`which jq`" ]; then
JeroenBoersma / 1.
Last active May 18, 2021
Magento 2.3.5-p1 project-community-edtion
View 1.

Magento 2.3.5-p1 update

Magento root plugin doesn't work with the latest Magento 2.3.5-1 so you have to manualy compare the magento/project-communtiy-edtion with your local installation. Added composer.json below.

Update Magento

Head over to your project

# before you start, update all packages
composer update

# Switch Magento version
View gist:abda493d1fc2b013ffad58c8586ed841
Verifying that "" is my Blockstack ID.
JeroenBoersma /
Last active Dec 14, 2016
Delete merged branches with origing/master
# Configurable
eval set -- `getopt -l master: -l remote: -l days: -l help -l unmerged -- 'm:?r:?d:?u?h?' "$@"`;
JeroenBoersma / Amasty Product Feed - Local File
Last active Oct 21, 2016
Amasty Product Feed - Local file disclosure
View Amasty Product Feed - Local File

Amasty Product Feed - Local file disclosure

  • Affects: Amasty (Product-) Feed (Magento 1)
  • Date: 2016-07-20 (updated: 2016-07-26)
  • Author: Jeroen Boersma

Affected versions:

JeroenBoersma / gist:60a4acb8e56498bce41c
Created Mar 11, 2015
Magento cleanup unused product images
View gist:60a4acb8e56498bce41c
* Cleanup images from Magento
require 'app/Mage.php';
if (!Mage::isInstalled()) {
echo "Application is not installed yet, please complete install wizard first.";