<?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/"
	>

<channel>
	<title>Bertera.it</title>
	<atom:link href="http://www.bertera.it/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bertera.it</link>
	<description>Just another WordPress weblog</description>
	<pubDate>Sat, 30 Jan 2010 08:25:09 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Authentication username in Astersik SIP peer</title>
		<link>http://www.bertera.it/2010/01/authentication-username-in-astersik-sip-peer/</link>
		<comments>http://www.bertera.it/2010/01/authentication-username-in-astersik-sip-peer/#comments</comments>
		<pubDate>Sat, 30 Jan 2010 08:21:26 +0000</pubDate>
		<dc:creator>pietro</dc:creator>
		
		<category><![CDATA[test]]></category>

		<guid isPermaLink="false">http://www.bertera.it/?p=302</guid>
		<description><![CDATA[Asterisk use peername as username during SIP inbound digest authentication.
This patch add authuser parameter in SIP peer definition and use authuser in digest authentication:
Peer definition in /etc/asterisk/sip.conf
&#8230;
[pietro](sip-client-base)
authuser=MyUsername
secret=XXXXX
qualify=yes
nat=yes
&#8230;
Peer definition in my SIP client (Twinkle)

REGISTER message from my SIP client
REGISTER sip:bertera.it SIP/2.0
Via: SIP/2.0/UDP 88.149.226.66:10458;rport;branch=z9hG4bKkqpevlic
Max-Forwards: 70
To: &#8220;Pietro&#8221;
From: &#8220;Pietro&#8221; ;tag=ntlug
Call-ID: mqezxbywgtulavj@bertuccia
CSeq: 681 REGISTER
Contact: ;expires=3600
Authorization: Digest username=&#8221;MyUsername&#8221;,realm=&#8221;bertera.it&#8221;,nonce=&#8221;27f804de&#8221;,uri=&#8221;sip:bertera.it&#8221;,response=&#8221;47dbf0a57d80faffd148b58d84edc2db&#8221;,algorithm=MD5 Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,REFER,NOTIFY,SUBSCRIBE,INFO,MESSAGE
User-Agent: Twinkle/1.4.2
Content-Length: [...]]]></description>
			<content:encoded><![CDATA[<p>Asterisk use peername as username during SIP inbound digest authentication.<br />
<a href="http://www.bertera.it/software/asterisk-stuff/asterisk-1.6.2.2-sip-peer-authuser-patch.diff">This patch</a> add <strong>authuser</strong> parameter in SIP peer definition and use authuser in digest authentication:</p>
<p><strong>Peer definition in /etc/asterisk/sip.conf</strong></p>
<div class="codesnip-container" >&#8230;<br />
[pietro](sip-client-base)<br />
authuser=MyUsername<br />
secret=XXXXX<br />
qualify=yes<br />
nat=yes<br />
&#8230;</div>
<p><strong>Peer definition in my SIP client (Twinkle)</strong><br />
<img src="http://www.bertera.it/software/asterisk-stuff/Twinkle-conf.png" alt="client configuration" /></p>
<p><strong>REGISTER message from my SIP client</strong></p>
<div class="codesnip-container" >REGISTER sip:bertera.it SIP/2.0<br />
Via: SIP/2.0/UDP 88.149.226.66:10458;rport;branch=z9hG4bKkqpevlic<br />
Max-Forwards: 70<br />
To: &#8220;Pietro&#8221;<br />
From: &#8220;Pietro&#8221; ;tag=ntlug<br />
Call-ID: mqezxbywgtulavj@bertuccia<br />
CSeq: 681 REGISTER<br />
Contact: ;expires=3600<br />
Authorization: Digest username=&#8221;MyUsername&#8221;,realm=&#8221;bertera.it&#8221;,nonce=&#8221;27f804de&#8221;,uri=&#8221;sip:bertera.it&#8221;,response=&#8221;47dbf0a57d80faffd148b58d84edc2db&#8221;,algorithm=MD5 Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,REFER,NOTIFY,SUBSCRIBE,INFO,MESSAGE<br />
User-Agent: Twinkle/1.4.2<br />
Content-Length: 0</div>
<p><b>Message in Asterisk CLI: </b></p>
<div class="codesnip-container" >[Feb  4 23:23:35] NOTICE[24864]: chan_sip.c:13016 register_verify: Trying athenticate peer &#8216;pietro&#8217; using authuser: &#8216;MyUsername&#8217;<br />
    &#8212; Registered SIP &#8216;pietro&#8217; at 88.149.226.66 port 10458</div>
<p><b>REGISTER Confirmation from Asterisk:</b></p>
<div class="codesnip-container" >SIP/2.0 200 OK<br />
Via: SIP/2.0/UDP 88.149.226.66:10458;branch=z9hG4bKkqpevlic;received=88.149.226.66;rport=10458<br />
From: &#8220;Pietro&#8221; <sip:pietro@bertera.it>;tag=ntlug<br />
To: &#8220;Pietro&#8221; <sip:pietro@berterait>;tag=as49faff1f<br />
Call-ID: mqezxbywgtulavj@bertuccia<br />
CSeq: 681 REGISTER<br />
Server: Asterisk PBX 1.6.2.2<br />
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO<br />
Supported: replaces, timer<br />
Expires: 3600<br />
Contact: <sip:pietro@88.149.226.66:10458>;expires=3600<br />
Date: Thu, 04 Feb 2010 22:23:35 GMT<br />
Content-Length: 0</div>
<p><a href="http://www.bertera.it/software/asterisk-stuff/asterisk-1.6.2.2-sip-peer-authuser-patch.diff">http://www.bertera.it/software/asterisk-stuff/asterisk-1.6.2.2-sip-peer-authuser-patch.diff</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bertera.it/2010/01/authentication-username-in-astersik-sip-peer/feed/</wfw:commentRss>
		</item>
		<item>
		<title></title>
		<link>http://www.bertera.it/2009/12/299/</link>
		<comments>http://www.bertera.it/2009/12/299/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 04:10:34 +0000</pubDate>
		<dc:creator>pietro</dc:creator>
		
		<category><![CDATA[test]]></category>

		<guid isPermaLink="false">http://www.bertera.it/?p=299</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><img alt="" src="http://www.bertera.it/images/happy.jpg" title="Happy" class="alignnone" width="681" height="517" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bertera.it/2009/12/299/feed/</wfw:commentRss>
		</item>
		<item>
		<title>plugin di vim per salvarsi dalla noia</title>
		<link>http://www.bertera.it/2009/11/plugin-di-vim-per-salvarsi-dalla-noia/</link>
		<comments>http://www.bertera.it/2009/11/plugin-di-vim-per-salvarsi-dalla-noia/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 02:35:51 +0000</pubDate>
		<dc:creator>pietro</dc:creator>
		
		<category><![CDATA[test]]></category>

		<guid isPermaLink="false">http://www.bertera.it/?p=293</guid>
		<description><![CDATA[Plugin per incrementare il serial in un file di zona di Bind:

root@dumbo:/etc/bind# cat ~/.vim/plugin/Soa.vim 
function! INCSERIAL&#40;date, num&#41;
&#160; &#160; &#160; &#160; if &#40;strftime&#40;&#34;%Y%m%d&#34;&#41; == a:date&#41;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; return a:date . a:num+1
&#160; &#160; &#160; &#160; endif
&#160; &#160; &#160; &#160; return strftime&#40;&#34;%Y%m%d&#34;&#41; . &#8216;01&#8242;
endfunction
command SER :%s/\&#40;2&#91;0-9&#93;\&#123;7&#125;\&#41;\&#40;&#91;0-9&#93;\&#123;2&#125;\&#41;\s*;\s*Serial/\=INCSERIAL&#40;submatch&#40;1&#41;, submatch&#40;2&#41;&#41; . &#8216;&#160; &#160; &#160;; Serial&#8217;/gc

]]></description>
			<content:encoded><![CDATA[<p>Plugin per incrementare il serial in un file di zona di Bind:</p>
<div class="codesnip-container" >
<div class="codesnip" style="font-family: monospace;">root@dumbo:/etc/bind<span class="co1"># cat ~/.vim/plugin/Soa.vim </span><br />
function! INCSERIAL<span class="br0">&#40;</span>date, num<span class="br0">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span>strftime<span class="br0">&#40;</span><span class="st0">&quot;%Y%m%d&quot;</span><span class="br0">&#41;</span> == a:date<span class="br0">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">return</span> a:date . <span class="me1">a</span>:num<span class="nu0">+1</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; endif<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">return</span> strftime<span class="br0">&#40;</span><span class="st0">&quot;%Y%m%d&quot;</span><span class="br0">&#41;</span> . <span class="st0">&#8216;01&#8242;</span><br />
endfunction</p>
<p>command SER :%s/\<span class="br0">&#40;</span><span class="nu0">2</span><span class="br0">&#91;</span><span class="nu0">0</span><span class="nu0">-9</span><span class="br0">&#93;</span>\<span class="br0">&#123;</span><span class="nu0">7</span><span class="br0">&#125;</span>\<span class="br0">&#41;</span>\<span class="br0">&#40;</span><span class="br0">&#91;</span><span class="nu0">0</span><span class="nu0">-9</span><span class="br0">&#93;</span>\<span class="br0">&#123;</span><span class="nu0">2</span><span class="br0">&#125;</span>\<span class="br0">&#41;</span>\s*;\s*Serial/\=INCSERIAL<span class="br0">&#40;</span>submatch<span class="br0">&#40;</span><span class="nu0">1</span><span class="br0">&#41;</span>, submatch<span class="br0">&#40;</span><span class="nu0">2</span><span class="br0">&#41;</span><span class="br0">&#41;</span> . <span class="st0">&#8216;&nbsp; &nbsp; &nbsp;; Serial&#8217;</span>/<span class="kw3">gc</span></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.bertera.it/2009/11/plugin-di-vim-per-salvarsi-dalla-noia/feed/</wfw:commentRss>
		</item>
		<item>
		<title>GNU/Find posix acl support</title>
		<link>http://www.bertera.it/2009/09/gnufind-posix-acl-support/</link>
		<comments>http://www.bertera.it/2009/09/gnufind-posix-acl-support/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 16:25:18 +0000</pubDate>
		<dc:creator>pietro</dc:creator>
		
		<category><![CDATA[hack]]></category>

		<guid isPermaLink="false">http://www.bertera.it/?p=287</guid>
		<description><![CDATA[Cercare file che corrispondono a delle acl posix all&#8217;interno di un filesystem molto intricato è sempre un delirio.
Questa patch aggiunge l&#8217;opzione -acl al comando find (GNU/Findutils).
Esempio d&#8217;uso:
$ touch 1 2 3 4
$ mkdir 5
$ setfacl -m u:root:rx 1
$ setfacl -m g:bin:rw 2
$ setfacl -m u:pietro:--- 3
$ setfacl -m g:bin:rw 3
$ setfacl -m g:wheel:r 4
$ setfacl [...]]]></description>
			<content:encoded><![CDATA[<p>Cercare file che corrispondono a delle acl posix all&#8217;interno di un filesystem molto intricato è sempre un delirio.</p>
<p><a href="http://www.bertera.it/software/findutils-acl/">Questa</a> patch aggiunge l&#8217;opzione -acl al comando find (<a href="http://www.gnu.org/software/findutils/">GNU/Findutils</a>).</p>
<p>Esempio d&#8217;uso:</p>
<pre>$ touch 1 2 3 4
$ mkdir 5
$ setfacl -m u:root:rx 1
$ setfacl -m g:bin:rw 2
$ setfacl -m u:pietro:--- 3
$ setfacl -m g:bin:rw 3
$ setfacl -m g:wheel:r 4
$ setfacl -m d:u:root:rwx 5
$ touch 5/6
$ setfacl -m g:wheel:r 5/6

$ find . -acl u:root:rx
./1
$ find . -acl u:root:*
./1
./5/6
$ find . -acl u:*:rx
./1
$ find . -acl g:*:*
./4
./3
./5/6
./2
$ find . -acl d:u:*:*
./5</pre>
<p>Questa patch funziona solo su Linux, è scaricabile qua: <a href="http://www.bertera.it/software/findutils-acl/">http://www.bertera.it/software/findutils-acl/</a> è disponibile per la versione 4.42 e 4.5.6 di findutils</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bertera.it/2009/09/gnufind-posix-acl-support/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Fast System VerSioning</title>
		<link>http://www.bertera.it/2009/09/fast-system-versioning/</link>
		<comments>http://www.bertera.it/2009/09/fast-system-versioning/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 07:39:36 +0000</pubDate>
		<dc:creator>pietro</dc:creator>
		
		<category><![CDATA[hack]]></category>

		<category><![CDATA[configuration management]]></category>

		<category><![CDATA[repository]]></category>

		<category><![CDATA[subversion]]></category>

		<guid isPermaLink="false">http://www.bertera.it/?p=280</guid>
		<description><![CDATA[http://fsvs.tigris.org/
It is a complete backup/restore/versioning tool for all files in a   directory tree or whole filesystems, with a subversionTM repository as the backend.
You may think of it as some kind of tar or rsync with versioned storage.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://fsvs.tigris.org/">http://fsvs.tigris.org/</a></p>
<p>It is a complete backup/restore/versioning tool for all files in a   directory tree or whole filesystems, with a <a href="http://subversion.tigris.org/">subversion</a><small><sup>TM</sup></small> repository as the backend.<br />
You may think of it as some kind of tar or rsync with versioned storage.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bertera.it/2009/09/fast-system-versioning/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Verbose bash history</title>
		<link>http://www.bertera.it/2009/07/verbose-bash-history/</link>
		<comments>http://www.bertera.it/2009/07/verbose-bash-history/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 06:58:21 +0000</pubDate>
		<dc:creator>pietro</dc:creator>
		
		<category><![CDATA[hack]]></category>

		<category><![CDATA[bash logging sysadmin]]></category>

		<guid isPermaLink="false">http://www.bertera.it/?p=277</guid>
		<description><![CDATA[/etc/bashrc

HISTSIZE=4000
HISTFILESIZE=4000

for f in .bash_history .bash_verbose_history; do
        if [ `wc -l $HOME/$f &#124; awk '{print $1}'` -gt 3000 ] ; then
                cp -f $HOME/$f $HOME/$f-`date -I`
        fi
done

if [...]]]></description>
			<content:encoded><![CDATA[<p><strong>/etc/bashrc</strong></p>
<pre>
HISTSIZE=4000
HISTFILESIZE=4000

for f in .bash_history .bash_verbose_history; do
        if [ `wc -l $HOME/$f | awk '{print $1}'` -gt 3000 ] ; then
                cp -f $HOME/$f $HOME/$f-`date -I`
        fi
done

if [ -n "$SSH_CLIENT" ]; then
        TTY=`echo $SSH_CLIENT| cut -d \  -f1`
else
        TTY=`tty | sed -e "s:/dev/::"`
fi

PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND ; }"'echo `date +"%Y-%m-%d %k:%M:%S"` $USER $TTY "$(history 1)" &gt;&gt; ~/.bash_verbose_history'</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.bertera.it/2009/07/verbose-bash-history/feed/</wfw:commentRss>
		</item>
		<item>
		<title>VPN layer 3 con OpenSSH</title>
		<link>http://www.bertera.it/2008/12/vpn-layer-3-con-openssh/</link>
		<comments>http://www.bertera.it/2008/12/vpn-layer-3-con-openssh/#comments</comments>
		<pubDate>Mon, 22 Dec 2008 11:48:36 +0000</pubDate>
		<dc:creator>pietro</dc:creator>
		
		<category><![CDATA[hack]]></category>

		<category><![CDATA[bash]]></category>

		<category><![CDATA[ssh]]></category>

		<category><![CDATA[vpn]]></category>

		<guid isPermaLink="false">http://www.bertera.it/?p=236</guid>
		<description><![CDATA[Dalla versione 4.3 di OpenSSH è stato introdotto il supporto per TUN/TAP. Questo sigifica che è possibile stabilire un tunnel cifrato tra due peer o due (o piu) reti.
Questo script si occupa di fare il discover dei device tun da utilizzare, assegnare gli indirizzi e le rotte al tunnel (locali e sul peer remoto) ed [...]]]></description>
			<content:encoded><![CDATA[<p>Dalla versione 4.3 di OpenSSH è stato introdotto il supporto per TUN/TAP. Questo sigifica che è possibile stabilire un tunnel cifrato tra due peer o due (o piu) reti.<br />
<a href="http://www.bertera.it/software/ssh-vpn/ssh-vpn.sh">Questo</a> script si occupa di fare il discover dei device tun da utilizzare, assegnare gli indirizzi e le rotte al tunnel (locali e sul peer remoto) ed eseguire comandi aggiuntivi tramite un file di configurazione.</p>
<p><strong><a href="http://www.bertera.it/software/ssh-vpn/testvpn.conf">testvpn.conf</a>:</strong></p>
<div class="codesnip-container" >
<div class="codesnip" style="font-family: monospace;">SSH_OPTS=<span class="st0">&quot;-i /home/pietro/.ssh/id_dsa&quot;</span> <span class="co1"># optional: options for ssh command</span><br />
RUSER=root&nbsp; <span class="co1"># user to login on remote peer</span><br />
PEER=<span class="nu0">172.42</span><span class="nu0">.10</span><span class="nu0">.2</span> <span class="co1"># ip of remote peer</span><br />
RTUNADDR=<span class="nu0">10.10</span><span class="nu0">.100</span><span class="nu0">.2</span> <span class="co1"># remote ip of tunnel</span><br />
LTUNADDR=<span class="nu0">10.10</span><span class="nu0">.100</span><span class="nu0">.1</span> <span class="co1"># local ip of tunnel</span><br />
<span class="co1">#LOCAL_TUN=tun0 #optional: static definition of local tun device</span><br />
<span class="co1">#REMOTE_TUN=tun1 #optional: static definition of remote tun device</span><br />
REMOTE_NET=<span class="nu0">172.16</span><span class="nu0">.40</span><span class="nu0">.1</span> <span class="co1"># remote network</span><br />
ENABLE_PEER_IP_FORWARD=true <span class="co1"># enable ip forwarding on remote host</span><br />
TRY_LOAD_PEER_TUN_MOD=true <span class="co1"># try loading tun/tap kernel module</span><br />
BAILOUT_COMMAND=<span class="st0">&quot;logger died&quot;</span><br />
<span class="co1"># in POST_TUN_PEER_COMMAND and POST_TUN_LOCAL_COMMAND use &#8216; instead &quot; !!!</span><br />
<span class="co1"># $LOCAL_TUN is local tun device</span><br />
<span class="co1"># $REMOTE_TUN is remote tun device</span><br />
POST_TUN_PEER_COMMAND=<span class="st0">&#8216;iptables -I FORWARD -i $REMOTE_TUN -j ACCEPT&#8217;</span> <span class="co1"># optional: command to execute on remote peer</span><br />
POST_TUN_LOCAL_COMMAND=<span class="st0">&#8216;ip route add 192.168.6.0/24 via $RTUNADDR dev $LOCAL_TUN&#8217;</span> <span class="co1"># optional: command to execute on local peer</span><br />
LOCAL_IP=<span class="st0">&quot;ip&quot;</span> <span class="co1"># optional: local ip command binary</span><br />
REMOTE_IP=<span class="st0">&quot;ip&quot;</span> <span class="co1"># optional: remote ip command binary</span><br />
SSH=<span class="st0">&quot;ssh&quot;</span> <span class="co1"># optional: ssh binary</span></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.bertera.it/2008/12/vpn-layer-3-con-openssh/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Reading Windows and Office product key</title>
		<link>http://www.bertera.it/2008/12/reading-windows-and-office-product-key/</link>
		<comments>http://www.bertera.it/2008/12/reading-windows-and-office-product-key/#comments</comments>
		<pubDate>Wed, 17 Dec 2008 13:04:27 +0000</pubDate>
		<dc:creator>pietro</dc:creator>
		
		<category><![CDATA[hack]]></category>

		<category><![CDATA[product key]]></category>

		<category><![CDATA[python]]></category>

		<category><![CDATA[registry]]></category>

		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.bertera.it/?p=221</guid>
		<description><![CDATA[I product key di M$ Windows e Office vengono salvati nel registro in alcune chiavi cifrate
Pygetkey decifra le chiavi e le stampa a video oppure le salva in chiaro in un&#8217;altra chiave di registro. Puo&#8217; inoltre preleveare i product key da un pc remoto.
Pygetkey è scritto in python e richiede un&#8217;installazione di python 2.X per [...]]]></description>
			<content:encoded><![CDATA[<p>I product key di M$ Windows e Office vengono salvati nel registro in alcune chiavi cifrate<br />
Pygetkey decifra le chiavi e le stampa a video oppure le salva in chiaro in un&#8217;altra chiave di registro. Puo&#8217; inoltre preleveare i product key da un pc remoto.</p>
<p>Pygetkey è scritto in python e richiede un&#8217;installazione di python 2.X per windows</p>
<p>Esempio:</p>
<div class="codesnip-container" >
<div class="codesnip" style="font-family: monospace;">pygetkey -c SYSTEM\Test</div>
</div>
<p>creerà i valori WINDOWS-KEY e OFFICE-2007-KEY all&#8217;interno della chiave HKEY_LOCAL_MACHINE\SYSTEM\Test:</p>
<div class="codesnip-container" >
<div class="codesnip" style="font-family: monospace;"><span class="br0">&#91;</span>HKEY_LOCAL_MACHINE\SYSTEM\Test<span class="br0">&#93;</span><br />
<span class="st0">&quot;WINDOWS-KEY&quot;</span>=<span class="st0">&quot;XQM13-K3M7R-32HRX-XF3Q-GMF63&quot;</span><br />
<span class="st0">&quot;OFFICE-2007-KEY&quot;</span>=<span class="st0">&quot;JPBW9-BPY6B-79M9M-RJYJV-6G5B6&quot;</span></div>
</div>
<p>i valori vengono creati sotto l&#8217;albero di registro HKEY_LOCAL_MACHINE nella chiave specificata dal<br />
parametro -c e potranno avere i seguenti nomi:</p>
<p>WINDOWS-KEY: la chiave di windows<br />
OFFICE-{2000,2007,2003,XP}-KEY: le chiavi di office trovate a seconda della versione.<br />
La chiave specificata dal comando DEVE esistere, in caso contrario verrà ritornato un errore.</p>
<p>L&#8217;opzione -r HOST indica a pygetkey di interrogare un host remoto.</p>
<p><strong>Leggere chiavi di registro su un pc remoto:</strong><br />
readrreg.py è ingrado di leggere le chiavi di registro da un pc remoto:</p>
<div class="codesnip-container" >
<div class="codesnip" style="font-family: monospace;">C:\dev\getkey&amp;gt;readrreg.<span class="me1">py</span> -k <span class="st0">&quot;SYSTEM<span class="es0">\T</span>est&quot;</span> -r RemotePC<br />
office<span class="nu0">-2007</span>-key: XQM13-K3M7R-32HRX-XF3Q-GMF63<br />
windows-key: JPBW9-BPY6B-79M9M-RJYJV-6G5B6</div>
</div>
<p><strong>Creazione dei binari</strong><br />
E&#8217; possibile creare un eseguibile di pygetkey e readrreg in modo da non installare python sui pc, per creare i binari occorre<br />
installare py2exe (http://www.py2exe.org) per l&#8217;appropriata versione di Python ed eseguire il seguente comando:</p>
<div class="codesnip-container" >
<div class="codesnip" style="font-family: monospace;">python.<span class="me1">exe</span> setup.<span class="me1">py</span> py2exe</div>
</div>
<p>Qesto creera&#8217; una directory dist contente dei file, quelli strettamente necessari all&#8217;esecuzione di pygetkey.exe e readrreg.exe sono:</p>
<p>* pygetkey.exe<br />
* readrreg.exe<br />
* library.zip<br />
* python25.dll (il 25 dipende dalla versione di Python installata)<br />
* MSVCR71.dll</p>
<p>PS: non sono sicuro funzioni correttamente con Office 2000</p>
<p><strong>Download:</strong><br />
pygetkey è scaricabile all&#8217;indirizzo:  <a href="http://www.bertera.it/software/pygetkey/">http://www.bertera.it/software/pygetkey/</a><br />
Gli eseguibili di pygetkey e readrreg e le librerie necessarie per windows 32bit sono scaricabili qua: <a href="http://www.bertera.it/software/pygetkey/dist/">http://www.bertera.it/software/pygetkey/dist/</a><br />
python è scaricabile all&#8217;indirizzo: <a href="http://www.python.org">http://www.python.org</a><br />
py2exe è scaricabile all&#8217;indirizzo: <a href="http://www.py2exe.org">http://www.py2exe.org</a></p>
<p>il README di pygekey e readrreg: <a href="http://www.bertera.it/software/pygetkey/README">http://www.bertera.it/software/pygetkey/README</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bertera.it/2008/12/reading-windows-and-office-product-key/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Monte Marnotto da Garzeno</title>
		<link>http://www.bertera.it/2008/12/monte-marnotto/</link>
		<comments>http://www.bertera.it/2008/12/monte-marnotto/#comments</comments>
		<pubDate>Sat, 13 Dec 2008 22:33:56 +0000</pubDate>
		<dc:creator>pietro</dc:creator>
		
		<category><![CDATA[Mountain]]></category>

		<category><![CDATA[sport]]></category>

		<category><![CDATA[foto]]></category>

		<category><![CDATA[montagna]]></category>

		<category><![CDATA[neve]]></category>

		<category><![CDATA[scialpinismo]]></category>

		<guid isPermaLink="false">http://www.bertera.it/?p=202</guid>
		<description><![CDATA[Gita effettuata il 07/12/2008


Dislivello: 1440 m
Esposizione: Nord
Difficoltà: MS
Durata: 4 ore
Avvicinamento: Dongo - Garzeno, diga di Regea

Lasciata l’auto in prossimità della diga (650 m) si attraversa il torrente Albano percorrendo il muraglione del bacino. Si segue la carreggiata fino al termine superando i monti di Mollen (767 m). Si risalgono i ripidi pendii che portano ai monti di [...]]]></description>
			<content:encoded><![CDATA[<p>Gita effettuata il 07/12/2008
</p></blockquote>
<ul>
<li>Dislivello: 1440 m</li>
<li>Esposizione: Nord</li>
<li>Difficoltà: MS</li>
<li>Durata: 4 ore</li>
<li>Avvicinamento: Dongo - Garzeno, diga di Regea</li>
</ul>
<p>Lasciata l’auto in prossimità della diga (650 m) si attraversa il torrente Albano percorrendo il muraglione del bacino. Si segue la carreggiata fino al termine superando i monti di Mollen (767 m). Si risalgono i ripidi pendii che portano ai monti di Zeda (1093 m) e poi all’Alpe Marnotto (1614 m). Da qui si devia leggermente verso SO puntando all’evidente sella (a seconda delle condizioni può essere necessario togliere gli sci) oltre la quale, seguendo il filo di cresta verso SE si giunge in cima ( 2094 m).</p>
<p>La discesa ripercorre l’itinerario di salita.
</p></blockquote>

<div class="ngg-galleryoverview" id="ngg-gallery-1">


	
	<!-- Thumbnails -->
		
	<div id="ngg-image-1" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.bertera.it/gallery/marnotto-da-garzeno/dscf0638.jpg" title="Pendii sul costone appena sopra Zeda" class="thickbox" rel="marnotto-da-garzeno" >
				<img title="dscf0638.jpg" alt="dscf0638.jpg" src="http://www.bertera.it/gallery/marnotto-da-garzeno/thumbs/thumbs_dscf0638.jpg"  />
			</a>
		</div>
	</div>
	 		
	<div id="ngg-image-2" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.bertera.it/gallery/marnotto-da-garzeno/dscf0641.jpg" title="Poco prima dell&amp;#039;Alpe Marnotto" class="thickbox" rel="marnotto-da-garzeno" >
				<img title="dscf0641.jpg" alt="dscf0641.jpg" src="http://www.bertera.it/gallery/marnotto-da-garzeno/thumbs/thumbs_dscf0641.jpg"  />
			</a>
		</div>
	</div>
	 		
	<div id="ngg-image-3" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.bertera.it/gallery/marnotto-da-garzeno/dscf0642.jpg" title="Poco prima dell&amp;#039;Alpe Marnotto" class="thickbox" rel="marnotto-da-garzeno" >
				<img title="dscf0642.jpg" alt="dscf0642.jpg" src="http://www.bertera.it/gallery/marnotto-da-garzeno/thumbs/thumbs_dscf0642.jpg"  />
			</a>
		</div>
	</div>
	 		
	<div id="ngg-image-4" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.bertera.it/gallery/marnotto-da-garzeno/dscf0644.jpg" title="Poco prima dell&amp;#039;Alpe Marnotto" class="thickbox" rel="marnotto-da-garzeno" >
				<img title="dscf0644.jpg" alt="dscf0644.jpg" src="http://www.bertera.it/gallery/marnotto-da-garzeno/thumbs/thumbs_dscf0644.jpg"  />
			</a>
		</div>
	</div>
	 		
	<div id="ngg-image-5" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.bertera.it/gallery/marnotto-da-garzeno/dscf0645.jpg" title="Pendio dopo l&amp;#039;Alpe di Marnotto" class="thickbox" rel="marnotto-da-garzeno" >
				<img title="dscf0645.jpg" alt="dscf0645.jpg" src="http://www.bertera.it/gallery/marnotto-da-garzeno/thumbs/thumbs_dscf0645.jpg"  />
			</a>
		</div>
	</div>
	 		
	<div id="ngg-image-6" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.bertera.it/gallery/marnotto-da-garzeno/dscf0647.jpg" title="Le pendenze diminuiscono" class="thickbox" rel="marnotto-da-garzeno" >
				<img title="dscf0647.jpg" alt="dscf0647.jpg" src="http://www.bertera.it/gallery/marnotto-da-garzeno/thumbs/thumbs_dscf0647.jpg"  />
			</a>
		</div>
	</div>
	 		
	<div id="ngg-image-7" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.bertera.it/gallery/marnotto-da-garzeno/dscf0651.jpg" title="Elena" class="thickbox" rel="marnotto-da-garzeno" >
				<img title="dscf0651.jpg" alt="dscf0651.jpg" src="http://www.bertera.it/gallery/marnotto-da-garzeno/thumbs/thumbs_dscf0651.jpg"  />
			</a>
		</div>
	</div>
	 		
	<div id="ngg-image-8" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.bertera.it/gallery/marnotto-da-garzeno/dscf0652.jpg" title="Chiara" class="thickbox" rel="marnotto-da-garzeno" >
				<img title="dscf0652.jpg" alt="dscf0652.jpg" src="http://www.bertera.it/gallery/marnotto-da-garzeno/thumbs/thumbs_dscf0652.jpg"  />
			</a>
		</div>
	</div>
	 		
	<div id="ngg-image-9" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.bertera.it/gallery/marnotto-da-garzeno/dscf0654.jpg" title="Brindisi" class="thickbox" rel="marnotto-da-garzeno" >
				<img title="dscf0654.jpg" alt="dscf0654.jpg" src="http://www.bertera.it/gallery/marnotto-da-garzeno/thumbs/thumbs_dscf0654.jpg"  />
			</a>
		</div>
	</div>
	 		
	<div id="ngg-image-10" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.bertera.it/gallery/marnotto-da-garzeno/dscf0655.jpg" title="Chiara" class="thickbox" rel="marnotto-da-garzeno" >
				<img title="dscf0655.jpg" alt="dscf0655.jpg" src="http://www.bertera.it/gallery/marnotto-da-garzeno/thumbs/thumbs_dscf0655.jpg"  />
			</a>
		</div>
	</div>
	 		
	<div id="ngg-image-11" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.bertera.it/gallery/marnotto-da-garzeno/dscf0656.jpg" title="Tambo" class="thickbox" rel="marnotto-da-garzeno" >
				<img title="dscf0656.jpg" alt="dscf0656.jpg" src="http://www.bertera.it/gallery/marnotto-da-garzeno/thumbs/thumbs_dscf0656.jpg"  />
			</a>
		</div>
	</div>
	 		
	<div id="ngg-image-12" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.bertera.it/gallery/marnotto-da-garzeno/dscf0658.jpg" title="Chiara" class="thickbox" rel="marnotto-da-garzeno" >
				<img title="dscf0658.jpg" alt="dscf0658.jpg" src="http://www.bertera.it/gallery/marnotto-da-garzeno/thumbs/thumbs_dscf0658.jpg"  />
			</a>
		</div>
	</div>
	 	 	
	<!-- Pagination -->
 	<div class="ngg-clear">&nbsp;</div> 	
</div>

<br />
<b>Percorso:</b><br />
<iframe width="500" height="400" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps/ms?ie=UTF8&amp;hl=en&amp;t=h&amp;s=AARTsJpKomKmFnVuaxxCu9NOn9fLXxAzig&amp;msa=0&amp;msid=108657644796424220284.00045df4c7278b52586b1&amp;ll=46.119407,9.208302&amp;spn=0.020823,0.036478&amp;z=14&amp;output=embed"></iframe><br /><small><a href="http://maps.google.com/maps/ms?ie=UTF8&amp;hl=en&amp;t=h&amp;msa=0&amp;msid=108657644796424220284.00045df4c7278b52586b1&amp;ll=46.119407,9.208302&amp;spn=0.020823,0.036478&amp;z=14&amp;source=embed" style="color:#0000FF;text-align:left">View Larger Map</a></small></p>
<p>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bertera.it/2008/12/monte-marnotto/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Falesia del Sasso Pelo: Settore &#8220;Pelino&#8221;</title>
		<link>http://www.bertera.it/2008/11/sasso-pelo-pelino/</link>
		<comments>http://www.bertera.it/2008/11/sasso-pelo-pelino/#comments</comments>
		<pubDate>Tue, 04 Nov 2008 10:32:33 +0000</pubDate>
		<dc:creator>pietro</dc:creator>
		
		<category><![CDATA[Mountain]]></category>

		<category><![CDATA[sport]]></category>

		<category><![CDATA[arrampicata]]></category>

		<category><![CDATA[cliembing]]></category>

		<category><![CDATA[falesia]]></category>

		<category><![CDATA[sasso pelo]]></category>

		<guid isPermaLink="false">http://www.bertera.it/?p=170</guid>
		<description><![CDATA[
Accesso:
Da Como o da Lecco raggiungere il paese di Gravedona, situato sulla sponda sinistra del lago. Da qui seguire le indicazioni per &#8220;Livo&#8221; e &#8220;Dosso del Liro&#8221;. Appena oltrepassato il paese di Peglio si giunge ad una vecchia chiesetta, sulla sinistra, di fronte alla quale, sulla destra, vi è una piccola stradina che inizia con [...]]]></description>
			<content:encoded><![CDATA[<p><!-- 	 	 --></p>
<h3><strong>Accesso:</strong></h3>
<p>Da Como o da Lecco raggiungere il paese di Gravedona, situato sulla sponda sinistra del lago. Da qui seguire le indicazioni per &#8220;Livo&#8221; e &#8220;Dosso del Liro&#8221;. Appena oltrepassato il paese di Peglio si giunge ad una vecchia chiesetta, sulla sinistra, di fronte alla quale, sulla destra, vi è una piccola stradina che inizia con un breve tratto asfaltato in salita. Seguirla fino in fondo giungendo ad un evidente spiazzo in cui posteggiare. Da qui proseguire a piedi salendo all&#8217; abitato di Naro.<br />
Salire nel bosco seguendo alcune tracce che portano alla base delle pareti.</p>
<h3><strong>Descrizione:</strong></h3>
<p>Tra la primavera e l&#8217;inverno del 2007 questo settore ha subito un importante intervento di richiodatura e pulizia.</p>
<p>La roccia è sempre ottima e sicura, i tiri sono per lo piu&#8217; tecnici e di resistenza, l&#8217;arrampicata è sempre molto divertente.</p>
<p>La chiodatura è ottima a Fix inox, con moschettoni alle soste.</p>
<p>L&#8217; esposizione a Est rende questo settore un ottima falesia per le mezze stagioni e il periodo invernale.<br />
Il bel panorama e l&#8217;ambiente isolato fanno di questo posto un luogo assai suggestivo e tranquillo.</p>
<p><strong>Si raccomandano il massimo rispetto per la natura e la miglior educazione nei riguardi degli abitanti del borgo. </strong></p>
<p>Si ringrazia il CAI di Dongo per la fornitura di materiali ed i chiodatori, Romano Cesare, Muschialli Flavio, Pizzagalli Stefano, Bertera Pietro e Pozzi Marco.</p>
<h3><strong>Vie:</strong></h3>
<p><strong>A: </strong>Due vite su un guardrail  - 6a 	15 mt. Tettino e placca divertente</p>
<p><strong>B: </strong>Grin Corner 		     - 6b    	15 mt. Simile alla precedente, tecnica</p>
<p><strong>C: </strong>Fessurina			     - 6a     	15 mt. Divertente fessura</p>
<p><strong>D: </strong>Rigor mortis		     - 6b+  	30 mt. Movimenti tecnici su prese piatte</p>
<p><strong>E: </strong>Pelino plus		     - 7a     	30 mt. Placca tecnica e continuità su buone prese</p>
<p><strong>F: </strong> Due in uno		     - 6b+   	28 mt. Placca tecnica e continuità in uscita</p>
<p><strong>G: </strong>Giovani Speranze	     - 6c+   	15 mt. Boulder su spigolo fisico</p>
<p><strong>H: </strong> Il bacio di Giuda	     - 7b     	18 mt. Partenza violenta e continuità in strapiombo</p>
<div id="attachment_171" class="wp-caption alignnone" style="width: 222px"><a href="http://www.bertera.it/wp-content/uploads/2008/11/pelino.png"><img class="size-medium wp-image-171" title="pelino" src="http://www.bertera.it/wp-content/uploads/2008/11/pelino-212x300.png" alt="" width="212" height="300" /></a><p class="wp-caption-text">Sasso Pelo, settore Pelino</p></div>
<p><a href="http://www.bertera.it/wp-content/uploads/2008/11/pelino.pdf"></a></p>
<p><a href="http://www.bertera.it/wp-content/uploads/2008/11/pelino.pdf">Relazione PDF</a></p>
<h3><strong>Foto:</strong></h3>
<div id="attachment_175" class="wp-caption alignnone" style="width: 235px"><a href="http://www.bertera.it/wp-content/uploads/2008/11/pelino1.jpg"><img class="size-medium wp-image-175" title="pelino1" src="http://www.bertera.it/wp-content/uploads/2008/11/pelino1-225x300.jpg" alt="" width="225" height="300" /></a><p class="wp-caption-text">Flavio su &quot;Rigor mortis&quot;</p></div>
<div id="attachment_176" class="wp-caption alignnone" style="width: 235px"><a href="http://www.bertera.it/wp-content/uploads/2008/11/pelino2.jpg"><img class="size-medium wp-image-176" title="pelino2" src="http://www.bertera.it/wp-content/uploads/2008/11/pelino2-225x300.jpg" alt="" width="225" height="300" /></a><p class="wp-caption-text">Flavio su &quot;Rigor mortis&quot;</p></div>
<div id="attachment_177" class="wp-caption alignnone" style="width: 235px"><a href="http://www.bertera.it/wp-content/uploads/2008/11/pelino3.jpg"><img class="size-medium wp-image-177" title="pelino3" src="http://www.bertera.it/wp-content/uploads/2008/11/pelino3-225x300.jpg" alt="" width="225" height="300" /></a><p class="wp-caption-text">Io su &quot;Il bacio di Giuda&quot;</p></div>
<p><a href="http://www.bertera.it/wp-content/uploads/2008/11/pelino2.jpg"> </a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bertera.it/2008/11/sasso-pelo-pelino/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
