<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Adamantio.net &#187; Bash</title>
	<atom:link href="http://www.adamantio.net/wordpress/tag/bash/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.adamantio.net/wordpress</link>
	<description>The right information at the right place</description>
	<lastBuildDate>Fri, 27 Jan 2012 09:38:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Nascondere i files nelle immagini&#8230;</title>
		<link>http://www.adamantio.net/wordpress/2011/01/31/nascondere-i-files-nelle-immagini/</link>
		<comments>http://www.adamantio.net/wordpress/2011/01/31/nascondere-i-files-nelle-immagini/#comments</comments>
		<pubDate>Mon, 31 Jan 2011 12:21:23 +0000</pubDate>
		<dc:creator>root</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[Privacy]]></category>

		<guid isPermaLink="false">http://www.adamantio.net/wordpress/?p=1232</guid>
		<description><![CDATA[Mentre navigavo sono inciampato su un sito con un articolo pari oggetto che ha destato la mia curiosità; sicuramente non si parla di steganografia, ma la procedura è comunque interessante per le masse meno qualificate. I file venivano nascosti utilizzando i comuni eseguibili di sistema di Windows xp più WinRar. Mi sono chiesto come si [...]
Articoli correlati:<ol>
<li><a href='http://www.adamantio.net/wordpress/2011/04/11/ricerca-fra-le-immagini/' rel='bookmark' title='Ricerca fra le immagini'>Ricerca fra le immagini</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Mentre navigavo sono <a href="http://www.stumbleupon.com/to/e/851022254:d3skpw8wj8nyh9kq/share-2/t/http%253A%252F%252Fwww.stumbleupon.com%252Fto%252Fs%252F33lG1q">inciampato su</a> un sito con un articolo pari oggetto che ha destato la mia curiosità; sicuramente non si parla di <a href="http://it.wikipedia.org/wiki/Steganografia">steganografia</a>, ma la procedura è comunque interessante per le masse meno qualificate. I file venivano nascosti utilizzando i comuni eseguibili di sistema di <a href="http://windows.microsoft.com/it-it/windows/home" class="kblinker" title="More about windows &raquo;">Windows</a> xp più WinRar.<br />
Mi sono chiesto come si eseguisse tale operazione sotto <a href="http://www.kernel.org/" class="kblinker" title="More about linux &raquo;">linux</a> e da un altro <a href="http://linux-hacks.blogspot.com/2009/02/hiding-zipped-files-under-jpg-images.html">sito</a> ho potuto ricavare la procedura appropriata.<br />
Riporto le procedure per entrambe le piattaforme:<br />
Windows (non verificato):</p>
<ol>
<li>creare un archivio .rar dei files da nascondere</li>
<li>da un prompt dei comandi digitare:<br />
<tt>copy /b NOMEFILE.JPG + NOMEFILEDANASCONDERE.RAR NOMEFILE.JPG</tt><br />
Fatto!</li>
<li>utilizzare nuovamente WinRar per accedere ai files nascosti nel JPG</li>
</ol>
<p>Linux (confermato):</p>
<ol>
<li>creare un archivio zip con i file da nascondere ad es:<br />
<tt>[tombo@palantir Immagini]$ zip TESTO.TXT.ZIP TESTO.TXT</tt></li>
<li>﻿nascondere il file nella foto:<br />
<tt>[tombo@palantir Immagini]$ cat NOMEFILE.JPG NOMEFILEDANASCONDERE.zip &gt; NOMEFILEDESTINAZIONE.JPG</tt><br />
Fatto!</li>
<li>per recuperare il file è sufficiente utilizzare unzip:<br />
<tt>[tombo@palantir Immagini]$ unzip NOMEFILEDESTINAZIONE.JPG<br />
Archive: NOMEFILEDESTINAZIONE.JPG<br />
warning [NOMEFILEDESTINAZIONE.JPG]:  5288 extra bytes at beginning or within zipfile<br />
(attempting to process anyway)<br />
inflating: TESTO.TXT</tt><br />
﻿﻿</li>
</ol>
<p><a href="http://www.adamantio.net/wordpress/wp-content/uploads/2011/01/bash-prompt.png"><img class="alignnone size-full wp-image-1239" title="bash-prompt" src="http://www.adamantio.net/wordpress/wp-content/uploads/2011/01/bash-prompt.png" alt="" width="180" height="180" /></a></p>
<p>Articoli correlati:<ol>
<li><a href='http://www.adamantio.net/wordpress/2011/04/11/ricerca-fra-le-immagini/' rel='bookmark' title='Ricerca fra le immagini'>Ricerca fra le immagini</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.adamantio.net/wordpress/2011/01/31/nascondere-i-files-nelle-immagini/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adoro Linux! Grande Fedora 14!</title>
		<link>http://www.adamantio.net/wordpress/2010/12/17/adoro-linux-grande-fedora-14/</link>
		<comments>http://www.adamantio.net/wordpress/2010/12/17/adoro-linux-grande-fedora-14/#comments</comments>
		<pubDate>Fri, 17 Dec 2010 16:29:40 +0000</pubDate>
		<dc:creator>root</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[RedHat]]></category>

		<guid isPermaLink="false">http://www.adamantio.net/wordpress/?p=1023</guid>
		<description><![CDATA[Non sapevo di non avere &#8220;iostat&#8221;&#8230; e Fedora mi ha riservato questa bella sorpresa ?Mostra codice BASH1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 &#91;tombo@palantir ~&#93;$ iostat Comando non trovato. Installare il pacchetto «sysstat» per fornire il comando [...]
Articoli correlati:<ol>
<li><a href='http://www.adamantio.net/wordpress/2009/11/24/say-redhat-please-not-linux/' rel='bookmark' title='Say RedHat please&#8230; not linux!'>Say RedHat please&#8230; not linux!</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Non sapevo di non avere &#8220;iostat&#8221;&#8230; e <a href="http://www.fedoraproject.org/" class="kblinker" title="More about fedora &raquo;">Fedora</a> mi ha riservato questa bella sorpresa <img src='http://www.adamantio.net/wordpress/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p1023code2'); return false;">Mostra codice</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p10232"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
</pre></td><td class="code" id="p1023code2"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>tombo<span style="color: #000000; font-weight: bold;">@</span>palantir ~<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ iostat
Comando non trovato. Installare il pacchetto «sysstat» per fornire il comando «iostat»? <span style="color: #7a0874; font-weight: bold;">&#91;</span>N<span style="color: #000000; font-weight: bold;">/</span>y<span style="color: #7a0874; font-weight: bold;">&#93;</span> 
 <span style="color: #000000; font-weight: bold;">*</span> In esecuzione.. 
 <span style="color: #000000; font-weight: bold;">*</span> Risoluzione delle dipendenze.. 
 <span style="color: #000000; font-weight: bold;">*</span> Attesa dell<span style="color: #ff0000;">'autenticazione.. 
 * Scaricamento dettagli riguardo le sorgenti software... 
 * Scaricamento elenco dei pacchetti.. 
 * In esecuzione.. 
 * Risoluzione delle dipendenze.. 
 * Scaricamento informazioni di aggiornamento.. 
 * Scaricamento dei pacchetti.. 
 * Controllo delle firme.. 
 * Verifica delle modifiche.. 
 * Installazione pacchetti.. 
 * Analisi delle applicazioni.. 
Linux 2.6.35.9-64.fc14.i686.PAE (palantir.3dwebzone.org) 	17/12/2010 	_i686_	(1 CPU)
&nbsp;
avg-cpu:  %user   %nice %system %iowait  %steal   %idle
          19,49    0,14    8,51    2,73    0,00   69,13
&nbsp;
Device:            tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
sda               3,88        85,18        70,27   66164282   54583366
scd0              0,00         0,01         0,00       8832          0
&nbsp;
[tombo@palantir ~]$</span></pre></td></tr></table></div>

<p>Amazing! Quando vedo queste cose penso che il futuro di <a href="http://www.kernel.org/" class="kblinker" title="More about linux &raquo;">Linux</a> sia veramente promettente <img src='http://www.adamantio.net/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Articoli correlati:<ol>
<li><a href='http://www.adamantio.net/wordpress/2009/11/24/say-redhat-please-not-linux/' rel='bookmark' title='Say RedHat please&#8230; not linux!'>Say RedHat please&#8230; not linux!</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.adamantio.net/wordpress/2010/12/17/adoro-linux-grande-fedora-14/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Auguri di buon natale e felice anno nuovo</title>
		<link>http://www.adamantio.net/wordpress/2009/12/23/auguri-di-buon-natale-e-felice-anno-nuovo/</link>
		<comments>http://www.adamantio.net/wordpress/2009/12/23/auguri-di-buon-natale-e-felice-anno-nuovo/#comments</comments>
		<pubDate>Wed, 23 Dec 2009 15:09:19 +0000</pubDate>
		<dc:creator>root</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Opinioni]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[Bash]]></category>

		<guid isPermaLink="false">http://www.adamantio.net/wordpress/?p=189</guid>
		<description><![CDATA[Quest&#8217;anno non devo scordare gli auguri per nessuno&#8230; come posso fare&#8230; a ecco: ?Mostra codice BASH1 2 3 4 5 6 7 8 9 10 11 12 13 #!/bin/bash ldapsearch -x -LLL -H ldap://myldap.mydomain.com -t &#34;(cn=AMICI)&#34; &#34;memberUid&#34; &#124; grep memberUid &#124; awk '{print $2}' &#62; /tmp/listaamici.txt for i in `cat /tmp/listaamici.txt` ; do ldapsearch -x [...]
Nessun articolo correlato.]]></description>
			<content:encoded><![CDATA[<p>Quest&#8217;anno non devo scordare gli auguri per nessuno&#8230; come posso fare&#8230; a ecco:</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p189code4'); return false;">Mostra codice</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p1894"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
</pre></td><td class="code" id="p189code4"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
ldapsearch <span style="color: #660033;">-x</span> <span style="color: #660033;">-LLL</span> <span style="color: #660033;">-H</span> ldap:<span style="color: #000000; font-weight: bold;">//</span>myldap.mydomain.com <span style="color: #660033;">-t</span> <span style="color: #ff0000;">&quot;(cn=AMICI)&quot;</span> <span style="color: #ff0000;">&quot;memberUid&quot;</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> memberUid <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #ff0000;">'{print $2}'</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>listaamici.txt
<span style="color: #000000; font-weight: bold;">for</span> i <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>listaamici.txt<span style="color: #000000; font-weight: bold;">`</span> ; <span style="color: #000000; font-weight: bold;">do</span>
    ldapsearch <span style="color: #660033;">-x</span> <span style="color: #660033;">-LLL</span> <span style="color: #660033;">-H</span> ldap:<span style="color: #000000; font-weight: bold;">//</span>myldap.mydomain.com <span style="color: #660033;">-t</span> <span style="color: #ff0000;">&quot;(uid=<span style="color: #007800;">$i</span>)&quot;</span> cn mail <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$i</span>.data.txt
    <span style="color: #007800;">cn</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">grep</span> cn: <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$i</span>.data.txt <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #ff0000;">'{ print $2, $3 }'</span><span style="color: #000000; font-weight: bold;">`</span>
    <span style="color: #007800;">email</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">grep</span> mail: <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$i</span>.data.txt <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #ff0000;">'{ print $2 }'</span><span style="color: #000000; font-weight: bold;">`</span>
    <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Ciao <span style="color: #007800;">$cn</span> voglio augurarti tanti Auguri di Buon natale e felice anno nuovo&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$i</span>-mail.txt
    <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Sinceramente, Francesco&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$i</span>-mail.txt
    <span style="color: #c20cb9; font-weight: bold;">cat</span>  <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$i</span>-mail.txt <span style="color: #000000; font-weight: bold;">|</span> mail <span style="color: #660033;">-s</span> <span style="color: #ff0000;">&quot;Augurissimi da Francesco&quot;</span> <span style="color: #007800;">$email</span>
    <span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$i</span>.data.txt
    <span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$i</span>-mail.txt
<span style="color: #000000; font-weight: bold;">done</span>
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>listaamici.txt</pre></td></tr></table></div>

<p>Nessun articolo correlato.</p>]]></content:encoded>
			<wfw:commentRss>http://www.adamantio.net/wordpress/2009/12/23/auguri-di-buon-natale-e-felice-anno-nuovo/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

