<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
   <title>Alejandro Ramos :: personal webpage</title>
   <link rel="alternate" type="text/html" href="http://www.unsec.net/" />
   <link rel="self" type="application/atom+xml" href="http://www.unsec.net/atom.xml" />
   <id>tag:www.unsec.net,2008://1</id>
   <updated>2008-08-20T22:43:29Z</updated>
   
   <generator uri="http://www.sixapart.com/movabletype/">Movable Type 3.37</generator>

<entry>
   <title>Script Rapidshare.</title>
   <link rel="alternate" type="text/html" href="http://www.unsec.net/2008/08/script_rapidshare.html" />
   <id>tag:www.unsec.net,2008://1.129</id>
   
   <published>2008-08-18T12:48:31Z</published>
   <updated>2008-08-20T22:43:29Z</updated>
   
   <summary>A dia de hoy funciona, aunque a nada que cambien la web dejará de hacerlo y no creo que lo actualice: http://www.unsec.net/rapid.sh...</summary>
   <author>
      <name></name>
      
   </author>
         <category term="aplicaciones" scheme="http://www.sixapart.com/ns/types#category" />
   
   
   <content type="html" xml:lang="es" xml:base="http://www.unsec.net/">
      <![CDATA[A dia de hoy funciona, aunque a nada que cambien la web dejará de hacerlo y no creo que lo actualice:
<a href="http://www.unsec.net/rapid.sh">http://www.unsec.net/rapid.sh</a>

]]>
      
   </content>
</entry>
<entry>
   <title>Aleron al Nmap</title>
   <link rel="alternate" type="text/html" href="http://www.unsec.net/2008/08/aleron_al_nmap.html" />
   <id>tag:www.unsec.net,2008://1.128</id>
   
   <published>2008-08-14T23:59:10Z</published>
   <updated>2008-08-15T00:01:24Z</updated>
   
   <summary>De la charla de fyodor en la defcon: (notese que solo mira el puerto 80) nmap -T4 --max_rtt_timeout 200 --initial_rtt_timeout 150 --min_hostgroup 512 --max_retries 0 -n -P0 -p80 -oA Log X.X.X.X/X...</summary>
   <author>
      <name></name>
      
   </author>
         <category term="network" scheme="http://www.sixapart.com/ns/types#category" />
   
   
   <content type="html" xml:lang="es" xml:base="http://www.unsec.net/">
      De la charla de fyodor en la defcon:

(notese que solo mira el puerto 80)

nmap -T4 --max_rtt_timeout 200 --initial_rtt_timeout 150 --min_hostgroup 512 --max_retries 0 -n 
-P0 -p80 -oA Log X.X.X.X/X

      
   </content>
</entry>
<entry>
   <title>Redimensionar una imagen</title>
   <link rel="alternate" type="text/html" href="http://www.unsec.net/2008/07/redimensionar_una_imagen.html" />
   <id>tag:www.unsec.net,2008://1.127</id>
   
   <published>2008-07-22T20:04:46Z</published>
   <updated>2008-07-22T20:07:54Z</updated>
   
   <summary>Aplicación similar a ImageResizer de las PowerToys de XP, pero para Vista. http://blogs.msdn.com/cumgranosalis/pages/image-resizer-download-page.aspx...</summary>
   <author>
      <name></name>
      
   </author>
         <category term="aplicaciones" scheme="http://www.sixapart.com/ns/types#category" />
   
   
   <content type="html" xml:lang="es" xml:base="http://www.unsec.net/">
      <![CDATA[Aplicación similar a <a href="http://www.microsoft.com/windowsxp/Downloads/powertoys/Xppowertoys.mspx">ImageResizer </a>de las PowerToys de XP, pero para Vista.

<a href="http://blogs.msdn.com/cumgranosalis/pages/image-resizer-download-page.aspx">http://blogs.msdn.com/cumgranosalis/pages/image-resizer-download-page.aspx</a>]]>
      
   </content>
</entry>
<entry>
   <title>Una linea random de un fichero en bash</title>
   <link rel="alternate" type="text/html" href="http://www.unsec.net/2008/07/una_linea_random_de_un_fichero.html" />
   <id>tag:www.unsec.net,2008://1.126</id>
   
   <published>2008-07-08T16:51:07Z</published>
   <updated>2008-07-08T16:56:44Z</updated>
   
   <summary>Mediante sed: sed -n $[ $RANDOM % $(wc -l...</summary>
   <author>
      <name></name>
      
   </author>
         <category term="sistemas operativos" scheme="http://www.sixapart.com/ns/types#category" />
   
   
   <content type="html" xml:lang="es" xml:base="http://www.unsec.net/">
      <![CDATA[Mediante sed:

<blockquote>sed -n $[ $RANDOM % $(wc -l < $filename) ]p $filename
</blockquote>]]>
      
   </content>
</entry>
<entry>
   <title>Convertir ficheros avi (divx, multimedia) para moviles nokia/symbian</title>
   <link rel="alternate" type="text/html" href="http://www.unsec.net/2008/02/convertir_ficheros_avi_divx_mu.html" />
   <id>tag:www.unsec.net,2008://1.124</id>
   
   <published>2008-02-22T09:20:50Z</published>
   <updated>2008-02-22T09:24:51Z</updated>
   
   <summary>Tan sencillo como: For nokia n80 ffmpeg -i &quot;$1&quot; -ar 16000 -ac 1 -acodec aac -vcodec mpeg4 -s 352x288 -r 24 -b 350 -ab 32 &quot;$1.3gp&quot; Nokia s60 ffmpeg -i movie.avi -s 172x144 -r 10 -ac 1 -b 48 -ab...</summary>
   <author>
      <name></name>
      
   </author>
         <category term="aplicaciones" scheme="http://www.sixapart.com/ns/types#category" />
   
   
   <content type="html" xml:lang="es" xml:base="http://www.unsec.net/">
      <![CDATA[Tan sencillo como:

<strong>For nokia n80</strong>
ffmpeg -i "$1" -ar 16000 -ac 1 -acodec aac -vcodec mpeg4 -s 352x288 -r 24 -b 350 -ab 32 "$1.3gp"

<strong>Nokia s60</strong>
ffmpeg -i movie.avi -s 172x144 -r 10 -ac 1 -b 48 -ab 12 movie.3gp

<strong>Nokia NSeries</strong>
ffmpeg -i movie.avi -f mp4 -vcodec mpeg4 -b 250000 -r 15 -s 320x176 -acodec aac -ar 24000 -ab 64 -ac 2 movie.mp4

<strong>Nokia 3250, 5500, E50, E62</strong>
ffmpeg -i movie.avi -f 3gp -vcodec 3gp -b 100000 -s 320x176 -r 12 -acodec aac -ar 8000 -ab 16 -ac 1 movie.3gp

<strong>For Ipod</strong>
ffmpeg -vcodec xvid -i input.avi -b 375 -qmax 10 -bufsize 8192 -g 300 -acodec aac -ab 96 -ac 2 -s 320×192 output.mp4

<strong>Ipod (fullscreen)</strong>
ffmpeg -i in.avi -f mp4 -vcodec mpeg4 -maxrate 1000 -b 700 -qmin 3 -qmax 5 -bufsize 4096 -g 300 -acodec aac -ab 192 -s 320x240 -aspect 4:3 out.mp4

<strong>Ipod (widescreen)</strong>
ffmpeg -i in.avi -f mp4 -vcodec mpeg4 -maxrate 1000 -b 700 -qmin 3 -qmax 5 -bufsize 4096 -g 300 -acodec aac -ab 192 -s 320x180 -aspect 16:9 out.mp4

<strong>Yo para mi e61i uso</strong>: ffmpeg -i movie.avi -f mp4 -vcodec mpeg4 -b 250000 -r 15 -s 320x176 -acodec aac -ar 24000 -ab 64 -ac 2 movie.mp4

Desde: <a href="http://apairudin.blogspot.com/2008_01_01_archive.html">http://apairudin.blogspot.com/2008_01_01_archive.html</a>
Y: <a href="http://blogs.s60.com/s60multimedia/2006/11/video_transcoding_using_ffmpeg.html">http://blogs.s60.com/s60multimedia/2006/11/video_transcoding_using_ffmpeg.html
</a>]]>
      
   </content>
</entry>
<entry>
   <title>Permisos en recursos compartidos (share auditing)</title>
   <link rel="alternate" type="text/html" href="http://www.unsec.net/2008/02/permisos_en_recursos_compartid.html" />
   <id>tag:www.unsec.net,2008://1.123</id>
   
   <published>2008-02-12T12:02:26Z</published>
   <updated>2008-02-12T12:07:47Z</updated>
   
   <summary>Unos cuantos links. * http://setacl.sourceforge.net/index.html * http://www.somarsoft.com/ (DumpSec) * http://www.sysinternals.com/ntw2k/source/shareenum.shtml * http://www.sysinternals.com/ntw2k/source/accessenum.shtml * http://www.scriptlogic.com/products/security%2Dexplorer/...</summary>
   <author>
      <name></name>
      
   </author>
         <category term="seguridad" scheme="http://www.sixapart.com/ns/types#category" />
   
   
   <content type="html" xml:lang="es" xml:base="http://www.unsec.net/">
      <![CDATA[Unos cuantos links.

* <a href="http://setacl.sourceforge.net/index.html">http://setacl.sourceforge.net/index.html</a>
* <a href="http://www.somarsoft.com/ (DumpSec)">http://www.somarsoft.com/ (DumpSec)</a>
* <a href="http://www.sysinternals.com/ntw2k/source/shareenum.shtml">http://www.sysinternals.com/ntw2k/source/shareenum.shtml</a>
* <a href="http://www.sysinternals.com/ntw2k/source/accessenum.shtml">http://www.sysinternals.com/ntw2k/source/accessenum.shtml</a>
* <a href="http://www.scriptlogic.com/products/security%2Dexplorer/">http://www.scriptlogic.com/products/security%2Dexplorer/</a>
]]>
      
   </content>
</entry>
<entry>
   <title>netstat -tanp en Windows</title>
   <link rel="alternate" type="text/html" href="http://www.unsec.net/2008/02/netstat_tanp_en_windows.html" />
   <id>tag:www.unsec.net,2008://1.122</id>
   
   <published>2008-02-09T14:11:14Z</published>
   <updated>2008-02-09T14:48:52Z</updated>
   
   <summary>Para conocer que procesos abren que puertos, tal y como hace linux con el parametro -p en netstat, en Windows hay que usar dos comandos C:\&gt; netstat -ano Con el que se conocen el número PID asociado al puerto abierto...</summary>
   <author>
      <name></name>
      
   </author>
         <category term="network" scheme="http://www.sixapart.com/ns/types#category" />
   
   
   <content type="html" xml:lang="es" xml:base="http://www.unsec.net/">
      Para conocer que procesos abren que puertos, tal y como hace linux con el parametro -p en netstat, en Windows hay que usar dos comandos

C:\&gt; netstat -ano 

Con el que se conocen el número PID asociado al puerto abierto (en estado LISTENING), y tasklist, para encontrar la relación nombre con PID

c:\&gt; tasklist | find &quot;PID&quot;

En Windows XP (SP2) se puede utilizar el parametro -b de netstat directamente
      
   </content>
</entry>
<entry>
   <title>Obtención de información de adaptadores de red Windows</title>
   <link rel="alternate" type="text/html" href="http://www.unsec.net/2008/02/obtencion_de_informacion_de_ad.html" />
   <id>tag:www.unsec.net,2008://1.121</id>
   
   <published>2008-02-09T14:03:40Z</published>
   <updated>2008-02-09T14:04:46Z</updated>
   
   <summary>Mediante WMI, con las limitaciones que ello implica C:\&gt; wmic nic list C:\&gt; wmic nicconfig...</summary>
   <author>
      <name></name>
      
   </author>
         <category term="sistemas operativos" scheme="http://www.sixapart.com/ns/types#category" />
   
   
   <content type="html" xml:lang="es" xml:base="http://www.unsec.net/">
      Mediante WMI, con las limitaciones que ello implica

C:\&gt; wmic nic list
C:\&gt; wmic nicconfig
      
   </content>
</entry>
<entry>
   <title>Detección de puertos abiertos en local (Windows)</title>
   <link rel="alternate" type="text/html" href="http://www.unsec.net/2008/02/deteccion_de_puertos_abiertos.html" />
   <id>tag:www.unsec.net,2008://1.120</id>
   
   <published>2008-02-09T13:43:47Z</published>
   <updated>2008-02-09T13:48:00Z</updated>
   
   <summary>Para detectar puertos abiertos sin privilegios de administrador, a lo netstat: Openports: http://www.diamondcs.com.au/consoletools.php...</summary>
   <author>
      <name></name>
      
   </author>
         <category term="sistemas operativos" scheme="http://www.sixapart.com/ns/types#category" />
   
   
   <content type="html" xml:lang="es" xml:base="http://www.unsec.net/">
      <![CDATA[Para detectar puertos abiertos sin privilegios de administrador, a lo netstat:

Openports: <a href="http://www.diamondcs.com.au/consoletools.php">http://www.diamondcs.com.au/consoletools.php</a>
]]>
      
   </content>
</entry>
<entry>
   <title>wardialing tools</title>
   <link rel="alternate" type="text/html" href="http://www.unsec.net/2008/02/wardialing_tools.html" />
   <id>tag:www.unsec.net,2008://1.125</id>
   
   <published>2008-02-07T20:07:05Z</published>
   <updated>2008-08-30T20:05:39Z</updated>
   
   <summary>* Phonesweep: http://www.sandstorm.net/products/phonesweep/ * TeleSweep: http://www.securelogix.com/modemscanner/index.htm * Xiscan: http://www.xiscan.com/introduction/xiscan.html * ModemScan: http://www.wardial.net/default.html * iwar: http://www.softwink.com/iwar/ * thc-scan (sin link por ser de THC) * toneloc (sin link por deprecated) * PAW/PAWS: http://www.wyae.de/software/paw/ * - T-Kit http://www.t-kit.com/, Windows, commercial...</summary>
   <author>
      <name></name>
      
   </author>
         <category term="seguridad" scheme="http://www.sixapart.com/ns/types#category" />
   
   
   <content type="html" xml:lang="es" xml:base="http://www.unsec.net/">
      <![CDATA[* Phonesweep: <a href="http://www.sandstorm.net/products/phonesweep/">http://www.sandstorm.net/products/phonesweep/</a>
* TeleSweep:
<a href="http://www.securelogix.com/modemscanner/index.htm">http://www.securelogix.com/modemscanner/index.htm</a>
* Xiscan: <a href="http://www.xiscan.com/introduction/xiscan.html">http://www.xiscan.com/introduction/xiscan.html</a>
* ModemScan: <a href="http://www.wardial.net/default.html">http://www.wardial.net/default.html</a>
* iwar: <a href="http://www.softwink.com/iwar/">http://www.softwink.com/iwar/</a>
* thc-scan (sin link por ser de THC)
* toneloc (sin link por deprecated)
* PAW/PAWS: <a href="http://www.wyae.de/software/paw/">http://www.wyae.de/software/paw/</a>
* - T-Kit <a href="http://www.t-kit.com/, Windows, commercial">http://www.t-kit.com/, Windows, commercial</a>]]>
      
   </content>
</entry>
<entry>
   <title>Cracking de passwords de oracle</title>
   <link rel="alternate" type="text/html" href="http://www.unsec.net/2008/01/cracking_de_passwords_de_oracl.html" />
   <id>tag:www.unsec.net,2008://1.119</id>
   
   <published>2008-01-30T23:37:11Z</published>
   <updated>2008-01-30T23:37:50Z</updated>
   
   <summary> Rehan, On Fri, 25 Jan 2008, ahgaber_rehan@yahoo.com wrote: &gt; Hi All , i am auditing Oracle DB , i have requested the DBA to extract &gt; all Password has in text file, i have the list, any body have...</summary>
   <author>
      <name></name>
      
   </author>
   
   
   <content type="html" xml:lang="es" xml:base="http://www.unsec.net/">
      <![CDATA[
<blockquote>Rehan,

On Fri, 25 Jan 2008, ahgaber_rehan@yahoo.com wrote:

> Hi All , i am auditing Oracle DB , i have requested the DBA to extract
> all Password has in text file, i have the list, any body have a tool
> which can import the file and verify the hash against my dictionary ? i
> have cain , but i couldn’t find the option to import the list of
> passwords, it’s done 1 by 1

Here's a list of Oracle offline password cracking tools:

- bob the butcher (http://btb.banquise.net/)
- hashattack (http://802.11ninja.net/code/hashattack-0.2.0.tgz)
- orabf (http://www.toolcrypt.org/index.html?orabf)
- pass_cracker (http://www.trantechnologies.com/pass_cracker.zip)

I personally use Alexander Kornbrust's excellent checkpwd, in conjuction
with a small helper script i made:

http://www.0xdeadbeef.info/code/oracrack
http://www.red-database-security.com/software/checkpwd.html

You can easily edit your password list to make it fit the format required
by the script (an awk/sed one-liner should be enough;).

Other useful miscellaneous information about Oracle auditing:

http://seclists.org/pen-test/2007/May/0096.html
http://www.vulnerabilityassessment.co.uk/Penetration%20Test.html
http://freeworld.thc.org/thc-orakel/
http://www.milw0rm.com/related.php?program=Oracle

Cheers,

--
Marco Ivaldi, OPST</blockquote>]]>
      
   </content>
</entry>
<entry>
   <title>Solaris mostrar los dispositivos en los bus PCI</title>
   <link rel="alternate" type="text/html" href="http://www.unsec.net/2008/01/solaris_mostrar_los_dispositiv.html" />
   <id>tag:www.unsec.net,2008://1.118</id>
   
   <published>2008-01-10T08:56:46Z</published>
   <updated>2008-01-10T08:59:22Z</updated>
   
   <summary>Prtconf prtvconf y prtdiag...</summary>
   <author>
      <name></name>
      
   </author>
         <category term="sistemas operativos" scheme="http://www.sixapart.com/ns/types#category" />
   
   
   <content type="html" xml:lang="es" xml:base="http://www.unsec.net/">
      Prtconf prtvconf y prtdiag
      
   </content>
</entry>
<entry>
   <title>Desbloquear y arreglar Nokia BB5</title>
   <link rel="alternate" type="text/html" href="http://www.unsec.net/2008/01/desbloquear_y_arreglar_nokia_b.html" />
   <id>tag:www.unsec.net,2008://1.117</id>
   
   <published>2008-01-08T15:32:45Z</published>
   <updated>2008-01-08T15:34:19Z</updated>
   
   <summary> De:http://www.3gspain.org/foros/showthread.php?t=6114&amp;page=4 Por fin eh encontrado la SOLUCION para que mi telefono acepte mi tarjeta, me explico: Tengo un movil N70 Vodafone ,cuando quise liberalo utilizando el cable DKU-5 y de software BB5. que ocurrio? pues como a muchos me...</summary>
   <author>
      <name></name>
      
   </author>
         <category term="aplicaciones" scheme="http://www.sixapart.com/ns/types#category" />
   
   
   <content type="html" xml:lang="es" xml:base="http://www.unsec.net/">
      <![CDATA[
De:<a href="http://www.3gspain.org/foros/showthread.php?t=6114&page=4">http://www.3gspain.org/foros/showthread.php?t=6114&page=4</a>

<blockquote>Por fin eh encontrado la SOLUCION para que mi telefono acepte mi tarjeta, me explico:
Tengo un movil N70 Vodafone ,cuando quise liberalo utilizando el cable DKU-5 y de software BB5. que ocurrio? pues como a muchos me fallo en el proceso y despues la famosa frase "sp data is corrupted" (la odio, menudo susto me dio).
Bueno despues de esto no aceptaba la tarjeta y casi me cago por que el movil tiene una semana y ya me estaba imaginadome en la tienda inventandome una excusa para que colara( que no iba a colar por que estan cansados de este tipo de problemas).
Consulte muchos foros lo intente todo (este tambien por supuesto), y no me sirvio de nada, horas rompiendome la cabeza para nada, pero en una pagina de internet ( http://www.oobonioo.com/modules.php?...=article&sid=3 )ley algo que me hizo pensar que igual la solucion era no dejar pensar al telefono a la hora de utilizar el bb5, entonces lo que hice fue (con tarjeta sim y todo), conectar el cable al telefono abrir el programa, apagar el telefono, volver a encenderlo y tan pronto como encendio la luz blanca darle a " WR backup " y "sorpresa" mi tarjeta volvio a FUNCIONAR.

Como no me puedo estar quieto, al final intente liberar el movil siguiendo todos los pasos con el bb5 pero con un unico detalle, para conseguir el log hice lo mismo apague-encendi, y para meter el codigo con la opcion SP Unlock apague-encendi, y premio, movil desbloqueado, eso si lo hice sin cerrar nunca el programa bb5.</blockquote>

El truco está en dar al boton primero del software y luego encender el movil, y todo solucionado.]]>
      
   </content>
</entry>
<entry>
   <title>Obtención de información : Detección de proxys y otros</title>
   <link rel="alternate" type="text/html" href="http://www.unsec.net/2007/12/obtencion_de_informacion_detec.html" />
   <id>tag:www.unsec.net,2007://1.116</id>
   
   <published>2007-12-06T21:58:10Z</published>
   <updated>2007-12-06T22:06:14Z</updated>
   
   <summary>Es util para hacer mapas de red o recopilar información la búsqueda de IPs en google, usandola con comillas, por ejemplo introducciendo el query: &quot;91.121.84.156&quot;. Si se buscan todas las IPs de todos los rangos que se tengan de una...</summary>
   <author>
      <name></name>
      
   </author>
         <category term="seguridad" scheme="http://www.sixapart.com/ns/types#category" />
   
   
   <content type="html" xml:lang="es" xml:base="http://www.unsec.net/">
      <![CDATA[Es util para hacer mapas de red o recopilar información la búsqueda de IPs en google, usandola con comillas, por ejemplo introducciendo el query: "91.121.84.156". Si se buscan todas las IPs de todos los rangos que se tengan de una compañia, posiblemente, como poco, se detecte el proxy o dirección de salida que ha sido almacenada en distintos foros, aplicaciones de estadística, etc.

Nada del otro mundo, pero me lo dejo anotado, devuelve:    IP:numero_de_links_en_google


<blockquote>fichero=$1
for i in `cat $fichero`; do
  R=`lynx -dump "http://www.google.com/search?q=%22$i%22"`
  if [ `echo "$R" |  grep -i "did not match any documents" | wc -l ` == 0 ]
        then
        H=`echo "$R"| awk '/Results/ { print $7,$8}'|sed -e s/for// -e s/about\ //`
       echo $i:$H
 fi
done</blockquote>
]]>
      
   </content>
</entry>
<entry>
   <title>Crear RSS de directorios GLFTPD</title>
   <link rel="alternate" type="text/html" href="http://www.unsec.net/2007/11/crear_rss_de_directorios_glftp.html" />
   <id>tag:www.unsec.net,2007://1.115</id>
   
   <published>2007-11-24T16:17:47Z</published>
   <updated>2007-11-24T16:24:57Z</updated>
   
   <summary>Pequeño script para genear un archivo RSS con los directorios que se van creando dentro un glftpd. Para que funcione hace falta que sea llamado desde el project-zs-ng, en concreto, habria que modificar el zsconfig.h a estos valores: #define enable_complete_script...</summary>
   <author>
      <name></name>
      
   </author>
         <category term="aplicaciones" scheme="http://www.sixapart.com/ns/types#category" />
   
   
   <content type="html" xml:lang="es" xml:base="http://www.unsec.net/">
      <![CDATA[Pequeño script para genear un archivo RSS con los directorios que se van creando dentro un glftpd. Para que funcione hace falta que sea llamado desde el project-zs-ng, en concreto, habria que modificar el zsconfig.h a estos valores:

#define enable_complete_script          TRUE
#define complete_script                 "/bin/glftpd2rss.sh"

Otra opción es  modificandolo un poco, se puede ejecutar con un cscript propio del glftpd, cada vez que se llame a "MKD".

Basicamente genera entradas con el nombre del directorio y su tamaño. 

Ya que el glftpd se ejecuta enjaulado, requiere que el directorio donde se genera el RSS (y copian los archivos NFO) este visible desde el propio DocumentRoot del servidor web. Algo que se puede hacer mediante un mound --bind o un link.

Download: <a href="http://www.unsec.net/download/glftpd2rss.sh">glftpd2rss.sh</a>



]]>
      
   </content>
</entry>

</feed>
