Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| </head> | |
| <body id="pre-load"> | |
| <nav class="navbar navbar-expand-md navbar-light bg-white fixed-top"> | |
| </nav> | |
| cd $HOME | |
| wget -O - https://nightly.odoo.com/odoo.key | apt-key add - | |
| rm /etc/apt/sources.list.d/odoo.list | |
| rm /etc/apt/sources.list.d/backports.list | |
| echo "deb http://nightly.odoo.com/12.0/nightly/deb/ ./" >> /etc/apt/sources.list.d/odoo.list | |
| echo "deb http://ftp.debian.org/debian stretch-backports main" >> /etc/apt/sources.list.d/backports.list | |
| apt-get update | |
| apt-get -y install odoo postgresql unzip git python3-phonenumbers python3-num2words python3-jsonschema python3-pip | |
| if [[ ! -f wkhtmltox_0.12.5-1.stretch_amd64.deb ]] | |
| then |
| <?php | |
| /** | |
| * Servicio para realizar consultas WHOIS de dominios. | |
| * | |
| * Esta clase implementa el patrón Singleton para garantizar que solo exista | |
| * una instancia del servicio, evitando consultas innecesarias y reduciendo el | |
| * consumo de recursos. | |
| * | |
| * @author Luis Cortés | |
| */ |
| <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
| use Restserver\Libraries\REST_Controller; | |
| require APPPATH . '/libraries/REST_Controller.php'; | |
| require APPPATH . '/libraries/Format.php'; | |
| class Rest extends REST_Controller | |
| { | |
| public function __construct() | |
| { |
| UPDATE `wp_posts` SET guid = REPLACE(guid, 'http://www.URL-VIEJA.com','http://www.URL-NUEVA.com'); | |
| UPDATE `wp_posts` SET post_content = REPLACE(post_content, 'http://www.URL-VIEJA.com','http://www.URL-NUEVA.com'); | |
| UPDATE `wp_options` SET option_value = REPLACE(option_value, 'http://www.URL-VIEJA.com','http://www.URL-NUEVA.com') WHERE option_name = 'home' OR option_name = 'siteurl'; |
| /* | |
| SQLyog Ultimate v12.09 (64 bit) | |
| MySQL - 10.1.19-MariaDB : Database - l0t3r1a2015 | |
| ********************************************************************* | |
| */ | |
| /*!40101 SET NAMES utf8 */; | |
| /*!40101 SET SQL_MODE=''*/; |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| <Files .htaccess> | |
| order allow,deny | |
| deny from all | |
| </Files> | |
| # Inyecciones SQL | |
| # El uso del siguiente conjunto de reglas nos ayudará a filtrar la mayoría de estas situaciones: | |
| RewriteCond %{QUERY_STRING} (;|<|>|’|”|\)|%0A|%0D|%22|%27|%3C|%3E|%00).*(/\*|union|select|insert|cast|set|declare|drop|update|md5|benchmark) [NC,OR] | |
| RewriteCond %{QUERY_STRING} \.\./\.\. [OR] | |
| RewriteCond %{QUERY_STRING} (localhost|loopback|127\.0\.0\.1) [NC,OR] |