<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1910359432533512546</id><updated>2026-06-18T23:34:57.650-07:00</updated><category term="SOFTWARE LIBRE"/><category term="UNIX"/><category term="HACKS"/><category term="software"/><category term="tecnologia"/><category term="OCIO"/><category term="How-to"/><category term="DIVERCION"/><category term="CULTURA"/><category term="FESTIVOS"/><category term="My phics"/><title type='text'>Villatux Blog &amp;lt;--</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://villatux.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://villatux.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>villatux</name><uri>http://www.blogger.com/profile/01016018492902392384</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4YegHqUG7K9TUb7RvVnaoxAAZ7LsmZHJURgy-0DUGGDIfSoGGJLwpVNh5wH611DOJB22cKPD6hF-_zlM8uUoCy5Hq1SzciJXdIjxliud-3o1D1D6cCN0YMRp-yxZNqA/s1600/*'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>174</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1910359432533512546.post-8505495258003757255</id><published>2015-06-12T14:54:00.004-06:00</published><updated>2015-06-12T14:55:20.455-06:00</updated><title type='text'>Test ports (applications)  from command line UNIX</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;Commands to test applications (ports open)&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Here you go three commands to test ports open. in this case im testing the port 80 of the site google.com&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
nc -v google.com 80&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdop8HEgHDV2E5lzgOCsTMDISbPmi6eLip0Woo-uiNoKII_rRq6ZToAEtonWA3gBTh10IYUpRucRvgQOmaELoZZ3b8QGmsNNm6fJNSNxgxsp5uaEAM-0Cr6SBoK_ddGF7t-vaJtp75KIM/s1600/Selection_120.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;32&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdop8HEgHDV2E5lzgOCsTMDISbPmi6eLip0Woo-uiNoKII_rRq6ZToAEtonWA3gBTh10IYUpRucRvgQOmaELoZZ3b8QGmsNNm6fJNSNxgxsp5uaEAM-0Cr6SBoK_ddGF7t-vaJtp75KIM/s400/Selection_120.png&quot; width=&quot;400&quot; /&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
telnet google.com.mx 80 &lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWJt6v8CfuVEk5l-qI6d6hXtKnbk5hmE8xkKxzcXMZvQyKqx-XD0a3XRoKz9MlXeVAqhAxVZk_fyiFVEk2kinmKZqtdazM_3Wlye76DU-DYizmpoe2j9O5ZKMd7WqD0H9XK5pZFxqeIkA/s1600/Selection_121.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;60&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWJt6v8CfuVEk5l-qI6d6hXtKnbk5hmE8xkKxzcXMZvQyKqx-XD0a3XRoKz9MlXeVAqhAxVZk_fyiFVEk2kinmKZqtdazM_3Wlye76DU-DYizmpoe2j9O5ZKMd7WqD0H9XK5pZFxqeIkA/s400/Selection_121.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
nmap google.com.mx -p 80&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_U8iWL0a7OxSkNopgWAZTi4rYptwj1AFEBaGrYKRJhn7MXsBbzvOOiUjBy16AVS2eeqtmsO0Z-YLNJ8IZwskmfbapvAeza_XHG7EVs_xOhuyo-rMMDrcp_2t2fLAvMeju9Ue4o5lHxYI/s1600/Selection_122.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;150&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_U8iWL0a7OxSkNopgWAZTi4rYptwj1AFEBaGrYKRJhn7MXsBbzvOOiUjBy16AVS2eeqtmsO0Z-YLNJ8IZwskmfbapvAeza_XHG7EVs_xOhuyo-rMMDrcp_2t2fLAvMeju9Ue4o5lHxYI/s400/Selection_122.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://villatux.blogspot.com/feeds/8505495258003757255/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1910359432533512546/8505495258003757255?isPopup=true' title='2 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/8505495258003757255'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/8505495258003757255'/><link rel='alternate' type='text/html' href='http://villatux.blogspot.com/2015/06/test-ports-applications-from-command.html' title='Test ports (applications)  from command line UNIX'/><author><name>villatux</name><uri>http://www.blogger.com/profile/01016018492902392384</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4YegHqUG7K9TUb7RvVnaoxAAZ7LsmZHJURgy-0DUGGDIfSoGGJLwpVNh5wH611DOJB22cKPD6hF-_zlM8uUoCy5Hq1SzciJXdIjxliud-3o1D1D6cCN0YMRp-yxZNqA/s1600/*'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdop8HEgHDV2E5lzgOCsTMDISbPmi6eLip0Woo-uiNoKII_rRq6ZToAEtonWA3gBTh10IYUpRucRvgQOmaELoZZ3b8QGmsNNm6fJNSNxgxsp5uaEAM-0Cr6SBoK_ddGF7t-vaJtp75KIM/s72-c/Selection_120.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1910359432533512546.post-8645975671326028358</id><published>2015-06-10T13:18:00.000-06:00</published><updated>2015-06-10T13:18:08.882-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="How-to"/><category scheme="http://www.blogger.com/atom/ns#" term="tecnologia"/><category scheme="http://www.blogger.com/atom/ns#" term="UNIX"/><title type='text'>Start and stop services in AIX (SSH)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1.First check the status of the service (SSH) giving the below command
&lt;br /&gt;
&lt;span style=&quot;color: #999999;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;#lssrc -s sshd
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Stop the service (SSH) by giving the below command
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #999999;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;#stoptsrc -s sshd&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
3. Start the service (SSH) &lt;br /&gt;
&lt;span style=&quot;color: #999999;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;#startsrc -s sshd&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Note: &lt;/b&gt;&lt;br /&gt;
If you want to list all available services on the machine:&lt;br /&gt;
 &lt;br /&gt;
&lt;span style=&quot;color: #999999;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;#lssrc -a&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
For more information about the commands:&lt;br /&gt;
&lt;span style=&quot;color: #999999;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;man &lt;command&gt;&lt;/command&gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://villatux.blogspot.com/feeds/8645975671326028358/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1910359432533512546/8645975671326028358?isPopup=true' title='3 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/8645975671326028358'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/8645975671326028358'/><link rel='alternate' type='text/html' href='http://villatux.blogspot.com/2015/06/start-and-stop-services-in-aix-ssh.html' title='Start and stop services in AIX (SSH)'/><author><name>villatux</name><uri>http://www.blogger.com/profile/01016018492902392384</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4YegHqUG7K9TUb7RvVnaoxAAZ7LsmZHJURgy-0DUGGDIfSoGGJLwpVNh5wH611DOJB22cKPD6hF-_zlM8uUoCy5Hq1SzciJXdIjxliud-3o1D1D6cCN0YMRp-yxZNqA/s1600/*'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1910359432533512546.post-111456264982947056</id><published>2014-11-24T12:08:00.000-07:00</published><updated>2014-11-24T12:39:10.187-07:00</updated><title type='text'>Bloquear y desbloquear direcciones IP con iptables</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Una de situaciones más importantes como Administrador de sistemas es la seguridad, es por eso que en este post les mostraré como bloquear direcciones ip en un servidor para que no tengan acceso a el &amp;nbsp; o bien bloquear las conexiones salientes hacia una IP determinada (en el caso de que se use ese servidor como gateway/router)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;BLOQUEAR&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Bloquear acceso a ip:&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;iptables -A INPUT -s 189.240.240.8 -j DROP&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Bloquear acceso a ip pero en un puerto y protocolo especifico:&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;iptables -A INPUT -s 189.240.240.8 -p tcp --destination-port 25 -j DROP&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Bloquear conexión hacia IP:&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;iptables -A INPUT -d 189.240.240.8 -j DROP&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;DESBLOQUEAR&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Desbloquear acceso de IP:&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;iptables -D INPUT -s 189.240.240.8 -j DROP&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Desbloquear conexión a hacia IP:&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;iptables -D INPUT -d 189.240.240.8 -j DROP&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Ver reglas de iptables:&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;iptables --list&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;REGLAS PERMANENTES&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Si deseas que estas reglas se queden de manera permanente es necesario instalar :&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #f9f9f9; color: #3f4042; font-family: monospace, Courier; font-size: 14px; line-height: 1.3em;&quot;&gt;apt-get install iptables-persistent&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
para luego ingresar las reglas que iptables cargará desde el inicio de el equipo.&lt;br /&gt;
&lt;br /&gt;
Archivo para IPv4:&amp;nbsp;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;code style=&quot;background-color: #f9f9f9; color: #3f4042; font-size: 14px; line-height: 23px;&quot;&gt;/etc/iptables/rules.v4&lt;/code&gt;&lt;span style=&quot;background-color: white; color: #3f4042; font-size: 14px; line-height: 23px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Archivo para IPv6:&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;&lt;code style=&quot;background-color: #f9f9f9; color: #3f4042; line-height: 23px;&quot;&gt;/etc/iptables/rules.v6&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://villatux.blogspot.com/feeds/111456264982947056/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1910359432533512546/111456264982947056?isPopup=true' title='1 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/111456264982947056'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/111456264982947056'/><link rel='alternate' type='text/html' href='http://villatux.blogspot.com/2014/11/bloquear-y-desbloquear-ips-con-iptables.html' title='Bloquear y desbloquear direcciones IP con iptables'/><author><name>villatux</name><uri>http://www.blogger.com/profile/01016018492902392384</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4YegHqUG7K9TUb7RvVnaoxAAZ7LsmZHJURgy-0DUGGDIfSoGGJLwpVNh5wH611DOJB22cKPD6hF-_zlM8uUoCy5Hq1SzciJXdIjxliud-3o1D1D6cCN0YMRp-yxZNqA/s1600/*'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1910359432533512546.post-2002031826233348813</id><published>2014-11-14T11:57:00.000-07:00</published><updated>2014-11-14T12:09:07.995-07:00</updated><title type='text'>Realizar conexiones SSH sin password</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
En este post le mostraré como hacer conexiones SSH sin utilizar password de manera permanente.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Escenario:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTLbUFB9lKtS3LjsjFB07d5SJh9gUIDM44lqs64NtM8mD3wg7Zw_dAryG3A6V-Q2pT1d0TEh4E7TPUFJoFFYyiay113VtYKcMvkywlyT_QNuVXIQhiR0D8VY5vFogATperDZ6jaBUJU4s/s1600/ssh_sin_pass.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTLbUFB9lKtS3LjsjFB07d5SJh9gUIDM44lqs64NtM8mD3wg7Zw_dAryG3A6V-Q2pT1d0TEh4E7TPUFJoFFYyiay113VtYKcMvkywlyT_QNuVXIQhiR0D8VY5vFogATperDZ6jaBUJU4s/s1600/ssh_sin_pass.png&quot; height=&quot;141&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
PC2 necesita conectarse a PC1 por ssh sin utilizar password&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Procedimiento:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
1 ) Generar la llave pública (en PC2)&lt;br /&gt;
&lt;br /&gt;
ssh-keygen -b 4096 -t rsa&lt;br /&gt;
&lt;br /&gt;
Te pedirá tres datos, &amp;nbsp;en todos ellos solo es necesario dar [ENTER] sin introducir información&lt;br /&gt;
&lt;br /&gt;
2 ) &amp;nbsp;Mandar la llave pubica de PC2 a PC1&lt;br /&gt;
&lt;br /&gt;
ssh-copy-id root@192.168.0.2&lt;br /&gt;
&lt;br /&gt;
Te pedirá por única ocasión la contraseña de PC1&lt;br /&gt;
&lt;br /&gt;
A partir de este momento podemos hacer una conexion SSH a PC1 sin utilizar password:&lt;br /&gt;
Ejemplo:&lt;br /&gt;
ssh root@192.168.0.2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;NOTAS:&lt;/b&gt;&lt;br /&gt;
* En ambos equipos es necesario tener el servidor ssh&lt;br /&gt;
* Se deben respetar los usuarios con los que se generan las llaves públicas ya que con esos mismos usuarios deberás hacer la conexión SSH para que no te pida password. &amp;nbsp;si usas otros usuarios te lo pedirá.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://villatux.blogspot.com/feeds/2002031826233348813/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1910359432533512546/2002031826233348813?isPopup=true' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/2002031826233348813'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/2002031826233348813'/><link rel='alternate' type='text/html' href='http://villatux.blogspot.com/2014/11/realizar-conexiones-ssh-sin-password.html' title='Realizar conexiones SSH sin password'/><author><name>villatux</name><uri>http://www.blogger.com/profile/01016018492902392384</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4YegHqUG7K9TUb7RvVnaoxAAZ7LsmZHJURgy-0DUGGDIfSoGGJLwpVNh5wH611DOJB22cKPD6hF-_zlM8uUoCy5Hq1SzciJXdIjxliud-3o1D1D6cCN0YMRp-yxZNqA/s1600/*'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTLbUFB9lKtS3LjsjFB07d5SJh9gUIDM44lqs64NtM8mD3wg7Zw_dAryG3A6V-Q2pT1d0TEh4E7TPUFJoFFYyiay113VtYKcMvkywlyT_QNuVXIQhiR0D8VY5vFogATperDZ6jaBUJU4s/s72-c/ssh_sin_pass.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1910359432533512546.post-507894313253991013</id><published>2014-11-12T14:29:00.000-07:00</published><updated>2014-11-12T14:30:28.445-07:00</updated><title type='text'>SSH Inverso (saltando firewall con ssh)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;Propósito:&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Acceder a PC1 por ssh (está bajo firewall) desde PC2 (Con acceso público)&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgARrtdHZYP-p5YEtdG25qiTTy2I5Oegz0rTrRnMdj91WtYRKUJF0QkMC-6XrZ94GUKa5MzTfvbOz8UuTiIvhF5P8meRlX2ikJvBKaTOktsHiOep8urAA9c_UbS3405r1r5wIBdGX94sMg/s1600/ssh_inverso.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgARrtdHZYP-p5YEtdG25qiTTy2I5Oegz0rTrRnMdj91WtYRKUJF0QkMC-6XrZ94GUKa5MzTfvbOz8UuTiIvhF5P8meRlX2ikJvBKaTOktsHiOep8urAA9c_UbS3405r1r5wIBdGX94sMg/s1600/ssh_inverso.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;PASO 1&lt;/b&gt; (en PC1)&lt;br /&gt;
ssh -v -NR 3333:127.0.0.1:22 villatux@189.224.13.X&lt;br /&gt;
&lt;br /&gt;
- Nos pedirá el password de PC2&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;PASO 2&lt;/b&gt; (En PC2)&lt;br /&gt;
ssh -v usuario@127.0.0.1 -p 3333&lt;br /&gt;
&lt;br /&gt;
- Nos pedirá el password de PC1&lt;br /&gt;
&lt;br /&gt;
Con esto podremos establecer conexión SSH desde PC2 A PC1 sin la necesidad de que PC1 tenga abierto los puertos de SSH en su firewall local&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://villatux.blogspot.com/feeds/507894313253991013/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1910359432533512546/507894313253991013?isPopup=true' title='1 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/507894313253991013'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/507894313253991013'/><link rel='alternate' type='text/html' href='http://villatux.blogspot.com/2014/11/ssh-inverso-saltando-firewall-con-ssh.html' title='SSH Inverso (saltando firewall con ssh)'/><author><name>villatux</name><uri>http://www.blogger.com/profile/01016018492902392384</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4YegHqUG7K9TUb7RvVnaoxAAZ7LsmZHJURgy-0DUGGDIfSoGGJLwpVNh5wH611DOJB22cKPD6hF-_zlM8uUoCy5Hq1SzciJXdIjxliud-3o1D1D6cCN0YMRp-yxZNqA/s1600/*'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgARrtdHZYP-p5YEtdG25qiTTy2I5Oegz0rTrRnMdj91WtYRKUJF0QkMC-6XrZ94GUKa5MzTfvbOz8UuTiIvhF5P8meRlX2ikJvBKaTOktsHiOep8urAA9c_UbS3405r1r5wIBdGX94sMg/s72-c/ssh_inverso.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1910359432533512546.post-5602745359441747449</id><published>2014-10-10T15:02:00.000-06:00</published><updated>2014-10-20T15:04:22.799-06:00</updated><title type='text'>Generar contraseñas random</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Cuando generas &lt;b&gt;muchas cuentas de usuario&lt;/b&gt;, es muy engorroso ponerle una contraseña a cada uno y asegurarte de que sea segura.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Con este comando puedes &lt;b&gt;generar contraseñas tan seguras como gustes&lt;/b&gt; de manera random,&amp;nbsp; el cual puedes utilizar en tus scripts de creación de usuarios:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;
 date +%s | md5sum | base64|&amp;nbsp; head -c 8 ; echo
&lt;/pre&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;Descripción:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
date +%s&amp;nbsp; :&amp;nbsp; nos muestra la fecha en formato timestamp indicando los segundos&lt;br /&gt;
md5sum : encripta la salida anterior en md5&lt;br /&gt;
base64 :&amp;nbsp; encripta la salida anterior en base64&lt;br /&gt;
head -c 8: muestra solo los primeros 8 caracteres&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://villatux.blogspot.com/feeds/5602745359441747449/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1910359432533512546/5602745359441747449?isPopup=true' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/5602745359441747449'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/5602745359441747449'/><link rel='alternate' type='text/html' href='http://villatux.blogspot.com/2014/10/generar-contrasenas-random.html' title='Generar contraseñas random'/><author><name>villatux</name><uri>http://www.blogger.com/profile/01016018492902392384</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4YegHqUG7K9TUb7RvVnaoxAAZ7LsmZHJURgy-0DUGGDIfSoGGJLwpVNh5wH611DOJB22cKPD6hF-_zlM8uUoCy5Hq1SzciJXdIjxliud-3o1D1D6cCN0YMRp-yxZNqA/s1600/*'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1910359432533512546.post-1935330036130351635</id><published>2014-10-07T13:02:00.001-06:00</published><updated>2014-10-07T13:02:20.458-06:00</updated><title type='text'>Error en Postfix &quot;Message size exceeds fixed limit&quot;</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Cuando ocurre este error &lt;b&gt;no pueden salir correos por medio de el servidor&lt;/b&gt;, y esto es debido a que el correo es muy pesado o el adjunto está muy grande y pesado.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Para solucionarlo&lt;/b&gt; cambiamos los valores de /etc/postfix/main.cf a lo siguiente :&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;
mailbox_size_limit = 0
message_size_limit = 0
virtual_mailbox_limit = 0
&lt;/pre&gt;
&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;si no tienes estos parámetros, &lt;b&gt;puedes incluirlos en el archivo de configuración&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;container&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://villatux.blogspot.com/feeds/1935330036130351635/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1910359432533512546/1935330036130351635?isPopup=true' title='1 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/1935330036130351635'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/1935330036130351635'/><link rel='alternate' type='text/html' href='http://villatux.blogspot.com/2014/10/error-en-postfix-message-size-exceeds.html' title='Error en Postfix &quot;Message size exceeds fixed limit&quot;'/><author><name>villatux</name><uri>http://www.blogger.com/profile/01016018492902392384</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4YegHqUG7K9TUb7RvVnaoxAAZ7LsmZHJURgy-0DUGGDIfSoGGJLwpVNh5wH611DOJB22cKPD6hF-_zlM8uUoCy5Hq1SzciJXdIjxliud-3o1D1D6cCN0YMRp-yxZNqA/s1600/*'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1910359432533512546.post-5015124743151036684</id><published>2014-09-26T09:54:00.000-06:00</published><updated>2014-09-30T09:59:01.366-06:00</updated><title type='text'>Vulnerabilidad en BASH CVE-2014-6271 &quot;Shellshock&quot;</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Les dejo este howto para que actualicen el paquete &quot;bash&quot; ya que tiene la vulnerabilidad&amp;nbsp; BASH CVE-2014-6271 &quot;Shellshock&quot;&amp;nbsp;&amp;nbsp; y con ella tu servidor puede ser comprometido y con el toda la información contenida.&lt;br /&gt;
&lt;br /&gt;&lt;b&gt;Verifica si eres vulnerable&lt;/b&gt;&lt;br /&gt;
En una terminal ejecuta el siguiente comando:&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;
env x=&#39;() { :;}; echo vulnerable&#39; bash -c &quot;esto es una prueba&quot;
&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;Si eres vulnerable&lt;/b&gt; te saldrá un mensaje:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;
vulnerable
esto es una prueba
&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;Si no eres vulnerable &lt;/b&gt;te saldrá unicamente:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;
esto es una prueba
&lt;/pre&gt;
&lt;br /&gt;
Para actualizar bash &lt;b&gt;primero debes actualizar la lista de paquetes&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;
apt-get update
&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;y luego actualizar bash &lt;/b&gt;&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;
apt-get install --only-upgrade bash
&lt;/pre&gt;
&lt;br /&gt;
Si no se actualizó bash, es que &lt;b&gt;no tienes correctamente tus repositorios de paquetes.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
edita el /etc/apt/sources.list&amp;nbsp; y agrega el siguiente repo: &lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;
deb http://ftp.debian.org/debian sid main contrib non-free
&lt;/pre&gt;
&lt;br /&gt;
despues e esto &lt;b&gt;vuelve a actualizar bash&lt;/b&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://villatux.blogspot.com/feeds/5015124743151036684/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1910359432533512546/5015124743151036684?isPopup=true' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/5015124743151036684'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/5015124743151036684'/><link rel='alternate' type='text/html' href='http://villatux.blogspot.com/2014/09/vulnerabilidad-en-bash-cve-2014-6271.html' title='Vulnerabilidad en BASH CVE-2014-6271 &quot;Shellshock&quot;'/><author><name>villatux</name><uri>http://www.blogger.com/profile/01016018492902392384</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4YegHqUG7K9TUb7RvVnaoxAAZ7LsmZHJURgy-0DUGGDIfSoGGJLwpVNh5wH611DOJB22cKPD6hF-_zlM8uUoCy5Hq1SzciJXdIjxliud-3o1D1D6cCN0YMRp-yxZNqA/s1600/*'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1910359432533512546.post-6575169098340791188</id><published>2014-09-04T14:13:00.003-06:00</published><updated>2015-01-09T08:26:53.605-07:00</updated><title type='text'>Vaciar la cola de correo en postfix</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Es una de las cosas secillas pero no menos importantes a la hora de administrar un servidor de correo.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Mostrar los correos encolados:&lt;/b&gt;&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;mailq
&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;Eliminar un correo en cola:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;postsuper -d queue_id
&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;Ver contenido de un correo:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;postcat -q queue_id
&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;Eliminar TODOS los correos en cola:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;postsuper -d ALL
&lt;/pre&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://villatux.blogspot.com/feeds/6575169098340791188/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1910359432533512546/6575169098340791188?isPopup=true' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/6575169098340791188'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/6575169098340791188'/><link rel='alternate' type='text/html' href='http://villatux.blogspot.com/2014/09/vaciar-la-cola-de-correo-en-postfix.html' title='Vaciar la cola de correo en postfix'/><author><name>villatux</name><uri>http://www.blogger.com/profile/01016018492902392384</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4YegHqUG7K9TUb7RvVnaoxAAZ7LsmZHJURgy-0DUGGDIfSoGGJLwpVNh5wH611DOJB22cKPD6hF-_zlM8uUoCy5Hq1SzciJXdIjxliud-3o1D1D6cCN0YMRp-yxZNqA/s1600/*'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1910359432533512546.post-6324293577296947010</id><published>2014-08-18T01:14:00.000-06:00</published><updated>2014-08-18T01:14:00.287-06:00</updated><title type='text'>Sustituir palabras en VI /VIM</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
A veces estamos editanto archivos ya sea de configuración o programación, y resulta necesario cambiar muchas coincidencias en patrones de texto dentro de nuestros archivos.&lt;br /&gt;
&lt;br /&gt;
para cambiar de una sola vez todos los patrones dentro de VI podemos usar este comendo &lt;b&gt;dentro de la edición:&lt;/b&gt;&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;
%s/palabra_a_sustituir/palabra_nueva/g
&lt;/pre&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://villatux.blogspot.com/feeds/6324293577296947010/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1910359432533512546/6324293577296947010?isPopup=true' title='1 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/6324293577296947010'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/6324293577296947010'/><link rel='alternate' type='text/html' href='http://villatux.blogspot.com/2014/08/sustituir-palabras-en-vi-vim.html' title='Sustituir palabras en VI /VIM'/><author><name>villatux</name><uri>http://www.blogger.com/profile/01016018492902392384</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4YegHqUG7K9TUb7RvVnaoxAAZ7LsmZHJURgy-0DUGGDIfSoGGJLwpVNh5wH611DOJB22cKPD6hF-_zlM8uUoCy5Hq1SzciJXdIjxliud-3o1D1D6cCN0YMRp-yxZNqA/s1600/*'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1910359432533512546.post-2760178864942171181</id><published>2014-07-24T15:07:00.000-06:00</published><updated>2014-07-24T15:07:05.980-06:00</updated><title type='text'>El primer smartphone holográfico de mundo: Takee 1</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
A mi parecer es un nuevo mundo en el nicho de videojuegos y aplicaciones para automatización o ejecución de acciones a distancia.&lt;br /&gt;
&lt;br /&gt;
Juzgalo por ti mismo:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;iframe class=&quot;youtube-player&quot; type=&quot;text/html&quot; width=&quot;640&quot; height=&quot;385&quot; src=&quot;http://www.youtube.com/embed/gyY8c0jtz_Y&quot; frameborder=&quot;0&quot;&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://villatux.blogspot.com/feeds/2760178864942171181/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1910359432533512546/2760178864942171181?isPopup=true' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/2760178864942171181'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/2760178864942171181'/><link rel='alternate' type='text/html' href='http://villatux.blogspot.com/2014/07/el-primer-smartphone-holografico-de.html' title='El primer smartphone holográfico de mundo: Takee 1'/><author><name>villatux</name><uri>http://www.blogger.com/profile/01016018492902392384</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4YegHqUG7K9TUb7RvVnaoxAAZ7LsmZHJURgy-0DUGGDIfSoGGJLwpVNh5wH611DOJB22cKPD6hF-_zlM8uUoCy5Hq1SzciJXdIjxliud-3o1D1D6cCN0YMRp-yxZNqA/s1600/*'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/gyY8c0jtz_Y/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1910359432533512546.post-3174186496163294819</id><published>2014-06-29T19:12:00.000-06:00</published><updated>2014-06-29T19:36:53.503-06:00</updated><title type='text'>FFMPEG Convertidor en formatos de audio y vídeo </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;Convertir formatos de video con ffmpeg&lt;/b&gt;&lt;br /&gt;
Para hacer esto tienes que tener instalado ffmpeg, si no lo tienes, lo puedes instalar con el comando:&lt;br /&gt;
&lt;br /&gt;
sudo apt-get install ffmpeg&lt;br /&gt;
&lt;br /&gt;
Una de las opciones para hacer las conversiones es con la &lt;b&gt;Interfaz Gráfica&lt;/b&gt;, que podemos instalar con el comando:&lt;br /&gt;
&lt;br /&gt;
sudo apt-get install winff&lt;br /&gt;
&lt;br /&gt;
Para poder trabajar con los &lt;b&gt;formatos de video .ogg y .ogv &lt;/b&gt;instalamos mencoder con el comando:&lt;br /&gt;
&lt;br /&gt;
sudo apt-get install mencoder&lt;br /&gt;
&lt;br /&gt;
Para poder trabajar con &lt;b&gt;CODECS PRIVATIVOS&lt;/b&gt; o con problemas de licencia instalar el paquete Ubuntu Restricted Extras (para mp3...) con:&lt;br /&gt;
&lt;br /&gt;
sudo apt-get install ubuntu-restricted-extras&lt;br /&gt;
&lt;br /&gt;
Si nos encontramos problemas para convertir a .avi es que &lt;b&gt;nos falta el paquete libavcodec-unstripped-52&lt;/b&gt;. Lo instalamos ejecutando en una terminal el siguiente comando:&lt;br /&gt;
&lt;br /&gt;
sudo apt-get install libavcodec-unstripped-52&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;La forma de convertir videos es la siguiente:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
ffmpeg -i video_a_convertir.avi video_convertido.mpg&lt;br /&gt;
&lt;br /&gt;
Las opciones: &lt;br /&gt;
-i → Lo comentado. La orden básica para iniciar la conversión de archivos.&lt;br /&gt;
-b → El bitrate del vídeo resultante tras la conversión. El bitrate es uno de los determinantes de la calidad de imagen del vídeo resultante. Esto también afectará al peso total del archivo tras la conversión; algo a tener en cuenta si deseamos grabar el vídeo en formato físico (dvd’s, cd’s, etc.) o no contamos con memoria suficiente en el dispositivo externo de memoria.&lt;br /&gt;
-vcodec → la codificación que utilizaremos para el vídeo resultante. Como véis, en este caso es mpeg4.&lt;br /&gt;
-s → las dimensiones del vídeo. En el caso de ejemplo, 640×360.&lt;br /&gt;
-acodec → códec elegido para el audio.&lt;br /&gt;
-ac → canales de audio establecidos. Si no los establecemos, por defecto se determina un canal.&lt;br /&gt;
-ab → el bitrate del audio.&lt;br /&gt;
Obviamente, el proceso de conversión consumirá más o menos tiempo en función de la portencia de vuestro equipo, de las variables de ejecución de ffmpeg y del archivo a convertir.&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;EJEMPLOS:&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;De .mov -&amp;gt; .avi&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
ffmpeg -i video.mov -sameq -vcodec msmpeg4v2 -acodec pcm_u8 video.avi&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;De .avi -&amp;gt; .mp4&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
ffmpeg -i video.avi -b 750000 -vcodec mpeg4 -s 640×360 -acodec libfaac -ac 2 -ab 96000 video.mp4&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;De .flv -&amp;gt; .avi&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
ffmpeg -i video1.flv video2.avi&lt;br /&gt;
&lt;br /&gt;
Se puede controlar los ratios de compresión, resolución... (peso y calidad), por ejemplo:&lt;br /&gt;
&lt;br /&gt;
ffmpeg -i video.wmv -ab 56 -ar 22050 -r 15 -s 320×240 video.flv&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;Formatos de audio&lt;/b&gt;&lt;br /&gt;
ffmpeg -i audio.wma -f mp3 -ab 192 audio.mp3&lt;br /&gt;
&lt;br /&gt;
ffmpeg -i audio.mp3 -acodec amr_nb -ar 8000 -ac 1 -ab 32 audio.amr&lt;br /&gt;
&lt;br /&gt;
ffmpeg -i audio.wav -acodec mp3 -ab 32 -ar 44100 audio.mp3&lt;br /&gt;
&lt;br /&gt;
ffmpeg -i video.mpg -f mp3 audio.mp3&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Fromatos de video&lt;/b&gt;&lt;br /&gt;
ffmpeg -i video.avi -acodec mp3 -ar 11025 video.flv&lt;br /&gt;&lt;br /&gt;
ffmpeg -i video.avi -target pal-vcd video.mpg&lt;br /&gt;&lt;br /&gt;
ffmpeg -i video.mpg -vcodec flv -y video.flv&lt;br /&gt;&lt;br /&gt;
ffmpeg -i video.flv video.mpeg&lt;br /&gt;&lt;br /&gt;
ffmpeg -i video.flv video.avi&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://villatux.blogspot.com/feeds/3174186496163294819/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1910359432533512546/3174186496163294819?isPopup=true' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/3174186496163294819'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/3174186496163294819'/><link rel='alternate' type='text/html' href='http://villatux.blogspot.com/2014/06/ffmpeg-convertidor-en-formatos-de-audio.html' title='FFMPEG Convertidor en formatos de audio y vídeo '/><author><name>villatux</name><uri>http://www.blogger.com/profile/01016018492902392384</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4YegHqUG7K9TUb7RvVnaoxAAZ7LsmZHJURgy-0DUGGDIfSoGGJLwpVNh5wH611DOJB22cKPD6hF-_zlM8uUoCy5Hq1SzciJXdIjxliud-3o1D1D6cCN0YMRp-yxZNqA/s1600/*'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1910359432533512546.post-7669610051540979943</id><published>2014-06-19T06:39:00.000-06:00</published><updated>2014-06-19T11:04:03.744-06:00</updated><title type='text'>Consultar IP pública desde terminal</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Puedes consultar la ip publica desde tu terminal&amp;nbsp; con un sólo comando, o vía web si lo deseas en el mismo sitio.&lt;br /&gt;
&lt;br /&gt;
El sitio en el que consultas es: &lt;a href=&quot;http://ifconfig.me/&quot;&gt;ifconfig.me&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;TERMINAL:&lt;/b&gt;&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt; curl ifconfig.me
&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;WEB&lt;/b&gt;&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;http://ifconfig.me 
&lt;/pre&gt;
&lt;br /&gt;
en la web podrás ver algo como esto:&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwbNqDYg0F07F4PbC2wqxt2I0PB1tPdHs9w-i2CejFmkoNE0IgeHZuFCH4wiVgpQtSBlFsaVkijfCP4nx4_vomCk31qIzQcHHt9MCoVFp4otJvu_PuOv2P3tPBAs7rCrANX-6uyrm-iK4/s1600/ifconfig.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwbNqDYg0F07F4PbC2wqxt2I0PB1tPdHs9w-i2CejFmkoNE0IgeHZuFCH4wiVgpQtSBlFsaVkijfCP4nx4_vomCk31qIzQcHHt9MCoVFp4otJvu_PuOv2P3tPBAs7rCrANX-6uyrm-iK4/s1600/ifconfig.png&quot; height=&quot;328&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;table id=&quot;cli_table&quot; summary=&quot;cli&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;cli_command&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;cli_arrow&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;cli_command&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;cli_arrow&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;cli_command&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;cli_arrow&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;cli_command&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;cli_arrow&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;cli_command&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;cli_arrow&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;cli_command&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;cli_arrow&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;cli_command&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;cli_arrow&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;cli_command&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;cli_arrow&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;cli_command&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;cli_arrow&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;cli_command&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;cli_arrow&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;cli_command&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;cli_arrow&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;cli_command&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;cli_arrow&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;cli_command&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;cli_arrow&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://villatux.blogspot.com/feeds/7669610051540979943/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1910359432533512546/7669610051540979943?isPopup=true' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/7669610051540979943'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/7669610051540979943'/><link rel='alternate' type='text/html' href='http://villatux.blogspot.com/2014/06/consultar-ip-publica-desde-terminal.html' title='Consultar IP pública desde terminal'/><author><name>villatux</name><uri>http://www.blogger.com/profile/01016018492902392384</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4YegHqUG7K9TUb7RvVnaoxAAZ7LsmZHJURgy-0DUGGDIfSoGGJLwpVNh5wH611DOJB22cKPD6hF-_zlM8uUoCy5Hq1SzciJXdIjxliud-3o1D1D6cCN0YMRp-yxZNqA/s1600/*'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwbNqDYg0F07F4PbC2wqxt2I0PB1tPdHs9w-i2CejFmkoNE0IgeHZuFCH4wiVgpQtSBlFsaVkijfCP4nx4_vomCk31qIzQcHHt9MCoVFp4otJvu_PuOv2P3tPBAs7rCrANX-6uyrm-iK4/s72-c/ifconfig.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1910359432533512546.post-6319894719063030742</id><published>2014-06-18T10:56:00.000-06:00</published><updated>2014-06-18T10:59:50.404-06:00</updated><title type='text'>Encriptar archivos con GPG</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Si quieres encriptar tus archivos para que nadie tenga acceso a ellos, más que la persona que tenga la contraseña, lo puedes hacer con &lt;a href=&quot;https://en.wikipedia.org/wiki/GNU_Privacy_Guard&quot;&gt;GPG (GNU Privacy Guard)&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
GPG maneja los &lt;b&gt;tipos de cifrado&lt;/b&gt;: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;ENCRIPTAR:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Opción 1&lt;/b&gt;&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;
gpg -c miarchivo.tar.gz
&lt;/pre&gt;
&lt;br /&gt;
esto nos pedirá una contraseña que será asignada al binario encriptado y generará un archivo binario .gpg&lt;br /&gt;NOTA: si no recuerdas tu contraseña jamás vas a poder abrir tu archivo de nuevo&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;Opción 2&lt;/b&gt;&lt;br /&gt;Si prefieres que se encripte en modo texto y no en binario ejecuta:&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;
gpg -ca miarchivo.tar.gz
&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;El
 comando anterior generará un archivo sac que se puede abrir con 
cualquier editor de texto plano, aunque no será legible su información.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Opción 3&lt;/b&gt;&lt;br /&gt;Si quieres que tu archivo encriptado tenga otro nombre:&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;
gpg -o otronombre.tar.gz.gpg -c miarchivo.tar.gz
&lt;/pre&gt;
&lt;br /&gt;
Esto
 lo puedes hacer para archivos individuales, pero si lo que necesitas es 
proteger directorios completos, te recomiendo comprimirlos primero y 
luego encriptarlos como en los ejemplos anteriores.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;DESENCRIPTAR:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;
gpg -d miarchivo.tar.gz.gpg
&lt;/pre&gt;

&lt;br /&gt;Nos pedirá la contraseña para desencriptar el archivo.&lt;br /&gt;&lt;br /&gt;
Si deseas más información para los usos y posibilidades de GPG puedes ejecutar :&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;
gpg --help
&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://villatux.blogspot.com/feeds/6319894719063030742/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1910359432533512546/6319894719063030742?isPopup=true' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/6319894719063030742'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/6319894719063030742'/><link rel='alternate' type='text/html' href='http://villatux.blogspot.com/2014/06/encriptar-archivos-con-gpg.html' title='Encriptar archivos con GPG'/><author><name>villatux</name><uri>http://www.blogger.com/profile/01016018492902392384</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4YegHqUG7K9TUb7RvVnaoxAAZ7LsmZHJURgy-0DUGGDIfSoGGJLwpVNh5wH611DOJB22cKPD6hF-_zlM8uUoCy5Hq1SzciJXdIjxliud-3o1D1D6cCN0YMRp-yxZNqA/s1600/*'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1910359432533512546.post-2940487882099172522</id><published>2014-05-23T14:21:00.002-06:00</published><updated>2014-05-23T14:31:14.312-06:00</updated><title type='text'>Analisis forense a whatsapp (cracking msgstore.db.crypt5)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&amp;nbsp;Este tutorial es para los que tienen respaldos de conversaciones &lt;b&gt;con la extensión&amp;nbsp; crypt5&amp;nbsp; de Whatsapp&lt;/b&gt;. Si tienes el crypt normal puedes ver el post anterior:&lt;br /&gt;
&lt;a href=&quot;http://villatux.blogspot.mx/2013/04/analisis-forence-whatsapp-cracking.html&quot;&gt;http://villatux.blogspot.mx/2013/04/analisis-forence-whatsapp-cracking.html &lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Este nuevo tipo de encripción&amp;nbsp; utiliza el correo de google con el que está registrado el telefono + una llave para formar la llave de encripción:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;
echo -n micorreo@gmail.com | md5sum
f114f9011ed7050730b29d78ba7f2883
&lt;/pre&gt;
&lt;br /&gt;
El MD5 resultante tendrá un valor de 32 dígitos hexadecimales&amp;nbsp; y tendremos que convertirlo a un valor de 48 digitos agregando los primeros 16 digitos al final del hash resultante ,&amp;nbsp; nos quedaría algo así la llave para des encriptar:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;
f114f9011ed7050730b29d78ba7f2883f114f9011ed70507
&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
Ahora necesitamos hacer una operación XOR en el hash obtenido de 48 digitos,&amp;nbsp; el resultado nos dará la llave para desencriptar. Para esto es necesario un valor inicializador :&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;
1e39f369e90db33aa73b442bbbb6b0b9
&lt;/pre&gt;
&lt;br /&gt;
Ya teniendo estos valores requeridos , usamos openssl para desencriptar el archivo directamente:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;
openssl enc -aes-192-cbc -d -nosalt -in msgstore.db.crypt5 -out msgstore.db -K [key] -iv [iv]
&lt;/pre&gt;
&lt;br /&gt;
Para hacer el proceso más sencillo &lt;a href=&quot;http://www.digitalinternals.com/author/ibrahim/&quot;&gt;Mohamed Ibrahim&lt;/a&gt; escribió el siguiente script que hace todo el proceso. Para esto es necesario pasarle como parámetro el correo electronico con el que está registrado el teléfono, el nombre de el archivo encriptado&amp;nbsp; y el nombre de el archivo de salida como el siguiente comando:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;
./script.sh micorreo@gmail.com msgstore.db.crypt5 &amp;gt; msgstore.db
&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;SCRIPT:&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;
#!/bin/bash
 
function xor24 ()
{
  x24=$1
  y24=$2
  z24=&quot;&quot;
   
  for ((i=0;i&lt;48;i=i+2))
  do
    x=${x24:$i:2}
    y=${y24:$i:2}
    z=`printf &quot;%02x&quot; $((16#$x^16#$y))`   
    z24=&quot;${z24}${z}&quot;
  done
  echo $z24
}
 
 
if [ &quot;$#&quot; -ne 2 ] ; then
  echo &quot;Usage: $0 (primary-android-email-account) (whatsapp-inputfile) &gt; outputfile&quot;
  exit 1
fi
 
key=8d4b155cc9ff81e5cbf6fa7819366a3ec621a656416cd793   
iv=1e39f369e90db33aa73b442bbbb6b0b9
emailacct=&quot;$1&quot;
infile=&quot;$2&quot;
 
md5_16=`echo -n $emailacct | md5sum | cut -c -32`
md5_24=`echo -n $md5_16 ; echo $md5_16 | cut -c -16`
aeskey=`xor24 $key $md5_24`
 
#openssl enc -aes-192-cbc -d -nosalt -in $infile -K $aeskey  -iv $iv
openssl enc -aes-192-cbc -d -nosalt -nopad -bufsize 16384 -in $infile -K $aeskey  -iv $iv
&lt;/pre&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://villatux.blogspot.com/feeds/2940487882099172522/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1910359432533512546/2940487882099172522?isPopup=true' title='6 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/2940487882099172522'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/2940487882099172522'/><link rel='alternate' type='text/html' href='http://villatux.blogspot.com/2014/05/analisis-forense-whatsapp-cracking.html' title='Analisis forense a whatsapp (cracking msgstore.db.crypt5)'/><author><name>villatux</name><uri>http://www.blogger.com/profile/01016018492902392384</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4YegHqUG7K9TUb7RvVnaoxAAZ7LsmZHJURgy-0DUGGDIfSoGGJLwpVNh5wH611DOJB22cKPD6hF-_zlM8uUoCy5Hq1SzciJXdIjxliud-3o1D1D6cCN0YMRp-yxZNqA/s1600/*'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1910359432533512546.post-4961081831002103904</id><published>2014-05-22T14:43:00.000-06:00</published><updated>2014-05-22T14:43:54.154-06:00</updated><title type='text'>Bloquear dominios con POSTFIX (spam)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Al menos una ves en la vida, si no es que muy seguido, hay spamers que lanzan sus ataques desde nuevos &quot;dominios. Lo cual hace muy complicado la administración deL &lt;a href=&quot;http://es.wikipedia.org/wiki/Servidor_de_correo&quot;&gt;MTA&lt;/a&gt; &lt;br /&gt;
Si tu sistema de bloqueo anti-spam aún no cubre el dominio de las cuentas desde las cuales te están enviando spam tienes estas opciones:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Opcion 1&lt;/b&gt; :&amp;nbsp; bloquear correo por correo, para eliminar posibles ataques desde esa cuenta de correo&amp;nbsp;&amp;nbsp; en /etc/postfix/access (lo explicaré en otro post)&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Opcion 2&lt;/b&gt; : bloquear el dominio completo (tema del post)&lt;br /&gt;
&lt;br /&gt;
En la variable de configuración smtpd_recipient_restrictions que tiene tu /etc/postfix/main.cf&amp;nbsp; (si no lo tiene lo puedes agregar) &lt;br /&gt;
&lt;br /&gt;
En esta parte puedes hacer:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Una lista&amp;nbsp; de direcciones (hash)&lt;/b&gt; de correo a bloquear por ejemplo: comochingo@spam.com, ventas@spam.com, premios@spam.com&amp;nbsp; y así sucesivamente escribiento cada direción exacta para bloquear&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Una expresión regular (regexp)&lt;/b&gt; para bloquear todo lo que sea @spam.com&lt;br /&gt;
&lt;br /&gt;
Con la finalidad de que no se vea &quot;sucio&quot; tu archivo de configuración main.cf recomiendo que&lt;b&gt; agregues tu regexp de la forma&lt;/b&gt;:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;
regexp:/etc/postfix/dominios_bloqueados
&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;quedando así&lt;/b&gt;:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;
smtpd_recipient_restrictions =
permit_mynetworks
reject_unauth_destination
regexp:/etc/postfix/dominios_bloqueados
permit_sasl_authenticated
reject_non_fqdn_hostname
reject_non_fqdn_sender
reject_invalid_hostname
reject_unknown_sender_domain
reject_unknown_recipient_domain
reject_rbl_client blackholes.mail-abuse.org
reject_rbl_client list.dsbl.org
reject_rbl_client sbl.spamhaus.org
reject_rbl_client cbl.abuseat.org
reject_rbl_client dul.dnsbl.sorbs.net
&lt;/pre&gt;
&lt;br /&gt;
Una vez hecho esto &lt;b&gt;creas la lista de tus dominios que quieres bloquear&lt;/b&gt; en : regexp:/etc/postfix/dominios_bloqueados de la siguiente manera:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;
/@spam\.com$/ 521
/@otrodominio\.com$/ 521
/@otrootro\.com$/ 521
&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;NOTA:&lt;/b&gt; los códigos de el MTA los puedes consultar &lt;a href=&quot;http://www.networksorcery.com/enp/protocol/smtp.htm&quot;&gt;AQUI&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Si no queremos bloquear el dominio completo&lt;/b&gt;, cambiamos &quot;regexp:&quot;&amp;nbsp; por &quot;hash&quot; y el archivo de la siguiente forma:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;
comochingo@spam.com 521
ventas@spam.com 521
premios@spam.com 521
&lt;/pre&gt;
&lt;br /&gt;
Ya terminado las configuraciones&amp;nbsp; &lt;b&gt;creamos un archivo entendible para el MTA&lt;/b&gt; a partir de nuestra lista con el comando &lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;
postmap /etc/postfix/dominios_bloqueados
&lt;/pre&gt;
&lt;br /&gt;
después de esto &lt;b&gt;recargamos nuestro POSTFIX&lt;/b&gt;&amp;nbsp; para que funcione con la nueva configuración:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;
/etc/init.d/postfix reload
&lt;/pre&gt;
&lt;br /&gt;
Esto te ayudará bastante en la administración de tu servidor de correo.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://villatux.blogspot.com/feeds/4961081831002103904/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1910359432533512546/4961081831002103904?isPopup=true' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/4961081831002103904'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/4961081831002103904'/><link rel='alternate' type='text/html' href='http://villatux.blogspot.com/2014/05/bloquear-dominios-con-postfix-spam.html' title='Bloquear dominios con POSTFIX (spam)'/><author><name>villatux</name><uri>http://www.blogger.com/profile/01016018492902392384</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4YegHqUG7K9TUb7RvVnaoxAAZ7LsmZHJURgy-0DUGGDIfSoGGJLwpVNh5wH611DOJB22cKPD6hF-_zlM8uUoCy5Hq1SzciJXdIjxliud-3o1D1D6cCN0YMRp-yxZNqA/s1600/*'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1910359432533512546.post-7255591623643252216</id><published>2014-05-21T11:00:00.001-06:00</published><updated>2014-05-21T11:15:06.551-06:00</updated><title type='text'>Mostrar conversaciones de whatsapp  en HTML </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Anteriormente les comentaba como desencriptar los respaldos automáticos de Whatsapp : &lt;a href=&quot;http://villatux.blogspot.mx/2013/04/analisis-forence-whatsapp-cracking.html&quot;&gt;http://villatux.blogspot.mx/2013/04/analisis-forence-whatsapp-cracking.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ahora les pongo a disposición este script para mostrar en tu webserver las converzaciones de Whatsapp (Previamente desencriptadas) y se vean como en la siguiente imagen:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjqdMINL0yIIpXNRZty6nMVehWJVIW2RT84zBz0_RmEluou0jz_hyphenhyphenVmEB8FHSpbRl_0hREKpgDx-HryZn580YbCDqx50quftH1fFsANaexwbfgg4V0VUiWats61335vtEdWblRDkMN2Hc/s1600/Captura+de+pantalla+de+2014-05-21+10:49:58.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjqdMINL0yIIpXNRZty6nMVehWJVIW2RT84zBz0_RmEluou0jz_hyphenhyphenVmEB8FHSpbRl_0hREKpgDx-HryZn580YbCDqx50quftH1fFsANaexwbfgg4V0VUiWats61335vtEdWblRDkMN2Hc/s1600/Captura+de+pantalla+de+2014-05-21+10:49:58.png&quot; height=&quot;225&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Script:&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoYiQ1a9MeA3y-1d5tK-B8rxHj70qL5dzaCceOJuCw_1wevnTyWfTHqXXXuZiwXuWQhSlUeqULgZYau36Vxfaf8JSp1ozvGHdB8idzmPdexiODDcF8_c-c6mU8_Xr41K8YjnmKGBkBr2c/s1600/Selecci%C3%B3n_001.bmp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;s&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoYiQ1a9MeA3y-1d5tK-B8rxHj70qL5dzaCceOJuCw_1wevnTyWfTHqXXXuZiwXuWQhSlUeqULgZYau36Vxfaf8JSp1ozvGHdB8idzmPdexiODDcF8_c-c6mU8_Xr41K8YjnmKGBkBr2c/s1600/Selecci%C3%B3n_001.bmp&quot; height=&quot;391&quot; width=&quot;400&quot; /&gt;&lt;/div&gt;
&lt;br /&gt;
PD. Disculpen que les ponga el código en imagen, pero blogger no me permitió poner parte de el en este post.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://villatux.blogspot.com/feeds/7255591623643252216/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1910359432533512546/7255591623643252216?isPopup=true' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/7255591623643252216'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/7255591623643252216'/><link rel='alternate' type='text/html' href='http://villatux.blogspot.com/2014/05/mostrar-en-html-converzaciones-de.html' title='Mostrar conversaciones de whatsapp  en HTML '/><author><name>villatux</name><uri>http://www.blogger.com/profile/01016018492902392384</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4YegHqUG7K9TUb7RvVnaoxAAZ7LsmZHJURgy-0DUGGDIfSoGGJLwpVNh5wH611DOJB22cKPD6hF-_zlM8uUoCy5Hq1SzciJXdIjxliud-3o1D1D6cCN0YMRp-yxZNqA/s1600/*'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjqdMINL0yIIpXNRZty6nMVehWJVIW2RT84zBz0_RmEluou0jz_hyphenhyphenVmEB8FHSpbRl_0hREKpgDx-HryZn580YbCDqx50quftH1fFsANaexwbfgg4V0VUiWats61335vtEdWblRDkMN2Hc/s72-c/Captura+de+pantalla+de+2014-05-21+10:49:58.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1910359432533512546.post-3365510755647378673</id><published>2014-05-20T14:07:00.002-06:00</published><updated>2014-05-20T14:07:25.697-06:00</updated><title type='text'>Compartir red / internet a partir de Cable de red en Ubuntu  </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;b&gt;LAN a Wifi &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Anteriormente les comentaba como compartir red/internet&amp;nbsp; de&amp;nbsp; Wifi -&amp;gt; LAN&amp;nbsp; en el post: &lt;a href=&quot;http://villatux.blogspot.mx/2014/02/compartir-red-internet-partir-de-wifi.html&quot;&gt;http://villatux.blogspot.mx/2014/02/compartir-red-internet-partir-de-wifi.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ahora les comento la forma inversa de hacer esto,&amp;nbsp; o sea de LAN -&amp;gt; Wifi&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
esto se hace buscando las opciones de red:&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhysi62gUo0nEcwMk7oaFEFbmxjbA1EmcEQY5Qls0qvx1UmT4iP5as6hySwua0ebOFvnk6o-BoIBsRqPHvT4NNuWR2CFfKfA2F3vd55tM4x1ONSbhOQkdCuf08aUKWr7nwkNVQw9Hi7IPI/s1600/Captura+de+pantalla+de+2014-05-20+13%253A33%253A42.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhysi62gUo0nEcwMk7oaFEFbmxjbA1EmcEQY5Qls0qvx1UmT4iP5as6hySwua0ebOFvnk6o-BoIBsRqPHvT4NNuWR2CFfKfA2F3vd55tM4x1ONSbhOQkdCuf08aUKWr7nwkNVQw9Hi7IPI/s1600/Captura+de+pantalla+de+2014-05-20+13%253A33%253A42.png&quot; height=&quot;225&quot; width=&quot;400&quot; /&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
Nos saldrá la siguiente pantalla, y habilitamos la red inalambrica:&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikr5Oe3BoCPKtiuHIxPZCB6qSCFVzHtozbTRRB6UHPnyl58y7_jNDKdc3_XqC-6P6avmJC15mZsRZMJXqXm85-DStbHbkoqEconEArDuMD1kOtLYK5dHZH1TjGPoMOD_mqlqcEU1AWA1A/s1600/Red_002.bmp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikr5Oe3BoCPKtiuHIxPZCB6qSCFVzHtozbTRRB6UHPnyl58y7_jNDKdc3_XqC-6P6avmJC15mZsRZMJXqXm85-DStbHbkoqEconEArDuMD1kOtLYK5dHZH1TjGPoMOD_mqlqcEU1AWA1A/s1600/Red_002.bmp&quot; height=&quot;262&quot; width=&quot;400&quot; /&gt;&amp;nbsp;&lt;/a&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
Damos clic en &quot;Usar como hotspot&quot;&amp;nbsp; :&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjl_PQdItrbVY0eWc0voGYAjf8TOHqh0UIi08Eg4mzCxomLuIXx2qA96CDLHsDfm2MT3ub5kcN_hUp5vt8YyUVhVAPEKt6QNnfFYco5W9s1IFF9gUAZyhFuMVwMz_JWBHP1rLlqWhnElY/s1600/Red_003.bmp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjl_PQdItrbVY0eWc0voGYAjf8TOHqh0UIi08Eg4mzCxomLuIXx2qA96CDLHsDfm2MT3ub5kcN_hUp5vt8YyUVhVAPEKt6QNnfFYco5W9s1IFF9gUAZyhFuMVwMz_JWBHP1rLlqWhnElY/s1600/Red_003.bmp&quot; height=&quot;262&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1IFXoE3NczHUq5B1UvTQ08SMIH9Evlm84McFqJCYfa-L8ggaJnZOHDQeoLMPObyJpuV3B4pEmBmRq9mk0YUvpZBpHumGWWtNSZGaxwhhMWLGCNxq3lDCAkCA5GSN_gHMLzDTkQrrHVlo/s1600/gnome-control-center_004.bmp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1IFXoE3NczHUq5B1UvTQ08SMIH9Evlm84McFqJCYfa-L8ggaJnZOHDQeoLMPObyJpuV3B4pEmBmRq9mk0YUvpZBpHumGWWtNSZGaxwhhMWLGCNxq3lDCAkCA5GSN_gHMLzDTkQrrHVlo/s1600/gnome-control-center_004.bmp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
Confirmamos la activación:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbnmhqMiCsl_wHCy1gCwtOqxzDmfbNSZioUAH9jM18pdKWnk3hd94k4aJbWhHY5MN5ZbE4zuECR2WWJvArDlpxJp_gVbM1KgbVDh0-gaaqeXE9Egx-CgNjb2p7bakjgqR_sWusNToC6g8/s1600/gnome-control-center_004.bmp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbnmhqMiCsl_wHCy1gCwtOqxzDmfbNSZioUAH9jM18pdKWnk3hd94k4aJbWhHY5MN5ZbE4zuECR2WWJvArDlpxJp_gVbM1KgbVDh0-gaaqeXE9Egx-CgNjb2p7bakjgqR_sWusNToC6g8/s1600/gnome-control-center_004.bmp&quot; height=&quot;197&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
Y finalmente nos arrojará el nombre de la red (SSID)&amp;nbsp; y contraseña para conectarte rapidamente:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyFVDh9RNmh4G7jy86nrJJFJQzpQxJc-eNY-53M1cWlLX_zaueShNWnb34uJwHGIVC2KZI1UrAHEMVsGuLOh_3oOLUzQbaf5203bo6wILiH2sCs7HdTcrj8pJU9nYbuWaotZy5R0wwep8/s1600/Red_005.bmp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyFVDh9RNmh4G7jy86nrJJFJQzpQxJc-eNY-53M1cWlLX_zaueShNWnb34uJwHGIVC2KZI1UrAHEMVsGuLOh_3oOLUzQbaf5203bo6wILiH2sCs7HdTcrj8pJU9nYbuWaotZy5R0wwep8/s1600/Red_005.bmp&quot; height=&quot;262&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;NOTA&lt;/b&gt;:&amp;nbsp;&amp;nbsp; Es opcional hacer una configuración para cambiar el modo de cifrado, SSID y otros parametros personalizados.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://villatux.blogspot.com/feeds/3365510755647378673/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1910359432533512546/3365510755647378673?isPopup=true' title='1 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/3365510755647378673'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/3365510755647378673'/><link rel='alternate' type='text/html' href='http://villatux.blogspot.com/2014/05/compartir-red-internet-partir-de-cable.html' title='Compartir red / internet a partir de Cable de red en Ubuntu  '/><author><name>villatux</name><uri>http://www.blogger.com/profile/01016018492902392384</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4YegHqUG7K9TUb7RvVnaoxAAZ7LsmZHJURgy-0DUGGDIfSoGGJLwpVNh5wH611DOJB22cKPD6hF-_zlM8uUoCy5Hq1SzciJXdIjxliud-3o1D1D6cCN0YMRp-yxZNqA/s1600/*'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhysi62gUo0nEcwMk7oaFEFbmxjbA1EmcEQY5Qls0qvx1UmT4iP5as6hySwua0ebOFvnk6o-BoIBsRqPHvT4NNuWR2CFfKfA2F3vd55tM4x1ONSbhOQkdCuf08aUKWr7nwkNVQw9Hi7IPI/s72-c/Captura+de+pantalla+de+2014-05-20+13%253A33%253A42.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1910359432533512546.post-6042878459239982176</id><published>2014-04-30T13:16:00.004-06:00</published><updated>2014-04-30T13:21:29.184-06:00</updated><title type='text'>Solución a GPG error &quot;NO_PUBKEY&quot;</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Esto sucede por que la cláve publica para un repositorio &lt;b&gt;ha cambiado ó no existe&lt;/b&gt;, y por tal motivo no se pueden instalar paquetes o simplemente actualizar los existentes.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;
W: GPG error: http://debian.uchicago.edu etch Release: The following signatures couldn’t be
 verified because the public key is not available: NO_PUBKEY 7D570D06M42584E2
&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;PROBLEMA:&lt;/b&gt;&lt;br /&gt;
Cuando queremos actualizar la lista de paquetes nos aparece esto:&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;
$sudo apt-get update
Get:1 http://debian.linux.org.tw lenny Release.gpg [394B]
Get:2 http://debian.linux.org.tw lenny Release [73.6kB]
Get:3 http://debian.linux.org.tw lenny/main Packages [5310kB]
Fetched 5384kB in 1m13s (73.5kB/s)
Reading package lists... Done
W: There is no public key available for the following key IDs:
7D570D06M42584E2
W: You may want to run apt-get update to correct these problems
&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;SOLUCIÓN: &lt;/b&gt;&lt;br /&gt;
Ahi nos muestra el error, el cual podemos solucionar con los siguientes comandos para agregar la llave publica para los paquetes que están teniendo problemas:&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;
$ gpg --keyserver wwwkeys.eu.pgp.net --recv-keys 7D570D06M42584E2

# You should see the following output while executing the above command.
gpg: Total number processed: 1
gpg:               imported: 1

$ gpg --armor --export 7D570D06M42584E2 | apt-key add -
OK

$sudo apt-get update
&lt;/pre&gt;
&lt;br /&gt;
Con esto ya no debe salir errores al actualizar o instalar paquetes:&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://villatux.blogspot.com/feeds/6042878459239982176/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1910359432533512546/6042878459239982176?isPopup=true' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/6042878459239982176'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/6042878459239982176'/><link rel='alternate' type='text/html' href='http://villatux.blogspot.com/2014/04/solucion-gpg-error-nopubkey.html' title='Solución a GPG error &quot;NO_PUBKEY&quot;'/><author><name>villatux</name><uri>http://www.blogger.com/profile/01016018492902392384</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4YegHqUG7K9TUb7RvVnaoxAAZ7LsmZHJURgy-0DUGGDIfSoGGJLwpVNh5wH611DOJB22cKPD6hF-_zlM8uUoCy5Hq1SzciJXdIjxliud-3o1D1D6cCN0YMRp-yxZNqA/s1600/*'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1910359432533512546.post-6651538033092140264</id><published>2014-04-30T08:57:00.000-06:00</published><updated>2014-04-30T08:58:03.209-06:00</updated><title type='text'>LayoutIt! (crea plantillas web con bootstrap online)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Un excelente sitio, para crear plantillas web&amp;nbsp; con, html, css y javascript&amp;nbsp; usando una interfaz muy amigable con la cual puedes arrastrar al diseño y descargar tu código generado.&lt;br /&gt;
&lt;br /&gt;
Enlace: &lt;a href=&quot;http://www.layoutit.com/&quot;&gt;http://www.layoutit.com/ &lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiso0StE6kM8YnrlH_ujX5YnU-mYkRijDd5EaMuDUCkiw24giw9U3PXu4YAA22wbHjPvH7v-FPWx86mHatMBweSat4V74XPH95SdCyO34wwQW3M6MyRKHLGdCqW_MpfVWQPQxG2bLr1OMw/s1600/Captura+de+pantalla+de+2014-04-30+08:55:47.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiso0StE6kM8YnrlH_ujX5YnU-mYkRijDd5EaMuDUCkiw24giw9U3PXu4YAA22wbHjPvH7v-FPWx86mHatMBweSat4V74XPH95SdCyO34wwQW3M6MyRKHLGdCqW_MpfVWQPQxG2bLr1OMw/s1600/Captura+de+pantalla+de+2014-04-30+08:55:47.png&quot; height=&quot;225&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://villatux.blogspot.com/feeds/6651538033092140264/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1910359432533512546/6651538033092140264?isPopup=true' title='1 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/6651538033092140264'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/6651538033092140264'/><link rel='alternate' type='text/html' href='http://villatux.blogspot.com/2014/04/layoutit-crea-plantillas-web-con.html' title='LayoutIt! (crea plantillas web con bootstrap online)'/><author><name>villatux</name><uri>http://www.blogger.com/profile/01016018492902392384</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4YegHqUG7K9TUb7RvVnaoxAAZ7LsmZHJURgy-0DUGGDIfSoGGJLwpVNh5wH611DOJB22cKPD6hF-_zlM8uUoCy5Hq1SzciJXdIjxliud-3o1D1D6cCN0YMRp-yxZNqA/s1600/*'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiso0StE6kM8YnrlH_ujX5YnU-mYkRijDd5EaMuDUCkiw24giw9U3PXu4YAA22wbHjPvH7v-FPWx86mHatMBweSat4V74XPH95SdCyO34wwQW3M6MyRKHLGdCqW_MpfVWQPQxG2bLr1OMw/s72-c/Captura+de+pantalla+de+2014-04-30+08:55:47.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1910359432533512546.post-607373498284675936</id><published>2014-04-25T23:35:00.003-06:00</published><updated>2014-04-25T23:35:47.231-06:00</updated><title type='text'>Certificados SSL apropiados para Postfix y Dovecot (Mail Server)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Una de las mejores formas de encriptar los passwords y tu información que circula entre el cliente de correo y el mail server, es estableciendo los &lt;b&gt;certificados ssl apropiados.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Hay varias formas de manejar tus preferencias con los certificados, &amp;nbsp;una es crear tu certificado, dejarlo como está, usar una autoridad certificadora gratuita ó comprar un certificado&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Dejarlo como está:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
Los usuarios recibirán advertencias informándoles que el certificado es invalido y no concuerda con el nombre del servidor&lt;br /&gt;
&lt;br /&gt;
* Ventajas: &amp;nbsp;flojo, no cuesta nada&lt;br /&gt;
* Desventajas: Algunos clientes de correo rechazan el certificado por que no concuerda el nombre del servidor&lt;br /&gt;
* Conclusión: Sólo has esto si no te importa que suceda con el mail server&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Crear un certificado auto firmado :&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
Los usuarios les dará a tus usuarios un certificado con el nombre apropiado para tu mail server&lt;br /&gt;
&lt;br /&gt;
* Ventajas: &quot;un poco de trabajo&quot;, no cuesta&lt;br /&gt;
* Desventaja: Estarás entrenando a tus usuarios a que acepten cualquier certificado&lt;br /&gt;
* Conclusión: Has esto si tienes un pequeño grupo de usuarios a los cuales les puedas informar acerca el certificado (o configurar personalmente los clientes de correo)&lt;br /&gt;
&lt;br /&gt;
Crear certificados SSL puede ser tan sencillo como aplicar un comando:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Dovecot&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Este comando crea el certificado SSL para dovecot (10 años &amp;nbsp; 365X10=3650):&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;
openssl req -new -x509 -days 3650 -nodes -out /etc/ssl/certs/dovecot.pem -keyout /etc/ssl/private/dovecot.pem
&lt;/pre&gt;
&lt;br /&gt;
No olvides establecer los permisos adecuados para mantener segura de mirones a tu llave privada:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;
chmod o= /etc/ssl/private/dovecot.pem
&lt;/pre&gt;
&lt;br /&gt;
Tendrás que reiniciar Dovecot para que el servicio lea el nuevo certificado&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;
/etc/init.d/dovecot restart
&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;Postfix&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Para crear un certificado en postfix:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;
openssl req -new -x509 -days 3650 -nodes -out /etc/ssl/certs/postfix.pem -keyout /etc/ssl/private/postfix.pem
&lt;/pre&gt;
&lt;br /&gt;
No olvides establecer los permisos adecuados para mantener segura de mirones a tu llave privada:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;
chmod o= /etc/ssl/private/postfix.pem
&lt;/pre&gt;
&lt;br /&gt;
Después de esto necesitas indicarle a Postfix en donde encontrar tu certificado y llave privada ya que por default busca un certificado llamado &quot;ssl-certsnakeoil&quot; :&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;
postconf -e smtpd_tls_cert_file=/etc/ssl/certs/postfix.pem
postconf -e smtpd_tls_key_file=/etc/ssl/private/postfix.pem
&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Usar una autoridad certificadora gratuita :&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
* Ventajas: Un poco de trabajo, no cuesta&lt;br /&gt;
* Desventajas: estos certificados no están incluidos en todos los clientes de correo&lt;br /&gt;
* Conclusión: Si no quieres gastar dinero esta es tu mejor elección&lt;br /&gt;
&lt;br /&gt;
Hay gran variedad de servicios gratuitos como este, &amp;nbsp;uno de ellos es&amp;nbsp;http://www.startssl.com/&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Comprar un certificado SSL&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
* Ventajas: &amp;nbsp;el certificado será aceptado automáticamente por todos los clientes de correo&lt;br /&gt;
* Desventajas: Inviertes bastante dinero en la mafia de los certificados web&lt;br /&gt;
* Conclusión: Has esto si te quieres ver profesional en tu servidor de correo &amp;nbsp;y no quieres tener problemas con usuarios&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Depende de tu política de administración del mail server, elegir cual de las anteriores estrategias es la idónea para usar.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://villatux.blogspot.com/feeds/607373498284675936/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1910359432533512546/607373498284675936?isPopup=true' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/607373498284675936'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/607373498284675936'/><link rel='alternate' type='text/html' href='http://villatux.blogspot.com/2014/04/certificados-ssl-apropiados-para.html' title='Certificados SSL apropiados para Postfix y Dovecot (Mail Server)'/><author><name>villatux</name><uri>http://www.blogger.com/profile/01016018492902392384</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4YegHqUG7K9TUb7RvVnaoxAAZ7LsmZHJURgy-0DUGGDIfSoGGJLwpVNh5wH611DOJB22cKPD6hF-_zlM8uUoCy5Hq1SzciJXdIjxliud-3o1D1D6cCN0YMRp-yxZNqA/s1600/*'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1910359432533512546.post-2362078652000495630</id><published>2014-04-19T14:59:00.001-06:00</published><updated>2014-04-19T18:19:23.410-06:00</updated><title type='text'>Reproductor de música en terminal</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Este script que les comparto el dia de hoy, lo hice para acoplarlo en un sistema de domotica (luces, accesos, audio, riego, etc) &amp;nbsp;ustedes lo pueden usar en terminal o acoplarlo a su sistema web que deseen para tener control sobre el.&lt;br /&gt;
&lt;br /&gt;
Este script hace una lista de musica en modo RANDOM de un directorio donde tengas tus archivos .mp3  y a partir de esa lista empieza la reproducción desde la terminal, las opciones para este script son:&lt;br /&gt;
./musica.sh start&lt;br /&gt;
./musica.sh stop&lt;br /&gt;
./musica.sh volume+&lt;br /&gt;
./musica.sh volume-&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;
#!/bin/bash
#  Directorio de musica
musica=&quot;/home/villatux/Musica/despertador/&quot;
ls -lah $musica | awk &#39;{print $9&quot; &quot;$10&quot; &quot;$11&quot; &quot;$12&quot; &quot;$13&quot; &quot;$14&quot; &quot;$15}&#39; | sort -R | grep -i mp3 &gt; lista.txt
case &quot;$1&quot; in
start)
 amixer set Master 60
 while read linea
 do
         echo &quot;Reproduciendo: &quot;$linea
         mpg123 -q &quot;$musica$linea&quot;
 done &lt; lista.txt
 ;;
stop)
 killall -9 musica.sh &amp; mpg123
 ;;
volume+)
 amixer set Master 10%+
 ;;
volume-)
 amixer set Master 10%-
 ;;
*)
 echo -e &quot;&quot;
 echo &quot;Uso: $0 start | stop | volume+ | volume-&quot;
 exit 1
esac 
&lt;/pre&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://villatux.blogspot.com/feeds/2362078652000495630/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1910359432533512546/2362078652000495630?isPopup=true' title='1 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/2362078652000495630'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/2362078652000495630'/><link rel='alternate' type='text/html' href='http://villatux.blogspot.com/2014/04/reproductor-de-musica-en-terminal.html' title='Reproductor de música en terminal'/><author><name>villatux</name><uri>http://www.blogger.com/profile/01016018492902392384</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4YegHqUG7K9TUb7RvVnaoxAAZ7LsmZHJURgy-0DUGGDIfSoGGJLwpVNh5wH611DOJB22cKPD6hF-_zlM8uUoCy5Hq1SzciJXdIjxliud-3o1D1D6cCN0YMRp-yxZNqA/s1600/*'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1910359432533512546.post-7122580842258179192</id><published>2014-04-03T09:47:00.002-07:00</published><updated>2014-04-03T09:49:31.459-07:00</updated><title type='text'>Identificar posible SPAM con postfix y BASH (script)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Este script lo que hace es mostrar cuantas veces se repite un correo como remitente &amp;nbsp;tanto en los correos enviados, como en las colas de correo (que están por enviarse)&lt;br /&gt;
&lt;br /&gt;
Con esto podemos identificar algún spammer y actuar ante ello.&lt;br /&gt;
&lt;br /&gt;
Les dejo el script:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;#!/bin/bash
tail -8000 /var/log/postfix-in.log |grep from= | grep [a-z]@[a-z] | awk &#39;{print $7}&#39; |grep -v reject &amp;gt; correos.txt

fentrada=&quot;correos.txt&quot;
cat $fentrada | while read line; do
  veces=`cat $fentrada | grep $line | wc -w`
         echo -e &quot;   $veces\t$line&quot; &amp;gt;&amp;gt; uno.txt
  done

echo -e &quot;&quot;
echo -e &quot;---------------------------------------------&quot;
echo -e &quot;CORREOS ENVIADOS&quot;
echo -e &quot;&quot;
cat uno.txt | sort | uniq
echo -e &quot;---------------------------------------------&quot;
echo -e &quot;CORREOS EN COLA :&quot;
echo -e &quot;&quot;
postqueue -p | grep [a-z]@[a-z] |awk &#39;{print $7}&#39; &amp;gt; cola.txt

entrada=&quot;cola.txt&quot;
cat $entrada | while read linea; do
 veces=$(cat $entrada | grep -o &quot;$linea&quot; | wc -w)
 echo -e  &quot;   $veces\t$linea&quot; &amp;gt;&amp;gt; dos.txt
done
cat dos.txt | sort | uniq


rm correos.txt
rm uno.txt
rm cola.txt
rm dos.txt
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
El resultado de la ejecución de este script se ve de esta manera:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieNPX2Ru-P_Irm40wInuuQr-5C2_u97R2smrkbVmzGPGoWIhBm8QD8BOPy3CmF36aJOPE1lRS-MOiKDBc7n65eaoS7gVbpanypHmtpeWJV_3NrfFLfr1FIK8qCJkTaK2KUWnH_Jy_7Wjs/s1600/postfix.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieNPX2Ru-P_Irm40wInuuQr-5C2_u97R2smrkbVmzGPGoWIhBm8QD8BOPy3CmF36aJOPE1lRS-MOiKDBc7n65eaoS7gVbpanypHmtpeWJV_3NrfFLfr1FIK8qCJkTaK2KUWnH_Jy_7Wjs/s1600/postfix.jpg&quot; height=&quot;400&quot; width=&quot;375&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://villatux.blogspot.com/feeds/7122580842258179192/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1910359432533512546/7122580842258179192?isPopup=true' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/7122580842258179192'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/7122580842258179192'/><link rel='alternate' type='text/html' href='http://villatux.blogspot.com/2014/04/identificar-posible-spam-con-postfix-y.html' title='Identificar posible SPAM con postfix y BASH (script)'/><author><name>villatux</name><uri>http://www.blogger.com/profile/01016018492902392384</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4YegHqUG7K9TUb7RvVnaoxAAZ7LsmZHJURgy-0DUGGDIfSoGGJLwpVNh5wH611DOJB22cKPD6hF-_zlM8uUoCy5Hq1SzciJXdIjxliud-3o1D1D6cCN0YMRp-yxZNqA/s1600/*'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieNPX2Ru-P_Irm40wInuuQr-5C2_u97R2smrkbVmzGPGoWIhBm8QD8BOPy3CmF36aJOPE1lRS-MOiKDBc7n65eaoS7gVbpanypHmtpeWJV_3NrfFLfr1FIK8qCJkTaK2KUWnH_Jy_7Wjs/s72-c/postfix.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1910359432533512546.post-7413105879754162111</id><published>2014-03-21T11:55:00.002-07:00</published><updated>2014-03-21T12:06:39.560-07:00</updated><title type='text'>Ejecutar comandos de PostgreSQL en BASH </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;Les paso este script&lt;/b&gt; que hice para ejecutarlo cuantas veces sea necesario , ya que estoy probando una aplicación externa que usa la API de &lt;b&gt;Moodle&lt;/b&gt; y pues en las pruebas necesito limpiar la base de datos de moodle cada vez que quiero hacer una prueba nueva.&lt;br /&gt;
&lt;br /&gt;
Descripción:&lt;br /&gt;
1 - comprueba si el usuario es postgres&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; si NO es &amp;nbsp;te dice que necesitas serlo&lt;br /&gt;
2.- borra la base de datos que tengo (llena de datos)&lt;br /&gt;
3.- crea la base de datos nueva&lt;br /&gt;
4.- importa el respaldo de mi base de datos limpia de Moodle&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Script:&lt;/b&gt;&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;#!/bin/bash
# Ejecutar como usuario postgres

ARCHIVO=&quot;backup_21-03-2014.sql&quot;
BASEDEDATOS=&quot;moodledb&quot;

USUARIO=$(whoami)
if [ $USUARIO == &quot;postgres&quot; ] ;then
    echo -e &quot;BORRANDO Y CREANDO BASE DE DATOS NUEVA&quot;
    echo -e &quot;&quot;
    psql &amp;lt;&amp;lt; EOF
    drop database $BASEDEDATOS;
    create database $BASEDEDATOS;&lt;/pre&gt;
&lt;pre class=&quot;brush: html&quot;&gt;EOF
    sleep 3
    echo -e &quot;IMPORTANDO RESPALDO $ARCHIVO&quot;
    echo -e &quot;&quot;
    sleep 2
    psql moodledb &amp;lt; $ARCHIVO
else
    echo -e &quot;-----------------------------------------------------------------&quot;
    echo -e &quot;Necesitas ser $USUARIO para ejecutar este script&quot;
    echo -e &quot;-----------------------------------------------------------------&quot;
    echo -e &quot;&quot;
fi
&lt;/pre&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://villatux.blogspot.com/feeds/7413105879754162111/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1910359432533512546/7413105879754162111?isPopup=true' title='1 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/7413105879754162111'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/7413105879754162111'/><link rel='alternate' type='text/html' href='http://villatux.blogspot.com/2014/03/ejecutar-comandos-de-postgresql-en-bash.html' title='Ejecutar comandos de PostgreSQL en BASH '/><author><name>villatux</name><uri>http://www.blogger.com/profile/01016018492902392384</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4YegHqUG7K9TUb7RvVnaoxAAZ7LsmZHJURgy-0DUGGDIfSoGGJLwpVNh5wH611DOJB22cKPD6hF-_zlM8uUoCy5Hq1SzciJXdIjxliud-3o1D1D6cCN0YMRp-yxZNqA/s1600/*'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1910359432533512546.post-8576305843594739306</id><published>2014-03-18T13:40:00.001-07:00</published><updated>2014-03-18T13:40:32.091-07:00</updated><title type='text'>Mover archivos dispersos en varios directorios hacia un directorio en especifico</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Pues ya me ha pasado varias veces que necesito mover archivos, como es en este caso, que bajé cientos de fuentes true type para mi distribución linux y al descomprimirlas están cáda una de ellas dentro de un directrorio con el nombre de la fuente y mescladas con imagenes y archivos de texto&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Propuesta:&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
sacar todos los archivos de fuentes .ttf &amp;nbsp;y colocarlos en un solo directorio listo para instalar las fuentes&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Solución:&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;pre class=&quot;brush: html&quot;&gt;
find . -type f -iname &#39;*.ttf&#39; -exec mv {} ./000_TTF/ \;
&lt;/pre&gt;

&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
O también puedes ponerlos directamente ya instalados:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;pre class=&quot;brush: html&quot;&gt;
find . -type f -iname &#39;*.ttf&#39; -exec mv {}&amp;nbsp;/usr/share/fonts/truetype/ \;
&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://villatux.blogspot.com/feeds/8576305843594739306/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1910359432533512546/8576305843594739306?isPopup=true' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/8576305843594739306'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1910359432533512546/posts/default/8576305843594739306'/><link rel='alternate' type='text/html' href='http://villatux.blogspot.com/2014/03/mover-archivos-dispersos-en-varios.html' title='Mover archivos dispersos en varios directorios hacia un directorio en especifico'/><author><name>villatux</name><uri>http://www.blogger.com/profile/01016018492902392384</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4YegHqUG7K9TUb7RvVnaoxAAZ7LsmZHJURgy-0DUGGDIfSoGGJLwpVNh5wH611DOJB22cKPD6hF-_zlM8uUoCy5Hq1SzciJXdIjxliud-3o1D1D6cCN0YMRp-yxZNqA/s1600/*'/></author><thr:total>0</thr:total></entry></feed>