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

 

 


Tema destacado: Guía actualizada para evitar que un ransomware ataque tu empresa


  Mostrar Mensajes
Páginas: 1 ... 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 [47] 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 ... 172
461  Seguridad Informática / Hacking / Re: Disponibles las presentaciones de la DEFCON 19 en: 11 Agosto 2011, 23:58 pm
Se trata de las presentaciones que se usaron en las charlas de DEFCON en formato PDF.

462  Seguridad Informática / Hacking / Re: Disponibles las presentaciones de la DEFCON 19 en: 11 Agosto 2011, 22:32 pm
Con JDownloader parece que se pueden descargar, estoy intentando descargarlas todas.
463  Comunicaciones / Redes / Re: Probar Windows 2008 en Virtual Box en: 11 Agosto 2011, 21:05 pm
Dentro de éste subforo hay un taller llamado: [Taller]Instalación/Configuración y Teoría de Servicios en Red.

Donde se habla justo de lo que necesitas:

Windows Server:

    Instalar Active Directory en Windows Server 2008.
    Crear usuarios y grupos, unir un equipo a un dominio y perfiles móviles.

Mira el tutorial y comprueba si no se te ha escapado algo.
464  Seguridad Informática / Hacking / Disponibles las presentaciones de la DEFCON 19 en: 11 Agosto 2011, 21:03 pm
Ya están disponibles las presentaciones (PDF) de la recién acabada Defcon19.
 Vía| CyberHades.

465  Comunicaciones / Redes / Re: [Apache] Problemas para servir contenido comprimido .gz ! en: 11 Agosto 2011, 00:22 am


Se ve perfectamente. Y en el código fuente me sale:


Código
  1. <head>
  2. <title>Sitio compromido al maximo</title>
  3. <meta http-equiv="Vary" content="Accept-Encoding" />
  4. <link rel="stylesheet" type="text/css" href="codigo.cgz" />
  5. </head>
  6.  
  7. <body>
  8. <div id="caja">Caja en el centro con background amarillo y borde negro.</div>
  9.  
  10. </body>
  11. </html>

Por lo tanto, lo está descomprimiendo bien.
466  Programación / PHP / Re: Algoritmo Key Words en: 10 Agosto 2011, 23:12 pm
Lo he hecho de otra manera, aunque la función de drvy es más flexible (filtra palabras).


Código
  1. <?php
  2.  
  3. /*
  4. * Returns the most repetead words (llonger than $long)
  5. * given in a string
  6. *@author MadPitbull
  7. */
  8. function kWords($txt, $lim, $long = 3) {
  9.  
  10. $e = explode(" ", str_replace(array(",", "."), " ", strtolower($txt)));
  11. arsort($a); array_shift($a);
  12. $p = array_keys($a);
  13. for ($l = 0; $l < count($p); $l++) {
  14. if (strlen($p[$l]) >= $long ) {
  15. $f[] = $p[$l];
  16. }
  17. }
  18. for ($i = 0; $i < $lim; $i++) {
  19. $kW[] = $f[$i];
  20. }
  21. return $kW;
  22. }
  23.  
  24.  
  25. $txt = "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.";
  26. $txt2 = "Silence! Stupid monkey. I kill you. You think you\'r better than my chicken! NO! Stupid monkey. My chicken is better than you! I kill you! Stupid monkey... my chicken is the best!";
  27. $txt3 = "Note that in a multidimensional array, each element may be identified by a _sequence_ of keys, i.e. the keys that lead towards that element. Thus \"preserving keys\" may have different interpretations. Ivan's function for example creates a two-dimensional array preserving the last two keys. Other functions below create a one-dimensional array preserving the last key. For completeness, I will add a function that merges the key sequence by a given separator and a function that preserves the last n keys, where n is arbitrary.";
  28. kWords($txt, 5, 4);
  29.  
  30.  
  31. ?>

Primer parámetro: el texto donde buscar; Segundo: es el número de palabras que quieres "filtrar"; Tercero: número mínimo de caracteres que debe tener la palabra.

Devuelve un array, de tipo:
Código:

Array
(
    [0] => stupid
    [1] => monkey
    [2] => chicken
    [3] => you!
    [4] => than
)
467  Seguridad Informática / Nivel Web / Re: Consulta sobre vulnerabilidad para SQL Injection en: 10 Agosto 2011, 22:36 pm
Introducción a los Web Application Firewalls (WAF).

Va de lo mismo, firewalls para aplicaciones web, seguramente por eso te salga ese error.


PD: Acabo de ver la fecha del post. ¿Porque respondéis a estos temas?
468  Comunicaciones / Redes / Re: Wifi lento en xp en: 10 Agosto 2011, 22:31 pm
Es normal que la velocidad de descarga sea menor.

Mira en las especificaciones de los distintos estándares de WiFi las velocidades de cada uno:

Wireless Standards - 802.11b 802.11a 802.11g and 802.11n - The 802.11 family explained.

Claramente las especificaciones de GigaBit (por cable) son mayores: Ethernet.
469  Comunicaciones / Redes / Re: Implementación de un servidor en una Pyme en: 10 Agosto 2011, 22:20 pm
1.) No sé si te refieres al Sistema Operativo o algún servidor físico.
Un buen equipo puede ser un IBM o un HP. Para una empresa pequeña, la gama BladeSystem de HP o las torres-servidor de IBM pueden ser una buen opción.
Como sistema operativo, te recomiendo Linux. La distribución depende mucho de tu nivel de trabajo con éste SO. Si eres principiante, usa Debian, en caso contrario CentOs, RedHat y demás.

2.) Al ser sólo un servidor, no creo que se caliente mucho. De todas formas he visto servidores "refrigerados" con ventiladores (una institución pública bastante grande).
470  Comunicaciones / Redes / Re: [Apache] Problemas para servir contenido comprimido .gz ! en: 10 Agosto 2011, 22:10 pm
No siempre hace falta poner la extensión .gz, ya que en teoría, la compresión-descompresión se hace en segundo plano.
 
En tu sitio (lab.sie-group) al crear la hoja de estilos le pusiste tú esa extensión? O la agrega el servidor de forma dinámica?

En teoría no hace falta ponerle la extensión .gz si en las cabeceras HTTP le envías:

Código:
 Accept-Encoding: gzip

Los de GoDaddy creo que hacen algo así:

Código
  1. <?php if (substr_count($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip')) ob_start("ob_gzhandler"); else ob_start(); ?>

Fuente: Compressing Web Pages for Faster Load Times.

Mediante .htaccess también puedes detectar si el navegador del usuario tiene GZip:

Código:
<files *.js.gz>
  AddType "text/javascript" .gz
  AddEncoding gzip .gz
</files>
<files *.css.gz>
  AddType "text/css" .gz
  AddEncoding gzip .gz
</files>
RewriteEngine on
#Check to see if browser can accept gzip files.
ReWriteCond %{HTTP:accept-encoding} gzip
RewriteCond %{HTTP_USER_AGENT} !Safari
#make sure there's no trailing .gz on the url
ReWriteCond %{REQUEST_FILENAME} !^.+\.gz$
#check to see if a .gz version of the file exists.
RewriteCond %{REQUEST_FILENAME}.gz -f
#All conditions met so add .gz to URL filename (invisibly)
RewriteRule ^(.+) $1.gz [QSA,L]

O si vas a incluir los recursos (css y js) con la extensión .gz, lo más probable es que se lo tengas que indicar al servidor, al igual que arriba, mediante .htaccess:

Código:
AddEncoding gzip .gz
RewriteCond %{HTTP:Accept-encoding} gzip
RewriteCond %{HTTP_USER_AGENT} !Safari
RewriteCond %{REQUEST_FILENAME}.gz -f
RewriteRule ^(.*)$ $1.gz [QSA,L]

Otro ejemplo de configuración del .htaccess es:

Código:
# compress text, html, javascript, css, xml:
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript

# Or, compress certain file types by extension:
<Files *.html>
SetOutputFilter DEFLATE
</Files>

Si te fijas en los comentarios, le estás indicando que sirva "comprimidos" todos esos tipos MIME.
Páginas: 1 ... 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 [47] 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 ... 172
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines