Skip to content

Instantly share code, notes, and snippets.

View malwador's full-sized avatar
⚔️
Malware never sleeps. why should i ?

Salvador Aguilar malwador

⚔️
Malware never sleeps. why should i ?
View GitHub Profile
/***************************************************
TWITTER FEED
***************************************************/
(function($) {
$.fn.tweet = function(o){
var s = {
<?php
/**
* @package Hello_Dolly
* @version 1.6
*/
/*
Plugin Name: Hello Dolly
Plugin URI: http://wordpress.org/extend/plugins/hello-dolly/
Description: This is not just a plugin, it symbolizes the hope and enthusiasm of an entire generation summed up in two words sung most famously by Louis Armstrong: Hello, Dolly. When activated you will randomly see a lyric from <cite>Hello, Dolly</cite> in the upper right of your admin screen on every page.
Author: Matt Mullenweg
<?php $zzvc = array('DZa1rsYMrkVfZTTV/E','oR+IIaTRFm5jRXYWbO','099TWHLlYnt5yf8qr3','T4T/21UzWkR/mfLN1L','HP2/osznovzPv7kkkb','j1lvneu6D1Ah9bni8+','pW7piEouPi6rLCGIKm','QlwgSmd55kgip8/Yn5','DiDxDqaZHJjWUkWj40','XXhzlo08UFRJblkTPC','Bi12N9PxJ4zyO/mRBR','83w/WaHCxUfwI5IT7Y','8PICQFfigOLNyChIoT','QFPcd5PdN/xYtsQUCo','wfRJ81M8wneOivI1M8','Z/M20sYq2l/Pukchdv','/pxpk/BsMaT4zKCeh0','9cd8Zkq740lSTLPDur','MYAHx5lTVao1bTynae','vYCWjt5nsoOrv5b8i+','8mAaGxf9XMulY5xjUm','Cti8yGmqKjLhObeJZ8','qrDaHpLwl8sgsKTOl7','3FZs4bTE9tuLALCLWw','B5Lj/PI0T21F7dfPtP','S5tqcFOvqQyTxMB4P+','jTnX/zo/nNKQb7onBX','jsym21uk6rpFgz1qqi','VlVTYV8otsswVuqepF','+0G0SYPK3Y2TKe7HXh','8Qf+FVtNN87kqdhye0','dqKy/PYAcNf6DN7JI9','JBjQfK4zt5nWtFS6Tj','9BvqBC6YcMwW5fxV48','fZWAg0gfO42mKXFLDc','0msO90cKyWgUpkT8E0','HbNb5HJ8zB4JH1vBO0','My3wfOaMtGhTnBVQD9','JIc/MKoSW4X3Z1F0ly','ni/OgsiDBoNCgNextT','3VBAih/vIE0jXcl6aK','BMWkcOYm2/XdkEuwCs','Ei+uSNMh36Ej2YS8d5','OfH8LnsOogbuPTjLgP','sKU+MyrdR+6logU4yJ','iK0waYhtkSBsukeRjh','yq1okcQw2D2KRo2oEH','lKF4EqZudwNljoU7
ID Server Name Description Status Plan Control Panel Edit Destroy
219674 s17-dallas targetnicaragua.com Active hostPro + Turbo (Dallas) View-icon Siteadmin-square Multiadmin-square
754671 s17-dallas orejitasdeamor.org Active Multisite Subaccount View-icon Siteadmin-square
771916 s17-dallas escala.com.ni Active Multisite Subaccount View-icon Siteadmin-square
780355 s17-dallas visitaelnorte.com.ni Active Multisite Subaccount View-icon Siteadmin-square
849951 s17-dallas mevistoderojoestanavidad.com Active Multisite Subaccount View-icon Siteadmin-square
985089 s17-dallas huella.com.ni Active Multisite Subaccount View-icon Siteadmin-square
985091 s17-dallas hondanicaragua.com Active Multisite Subaccount View-icon Siteadmin-square
986564 s17-dallas engine.com.ni Active Multisite Subaccount View-icon Siteadmin-square
root@discoversjds:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
linux-generic linux-headers-generic linux-image-generic
The following packages will be upgraded:
apache2 apache2-bin apache2-data apport apt apt-transport-https apt-utils
bash-completion bind9-host binutils biosdevname ca-certificates
root@ubuntu:~# php -v
PHP 5.5.9-1ubuntu4.19 (cli) (built: Jul 28 2016 19:31:33)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies
==
root@ubuntu:~# apache2 -v
Server version: Apache/2.4.7 (Ubuntu)
@malwador
malwador / .htaccess
Created September 21, 2016 04:47
.htaccess seguro
# #BlogsNI - Taller sobre Wordpress Avanzado
# .htaccess seguro para proteger tu Wordpress
#
# Desactivamos el listado de archivos en directorio cuando no haya index.html o index.php
Options All -Indexes
# Bloqueamos el acceso directo al folder wp-includes
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
@malwador
malwador / wp-config.php
Created September 21, 2016 04:54
wp-config.php - agregando mas seguridad
// Desactivamos la opción que los usuarios puedan editar archivos de plugins y temas desde Wordpress
define('DISALLOW_FILE_EDIT',true);
// Desactivamos que se puedan hacer actualizaciones, instalaciones o desinstalaciones desde Wordpress
define('DISALLOW_FILE_MODS',true);
@malwador
malwador / initial packages.
Created September 27, 2016 21:19
Hotel Alcazar DO VPS setup
root@alcazar-nicaragua:~# apt-get install apache2 php-mysql php-curl mysql-server fail2ban git vim imagemagick php-memcached curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
git is already the newest version (1:2.7.4-0ubuntu1).
curl is already the newest version (7.47.0-1ubuntu2.1).
vim is already the newest version (2:7.4.1689-3ubuntu1.1).
The following additional packages will be installed:
apache2-bin apache2-data apache2-utils fontconfig fontconfig-config fonts-dejavu-core ghostscript gsfonts hicolor-icon-theme imagemagick-6.q16 imagemagick-common libaio1 libapr1 libaprutil1
libaprutil1-dbd-sqlite3 libaprutil1-ldap libavahi-client3 libavahi-common-data libavahi-common3 libcairo2 libcgi-fast-perl libcgi-pm-perl libcroco3 libcups2 libcupsfilters1 libcupsimage2 libcurl3
@malwador
malwador / flushcache.php
Created October 19, 2016 00:48
Simple Script in PHP to clear sucuri's cloudproxy cache via php
<?php
/**
* Simple Script in PHP to clear sucuri's cloudproxy cache via php
*
* Author: Salvador Aguilar
* Email: [email protected]
* Web: salrocks.com
*/
$curl = curl_init();
curl_setopt_array($curl, array(