elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Sigue las noticias más importantes de seguridad informática en el Twitter! de elhacker.NET


  Mostrar Mensajes
Páginas: [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 ... 31
1  Sistemas Operativos / GNU/Linux / [Warning] [MY-010068] [Server] CA certificate /var/lib/mysql/ca.pem is self sign en: 27 Noviembre 2018, 01:24 am
problema con wordpress y mysql. Si necesitan algun log os lo muestro, una ayuda por favor

/var/log/mysql/error.log
Código
  1. 2018-11-26T23:04:12.003546Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.13)  MySQL Community Server - GPL.
  2. 2018-11-26T23:04:12.693353Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.13) starting as process 1944
  3. 2018-11-26T23:04:14.513703Z 0 [Warning] [MY-010068] [Server] CA certificate /var/lib/mysql/ca.pem is self signed.
  4. 2018-11-26T23:04:14.574313Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.13'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  MySQL Community Server - GPL.
  5. 2018-11-26T23:04:14.756353Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Socket: '/var/run/mysqld/mysqlx.sock' bind-address: '::' port: 33060
  6. 2018-11-26T23:16:30.055092Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.13)  MySQL Community Server - GPL.
  7. 2018-11-26T23:16:30.782675Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.13) starting as process 2175
  8. 2018-11-26T23:16:32.833066Z 0 [Warning] [MY-010068] [Server] CA certificate /var/lib/mysql/ca.pem is self signed.
  9. 2018-11-26T23:16:32.908563Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.13'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  MySQL Community Server - GPL.
  10. 2018-11-26T23:16:32.921263Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Socket: '/var/run/mysqld/mysqlx.sock' bind-address: '::' port: 33060
  11.  

Wordpress al instalar me muestra esto por navegador 192.168.1.11/wp-admin/install.php 

The server requested authentication method unknown to the client

Error establishing a database connection
This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at localhost. This could mean your host’s database server is down.

Are you sure you have the correct username and password?
Are you sure that you have typed the correct hostname?
Are you sure that the database server is running?
If you’re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.


2  Programación / PHP / Re: incluir Accelerated Mobile Pages Project – AMP con paypal en: 28 Octubre 2018, 23:48 pm
esto es lo que he puesto al final con EXITO (RESUELTO) y me mande al carrito de paypal redirigiendolo. gracias a quien me ha leido


Código
  1. <?php
  2.  
  3. if(!empty($_POST)){
  4.  
  5. $cmd = '_s-xclick';
  6. $hosted_button_id = "7UT4SF2PGDPCQ";
  7. $on0 = "Contratación por horas:";
  8. $os0 = $_POST['os0'];
  9.  
  10. $on1 = "Telefono:";
  11. $os1 = "722";
  12. $on2 = "Correo electronico:";
  13. $os2 = "ser";
  14. $currency_code = "EUR";
  15.  
  16.  
  17.       $domain_url = (isset($_SERVER['HTTPS']) ? "https" : "http") . "://$_SERVER[HTTP_HOST]";
  18.        header("Content-type: application/json");
  19.        header("Access-Control-Allow-Credentials: true");
  20.        header("Access-Control-Allow-Origin: ". str_replace('.', '-','https://localhost') .".cdn.ampproject.org");
  21.        header("AMP-Access-Control-Allow-Source-Origin: " . $domain_url);
  22.        header("Access-Control-Expose-Headers: AMP-Access-Control-Allow-Source-Origin");
  23.        header("AMP-Redirect-To: https://www.paypal.com/cgi-bin/webscr?cmd=". $cmd ."&hosted_button_id=". $hosted_button_id. "&on0=". $on0."&os0=". $os0. "&on1=". $on1. "&os1=". $os1. "&on2=". $on2. "&os2=". $os2. "&currency_code=". $currency_code);
  24.        header("Access-Control-Expose-Headers: AMP-Redirect-To, AMP-Access-Control-Allow-Source-Origin");
  25.  
  26.        exit;
  27. }
  28. ?>
  29.  
3  Programación / PHP / [Resuelto] Iincluir Accelerated Mobile Pages Project – AMP con paypal en: 28 Octubre 2018, 18:33 pm
Buenas necesito modificar el codigo fuente de mi web para que acepte paypal pagos por AMP(es una tecnologia para acelerar las webs y asi su posterior posicionamiento web en google). En este codigo estoy utilizando un formulario que redirija a un JSON y desde "submit-form-xhr.php" reenviarlo a paypal, estoy haciendo lo correcto en todo esto. Es que paypal no me muestra el carro de compra como que se a agregado el producto o servicio. Ayuda por favor.

mantenimineto-informatico.php
Código
  1. <script async custom-element="amp-form" src="https://cdn.ampproject.org/v0/amp-form-0.1.js"></script>
  2. <script async custom-template="amp-mustache" src="https://cdn.ampproject.org/v0/amp-mustache-0.2.js"></script>
  3. <script async src="https://cdn.ampproject.org/v0.js"></script>
  4.  
  5. <form method="post" action-xhr="amp/submit-form-xhr.php" target="_top" class="p2">
  6. <p>Other form input sample:
  7. <code>&lt;select&gt;</code>
  8. </p>
  9. <div class="ampstart-input inline-block relative mb3">
  10. <select name="cars" id="cars">
  11. <option value="volvo">Volvo</option>
  12. <option value="saab">Saab</option>
  13. <option value="fiat">Fiat</option>
  14. <option value="audi">Audi</option>
  15.  
  16. <label for="cars" class="absolute top-0 right-0 bottom-0 left-0">Select a car</label>
  17. <select name="os0" id="os0">
  18. <option value="2 horas">2 horas €40,00 EUR</option>
  19. <option value="3 horas">3 horas €60,00 EUR</option>
  20. <option value="4 horas">4 horas €80,00 EUR</option>
  21. <option value="5 horas">5 horas €100,00 EUR</option>
  22. <option value="6 horas">6 horas €120,00 EUR</option>
  23. <option value="7 horas">7 horas €140,00 EUR</option>
  24. <option value="8 horas">8 horas €160,00 EUR</option>
  25. <option value="9 horas">9 horas €180,00 EUR</option>
  26. <option value="10 horas">10 horas €200,00 EUR</option>
  27. </div>
  28.  
  29. <input type="submit" value="OK" class="ampstart-btn caps">
  30.  
  31. <div submit-success>
  32. <template type="amp-mustache">
  33. hi {{name}} {{os0}} {{cmd}}!!!
  34. </template>
  35. </div>
  36. <div submit-error>
  37. <template type="amp-mustache">
  38. Error!
  39. </template>
  40. </div>
  41.  

submit-form-xhr.php
Código
  1. <?php
  2. if(!empty($_POST)){
  3.  
  4. $cmd = '_s-xclick';
  5. $hosted_button_id = "7UT4SF2PGDPCQ";
  6. $on0 = "Contratación por horas:";
  7. $os0 = $_POST['os0'];
  8. $on1 = "Telefono:";
  9. $os1 = "722";
  10. $on2 = "Correo electronico:";
  11. $os2 = "ser";
  12. $currency_code = "EUR";
  13.  
  14. $domain_url = (isset($_SERVER['HTTPS']) ? "https" : "http") . "://$_SERVER[HTTP_HOST]";
  15. header("Content-type: application/json");
  16. header("Access-Control-Allow-Credentials: true");
  17. header("Access-Control-Allow-Origin: ". str_replace('.', '-','https://localhost') .".cdn.ampproject.org");
  18. header("AMP-Access-Control-Allow-Source-Origin: " . $domain_url);
  19. header("Access-Control-Expose-Headers: AMP-Access-Control-Allow-Source-Origin");
  20. header("AMP-Redirect-To: https://www.paypal.com/cgi-bin/webscr");
  21. header("Access-Control-Expose-Headers: AMP-Redirect-To, AMP-Access-Control-Allow-Source-Origin");
  22. echo json_encode(array('cmd' => $cmd, 'hosted_button_id' => $hosted_button_id, 'on0' => $on0, 'os0' => $os0, 'on1' => $on1, 'os1' => $os1, 'on2' => $on2, 'os2' => $os2, 'currency_code' => $currency_code ));
  23.  
  24. }
  25. ?>
  26.  
4  Seguridad Informática / Análisis y Diseño de Malware / Re: como elimino los siguientes virus de una web!! en: 12 Octubre 2018, 02:56 am
ok, gracias por la respuesta!!!
5  Seguridad Informática / Análisis y Diseño de Malware / Re: como elimino los siguientes virus de una web!! en: 12 Octubre 2018, 01:05 am
Si he probado el malwarebytes y nada alguna otra recomendacion?
6  Seguridad Informática / Análisis y Diseño de Malware / como elimino los siguientes virus de una web!! en: 11 Octubre 2018, 22:45 pm
Como elimino esto de unos archivos que he bajado a mi pc de una web de unos clientes.

https://www.virustotal.com/#/file/59b13bf508a6bd74f393a811e48d71dde21f6aa793812d5ff001c865a956a322/detection

https://www.virustotal.com/#/file/00a8377c1e1f0218efd1a1d2cccc729d50b89a160219cd3e0441d147941d5856/detection

https://www.virustotal.com/#/file/e91fcef4c39a53b41eb0f3d59c4802a834bcb5563f26e59ed6677297d5034d6c/detection

-he pasado el bkav y no los detecta.
-Y el ahnlab-v3 no consigo descargarmelo de forma gratuita y que funcione para windows 10 que es donde estoy haciendo todas las pruebas de eliminacion hasta ahora con exito, pero los siguientes 3 enlaces no consigo eliminar los VIRUS


Alguna alma caritativa que me diga con que software puedo eliminarlo. Gracias
7  Seguridad Informática / Bugs y Exploits / Re: proteger binario con gcc (falta proteger = PIE) en: 2 Mayo 2018, 07:30 am
Perdona por contestar tarde entonces lo dejo asi. ¿ESTARIAN todas las PROTECCIONES? ¿que mas tengo que aprender sobre linux exploiting? me vendria bien algunos blogs

Código
  1. gcc -fstack-protector -fPIE -Wl,-z,relro,-z,now petanca.c -o petanca
  2.  

estoy siguiendo algo de este indice, pero no me puedo permitir inscribirme al curso por falta de tiempo y dinero.
https://cursos.securizame.com/courses/reversing-y-exploiting-avanzado-en-windows-y-linux/

SOLO quiero aprender sobre reversing linux y linux exploiting ya que el software libre me apasiona mas y me gustaria dedicarme mas a este mundo.

Gracias espero una ayuda
8  Seguridad Informática / Bugs y Exploits / Re: proteger binario con gcc (falta proteger = PIE) en: 25 Abril 2018, 21:34 pm
no veo ningun cambio agregandole esa opcion, alguien que haya utilizado GCC para este caso
9  Seguridad Informática / Bugs y Exploits / proteger binario con gcc (falta proteger = PIE) en: 25 Abril 2018, 19:40 pm
RELRO           STACK CANARY      NX            PIE             RPATH      RUNPATH      FILE
Full RELRO      Canary found      NX enabled    Not an ELF file   No RPATH   No RUNPATH   petanca


me falta por proteger el PIE ya que el script que lanzo me dice que falta esa proteccion, me la muestra en naranja.

Código
  1. gcc -fstack-protector -Wl,-z,relro,-z,now petanca.c -o petanca
  2.  
10  Seguridad Informática / Seguridad / Re: Buscamos persona experta en INYECCION SQL - PAGOS MUY MUY GRANDES POR OBJETIVO en: 3 Marzo 2018, 20:42 pm
ya te enviado un email
Páginas: [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 ... 31
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines