Skip to content

Instantly share code, notes, and snippets.

This is a short list with infected files from domains on the list of compromised online-shop of @gwillem.
**hacked-stores-in-last-48hrs.txt***
https://gist.github.com/gwillem/e7c77b77d508928ad67860970c366cae
If you have to deal with this it maybe helps you to find infected files.
./html/devsys/adminerc2q.php
./html/devsys/media/dhl/info.php
./html/livesys/media/dhl/info.php
@pascut
pascut / Subscription.php
Created March 22, 2021 11:15 — forked from Shelob9/Subscription.php
Laravel Spark with Laravel Nova
<?php
namespace App\Nova;
use Laravel\Nova\Fields\BelongsTo;
use Laravel\Nova\Fields\Date;
use Laravel\Nova\Fields\ID;
use Illuminate\Http\Request;
use Laravel\Nova\Http\Requests\NovaRequest;
@pascut
pascut / index.php
Created March 31, 2020 14:28 — forked from xeoncross/index.php
Tiny, SMTP client in PHP
<?php
/*
This is a very tiny proof-of-concept SMTP client. Currently it's over 320 characters (if the var names are compressed). Think you can build one smaller?
*/
ini_set('default_socket_timeout', 3);
$user = 'you@gmail.com';
$pass = '';
$host = 'ssl://smtp.gmail.com';
@pascut
pascut / Block.php
Last active March 30, 2019 21:05
Temporary 'fix' for static block caching issue in Magento 1.9.3.8 (app/code/local/Mage/Cms/Block/Block.php)
<?php
/**
* ***************ATTENTION***************************************
* This is the temporary fix for the Magento 1.9.3.8 bug
* See http://magento.stackexchange.com/q/73685/3112?stw=2
* The only change from app/code/core/Mage/Cms/Block/Block.php
* is that the getCacheKeyInfo() function below is changed, I
* concatenated a string that contains the page url and the block id
* In this way the result will be unique each time.
* ****************************************************************