Pagina principale

Da PiemonteWireless.

Benvenuto su PiemonteWireless,
wiki di informazione su wireless, radio & co.
73 articoli
Elettronica
Elettronica
Teorica e Pratica
Informatica
Informatica
Programmazione, OS e Hacks
Matematica
Matematica
nell' Elettronica e Informatica
Storia
Storia
Contemporanea
Libri
Libri
Biblioteca
Video
Video
Videoteca


How to load METLDR in ps3 20100314 Immagine:Enflag.jpg

How to load METLDR in PlayStation3

After some experiment I succeded to load METLDR in spu isolation.

You need geohot's exploit to do this, because you need to turn spu relocation off (MFC_SR1[R]=0) and not let know the HV you are using a SPU (so no calls to lv1_construct_logical_spe or similar). For some strange conf, it doesn't work in HV way.


Here the source code. Enjoy!!!!

Media:Spuisolation.tgz


Thks to TitanMKD, Xorloser and Mathieulh.


Here a paste o
[.........]

Compile available codecs in PJSip with iPhone SDK3.1.2 20100203 Immagine:Enflag.jpg

How compile available codecs in PJSip svn trunk (or 1.5.5) with iPhone SDK3.1.2

After you compiled successful PJSip with iPhone SDK3.1.2 (look this howto), with other little changes you can compile all the available codecs too.


You need to patches some files in pjproject:

In build.mak.in

 APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libg7221codec-$(LIB_SUFFIX)
 endif
 
+ifeq (@ac_has_g729_codec@,1)
+APP_THIRD_PARTY_LIBS += -lg729codec-$(TARGET_NAME)
+APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/g729/lib
+endif
+


In pjmedia/build/os-auto.mak.in

 AC_NO_G722_CODEC=@ac_no_g722_codec@
 AC_NO_G7221_CODEC=@ac_no_g7221_codec@
+AC_HAS_G729_CODEC=@ac_has_g729_codec@
 
 export<br>[.........]<br>

Using Settings.bundle in Siphon project instead of SiphonSettings project 20100130 Immagine:Enflag.jpg

Using Settings.bundle in Siphon project instead of SiphonSettings project

The Siphon project come with a particular settings configuration (SiphonSettings), the same method that Apple uses to present settings to the user (like in Preferences.app).

This method give more power to settings configuration; what you can't do with the usual Settings.bundle way is:

"[...] Number one, you cannot execute code within the Settings application. Number two, you are limited to using only certain types of table cells within your settings. And most importantly, your Settings.bundle needs to be located in your application bundle, in ~/Applications/. This cannot be if you are coding for a jailbroken environment which wants your application to live in /Applications/"


[.........]

How compile PJSip 1.x (svn or 1.5.5) with iPhone SDK 3.1.2 20100128 Immagine:Enflag.jpg

How compile PJSip 1.x (svn trunk or 1.5.5) with iPhone SDK 3.1.2

Thanks to huge work of PJSip team and to Samuel Vinson for iphonesound.c code.



Checkout the latest svn trunk version of PJSip from here:

http://svn.pjsip.org/repos/pjproject/trunk

or download the latest PJSIP from here:

http://www.pjsip.org/download.htm



First step, you need to patches some files in pjproject:

In aconfigure.ac

 case $target in
+  arm-apple-darwin*)
+        LIBS=”$LIBS -framework CoreAudio -framework CoreFoundation -framework AudioToolbox”
+        ac_pjmedia_snd=iphone
+        AC_MSG_RESULT([Checking sound device backend... AudioQueue])
+        ;;
  *darwin*)
        LIBS="$LIBS -framework CoreAudio -framework CoreServices -framework AudioUnit -framework AudioToolbox"

[.........]

How to install python PaiMei on Mac OSX Snow Leopard 20091215 Immagine:Enflag.jpg

How to install python PaiMei on Mac OSX Snow Leopard

PaiMei, is a reverse engineering framework consisting of multiple extensible components. The framework can essentially be thought of as a reverse engineer's swiss army knife and has already been proven effective for a wide range of both static and dynamic tasks such as fuzzer assistance, code coverage tracking, data flow tracking and more.

Install VirtualEnv

Usually I use VirtualEnv to separate various Python lilbrary installation.

$ easy_install virtualenv

Create Python2.5 virtual environment

I named this virtualenv "debuggerenv25"

$ virtualenv --python=python2.5 debuggerenv25


[.........]

Install AircrackNG on Mac OS X 20091213 Immagine:Enflag.jpg

How install aircrack-ng on Snow Leopard

In this short howto I'll show you how to install last subversion aircrack on your Snow Leopard.

First, checkout the last trunk version:

svn co http://trac.aircrack-ng.org/svn/trunk aircrack-ng

Then you need to apply this two patches:

Fix for OSX

wget "http://trac.aircrack-ng.org/raw-attachment/ticket/687/byteorder.patch"
wget "http://trac.aircrack-ng.org/raw-attachment/ticket/687/force-32bit-on-darwin.diff"
cd aircrack-ng
patch -p0 < ../byteorder.patch
patch -p1 <../force-32bit-on-darwin.diff


[.........]

Promemoria per CPIO 20091212 Immagine:Itflag.gif

Un promemoria sull'uso dell'utility CPIO

CPIO e' un tools molto utile, che in alcuni casi puo' sostituire degnamente cp o tar.

utilizzo di base

Creare un archivio:

localhost% find path/ -depth -print | cpio -oaV > archive.cpio
localhost% find path/ -depth -print | cpio -oaV -O archive.cpio

Creare un archivio compresso:

localhost% find path/ -depth -print | cpio -oaV | gzip -c > archive.cpio.gz

Estrarre un archivio:

localhost% cpio -imVd < archive.cpio
localhost% cpio -imVd -I archive.cpio

Listare il contenuto di un archivio:
[.........]

Copiare un albero con scp 20091211 Immagine:Itflag.gif

Copiare un albero di directory con scp -r

A volte risulta comodo usare scp -r:

  utente@macchina:~$ scp -r -C sito.remoto.com:/opt/altraDirectory miadirectory

il parametro C serve ad attivare la compressione dei dati.

Se però la directory contiene molti file piccoli questo comando risulterà enormemente più veloce:

  utente@macchina:~$ ssh sito.remoto.com tar cjf - /opt/altraDirectory|tar xjf -

[.........]

SSH_Key per accedere senza richiesta di password 20091210 Immagine:Itflag.gif

Creare le chiavi SSH per accedere ad una macchina senza richiesta di password

Chiamo pippo il server su cui voglio entrare in ssh senza che mi venga richiesta la password e paz il server da cui voglio entrare.

ssh-keygen è usato per generare la coppia di chiavi necessaria all'autenticazione.

simone@paz$ ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/simone/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/simone/.ssh/id_rsa.
Your public key has been saved in /home/simone/.ssh/id_rsa.pub.
The key fingerprint is:
4c:64:4d:05:38:68:0f:d9:83:16:5f:01:ac:e0:5f:98 simone@paz

Alla richiesta di una passphrase premere
[.........]

Modding HTC Dream di TIM con Ubuntu 20090613 Immagine:Itflag.gif

Guida al modding dello smartphone HTC Dream (G1) di TIM tramite Ubuntu

Ho appena avuto tra le mani il nuovo HTC Dream marchiato TIM con il sistema operativo di Google Android.

Alcune delle prime domande che mi sono fatto sono:

  • dov'è la shell ?
  • ho i permessi di root ?

Una veloce risposa alla prima domanda l'ho trovata qui:

ADB

Ma con mia sorpresa (non eccessiva direi) i permessi di root non ci sono.

Quindi dopo una breve gugulata ho trovato la soluzione e molto altro.

Partiamo con ottenere i permessi di root.

ROOT sul mio HTC Dream

I file necessari li ho compressi in questo zip: Media:Modfilesbysimone.zip

Occore inoltre scaricare Android SDK.


[.........]

Phrack66 is out 20090613 Immagine:Enflag.jpg

Phrack issue #66 is out!!!!!!!!!!!!!!

Look quickly: PHRACK66

The TOC:

[-]=====================================================================[-]


 0x01 Introduction                                             TCLH
 0x02 Phrack Prophile on The PaX Team                          TCLH
 0x03 Phrack World News                                        TCLH
 0x04 Abusing the Objective C runtime                          Nemo
 0x05 Backdooring Juniper Firewalls			       Graeme
 0x06 Exploiting DLmalloc frees in 2009                        Huku
 0x07 Persistent BIOS infection				       .aLS & 
                                                               Alfredo
 0x08 Exploiting UMA : FreeBSD kernel heap exploits            Argp & Karl
 0x09 Exploiting TCP Persist Timer Infiniteness                Ithilgore
 0x0A Malloc Des-Maleficarum				       Blackngel
 0x0B A Real SMM Rootkit				       Core collapse
 0x0C Alphanumeric RISC ARM Shellcode                          Y.Younan & 
                                                               P.Philippaerts
 0x0D Power cell buffer overflow			       BSDaemon
 0x0E Binary Mangling with Radare			       Pancake
 0x0F Linux Kernel Heap Tempering Detection		       Larry H.
 0x10 Developing MacOSX Rootkits			       Wowie & 
                                                               Ghalen
 0x11 How close are they of hacking your brain ?	       Dahut

[-]=====================================================================[-]

[.........]

Poesie di Alekos Panagulis 20090304 Immagine:Itflag.gif Immagine:Enflag.jpg

Vi scrivo da un carcere in Grecia

di Alekos Panagulis

titolo originale: I write you from a prison in Greece

Edito in Italia da Rizzoli (1974)


IL MIO INDIRIZZO

Un fiammifero per penna
Sangue versato in terra per inchiostro
L'involto di una garza dimenticata per foglio
Ma cosa scrivo?
Forse ho solo il tempo per il mio indirizzo
Strano, l'inchiostro s'è coagulato
Vi scrivo da un carcere
In Grecia

MY ADDRESS

A match as a pen
Blood on the floor as ink
The forgotten gauze cover as paper
But what should I write?
I might just manage my address
This ink is strange; it clots
I write you from a prison
in Greece

Carcere militare di Boiati, isolamento 5 giugno 1971 – dopo un pestaggio
Military Prisons of Bogiati, 5 June 1971 – after beating



[.........]

Dischi Solid State (SSD) Intel X25-E su Ubuntu 20090304 Immagine:Itflag.gif

Dischi Solid State (SSD) Intel X25-E su Ubuntu

Dopo aver visto le ottime performance dei nuovi dischi solid state della Intel, ho montato questi dischi su un nuovo server Supermicro, in particolare una coppia di Intel X25-E da 32Gb.

Ho installato la versione server della ultima Ubuntu e ho montato i dischi con un RAID1 software.

Quindi ho preso qualche piccolo accorgimento per aumentare le performance e allungare la vita ai dischi SSD, che dopo un tot di accessi al disco si deteriorano e muoiono.

Gli accorgimenti sono:

  • Montare i volumi con l'opzione noatime: di default Linux aggiorna l'attributo "ultimo accesso" ogni volta che un file viene visto, il che comporta un notevole (e per me inutile) accesso al disco. Per disabilitare questa funzione occorre cambiare l'opzione relatime in noatime nel file /etc/fstab ad ogni riga che monta i device SSD.
    [.........]

Cluster storage using DRBD and GFS2 20090117 Immagine:Enflag.jpg

How create a good shared storage to be used in a cluster (using DRBD and GFS2)

I tried different way to create a shared storage for my cluster.

My first and most important rule (after performance) was synchronization in both direction, so I can't use simple rsync command. I tested Glusterfs but performances was very low, then I tried Unison but it's pretty unstable and I had alot of problem just to compile it.
So I decided to use a block level Distributed file system and I choose DRBD with OCFS2, becouse I read alot of good news about them.

The following text is my experience with them,
[.........]

OpenVPN: a tutorial 20090114 Immagine:Enflag.jpg

OpenVPN: a tutorial

This document describe how to install OpenVPN software on an Ubuntu Linux system (or Debian like one).

For info on OpenVPN, what is and what can do, please refer to Main OpenVPN site.

In this tutorial I'll compile and install OpenVPN from source. If you prefer to install it by APT, please skip the "Compile and Install section" and go to "Configuration section" replacing all occurence to my openvpn config dir (/opt/openvpn/etc) with the default config dir
[.........]

Aste al ribasso 20090104 Immagine:Itflag.gif

La verita su Bidplaza e sulle aste al ribasso

Analisi tecnica delle lotterie meno conosciute (e meno chiare) del mondo

A cura di: Piero Tofy


La prima volta che sentii parlare di aste al ribasso non volli credere che ci fossero dei pazzi che vendevano una Porsche per poche decine di euro e degli apparecchi elettronici come I-Pods e PlayStations dal valore di diverse centinaia di euro per pochi centesimi. Incuriosito, mi documentai sulla loro pagina http://www.bidplaza.it/t_contact.php a proposito del funzionamento di quest'idea mangiasoldi del secolo. Riassunto brevemente, l'idea geniale consiste nel fatto che si, puoi effettivamente comprare un oggetto per pochi centesimi se la tua offerta è unica (non ci sono altre persone che hanno offerto la tua cifra) e la più bassa (tutte le offerte piu basse della tua sono state prese da 2 o più persone). Piccolo particolare: per fare un'offerta devi pagare una sorta di "commissione", che su Bidplaza al momento in cui scrivo è pari a 2,00 €
Dove sta il guadagno per i proprietari vi chiederete?
[.........]

Connettori per radiofrequenza 20081118 Immagine:Itflag.gif

Introduzione

In questa piccola guida intendo fare un pò di chiarezza sul mondo dei connettori coassiali per la radiofrequenza.

Per chi si accosta per la prima volta al mondo della radiofrequenza, la molteplici tipologie di connettori sono spesso una delle causa delle difficoltà di realizzazione di semplici impianti e il loro errato utilizzo porta alle volte ad una notevole dispersione del segnale di antenna,

Inizio quindi a riassumere le tipologie di connettori dividendole per modalità di assemblaggio per poi passare ad una descrizione dettagliata di ognuno
[.........]

Navigare in modo anonimo sul web 20081111 Immagine:Itflag.gif

Diventare anonimi con Tor e Privoxy

Se vuoi navigare in modo anonimo sul web, ovvero nascondere il tuo IP di provenienza, un ottima soluzione è usare Tor inseme a Privoxy.

Questi sono i passi da eseguire su un Ubuntu (Debian like).

 sudo apt-get install tor privoxy 

Poi edita il file /etc/privoxy/config, aggiungendo questa riga:

 forward-socks4a             /     127.0.0.1:9050 .

e commenta queste due linee dello stesso file:

 #logfile logfile
 #jarfile jarfile

Quindi riavvia privoxy:

 sudo /etc/init.d/privoxy restart

Infine conviene usare Firefox
[.........]

Plone Big Icons 20081111 Immagine:Enflag.jpg

Change icon size in Plone

For a client we had to customize default Plone icon size. The Zope Component Architecture allowed us to do it very easily.

This is not a howto: it is a "note to self" that might be useful to others. Find good documentation about Plone on Plone.org.

There is a related (minimal) egg here.

Plone is great, but customers always want custom-looking sites.

Icons in the navigation portlet can be customized ttw or in a product, because they come from the plone_images skin layer.

But they will always be 16 pixels x 16 pixels images.


[.........]

Rapidshare e Wget 20081025 Immagine:Itflag.gif

Usare WGET (o CURL) per scaricare files da RapidShare

Rapidshare (inseme a Megaupload e a qualche altro) è un ottimo provider dove è possibile scaricare un pò di tutto, dai films alla musica ai softwares (in modo legale o no... questo sta a voi deciderlo).

Rapidshare offre due tipologie di accesso:

  • Gratis: permette di scaricare un solo file per volta di massimo 100Mb e limita sia la banda che il numero totale di download (restando comunque perfettamente utilizzabile)
  • Premium: è la modalità senza limitazione (tranne un limite di bytes scaricati che si aggira sui 5Gb al giorno) accessibile a fronte di un pagamento mensile

In questo breve tutorial intendo spiegarvi come scaricare files tramite wget (oppure curl) dal sezione Premium del sito Rapidshare.
[.........]

Internet in Italia 20081025 Immagine:Itflag.gif

Topologia della rete in Italia

Vi sono parecchi operatori rivolti ad un'utenza differenziata (commerciale piuttosto che accademica):

GARR

La Rete GARR (il cui acronimo singifica "Gestione Amplimento Rete Ricerca") è composta da tutte le Entità che rappresentano la Comunità Accademica e della Ricerca Scientifica in Italia. Offre una rete con banda fino a 10 Gb/s con peering verso gli altri gestori nazionali in molti punti e fino a 10 Gb/s verso le altre reti europee ed interzaionali (TELIA nel NordEuropa, Géant sul resto dell'Europa) di cui fruiscono principalmente Università, centri di ricerca e organismi governativi ed altri enti pubblici. (link)
[.........]

Xargs e Mv 20080926 Immagine:Itflag.gif

Usare il comando xargs per muovere un grande numero di files

Mi è capitato di dover muovere un numero enorme di files presenti in una directory senza poter muovere la directory stessa.

Ecco un esempio su come procedere.

Immaginiamo di avere una directory /store dove sono presenti moltissimi file e di voler spostare tutti i files wav presenti al suo interno in un'altra directory /musica.

Il comando è:

 utente@macchina:~$ find /store -iname '*.wav'|xargs -I '{}' mv {} /musica

e il gioco è fatto.


Name (required):

Website:

Comment:


[.........]

Postgrey antispam 20080814 Immagine:Itflag.gif

Postgrey: un metodo antispam semplice ed efficace

Il software Postgrey usa delle liste di quarantena, chiamate greylist in cui deposita le mail in arrivo.

Il funzionamento è semplice: ogni mail in ingresso viene identificata dalla tripletta IP_SORGENTE/MITTENTE/DESTINATARIO (CLIENT_IP/SENDER/RECIPIENT). Se è la prima volta che la tripletta viene incontrata, o se è già stata vista da meno di 5 minuti, la tripletta (e quindi la mail) è messa in quarantena (greylisted), e la mail sarà respinta con un messaggio di "errore temporaneo". Se la stessa tripletta è vista dopo 5 minuti e prima di 35 giorni, la mail sarà accettata (ovviamente i valori di 5 minuti e 35 giorni sono configurabili).

L'idea chiave alla base di questo metodo antispam è che gli spammers non possono rispettare gli standard RFC che dicono che quando una mail non può essere trasmessa,
[.........]

FileSystem Distribuito GlusterFS 20080425 Immagine:Itflag.gif

File System Distribuito: GlusterFS

GlusterFS è un file system clusterizzato capace di gestire molti petabytes.

Segue un dettaglio della mia installazione su un sistema Ubuntu-like.

Il lato client di GlusterFS usa Fuse per il mount.

Scaricare l'ultima versione di GlusterFS da [1].

E' consigliabile installare anche una versione patchata di Fuse, fatta su misura per GlusterFS (migliori performance IO ed altro). Si può scaricare da [2].

$ cd /opt/source
$ mkdir glusterFS
$ wget http://europe.gluster.org/glusterfs/1.3/glusterfs-1.3.8pre6.tar.gz
$ wget http://europe.gluster.org/glusterfs/fuse/fuse-2.7.2glfs9.tar.gz
$ tar xvzf glusterfs-1.3.8pre6.tar.gz
$ tar xvzf fuse-2.7.2glfs9.tar.gz

Cominciamo con Fuse (ricordarsi di backappare il modulo originale di fuse,
[.........]

DHCP Server 20080418 Immagine:Itflag.gif

Installare un Server DHCP per una configurazione automatica degli IP

Premetto che mi baso su una distribuzione Debian-compatibile, ovvero Ubuntu etc...

Installo il pacchetto dhcpd

 $ sudo apt-get install dhcp3-server


Abilito il server DHCP sull'interfaccia di rete eth0

 # /etc/default/dhcp3-server
 INTERFACES="eth0"

Edito il file di configurazione del server DHCP:

 $ vim /etc/dhcp3/dhcpd.conf

Qui mostro un esempio di assegnazione di IP tramite riconoscimento di MAC address, in modo che tutte le richieste provenienti da una data scheda di rete restituiscano sempre lo stesso IP. L'esempio assegna al computer apollo, con scheda di rete avente MAC 00:10:20:530:A0:B0 l'indirizzo IP 192.168.50.10 (router 192.168.50.1, dns 208.67.222.222, etc...)

 # dhcpd.conf
 ddns-update-style none;
 default-lease-time 600;
 max-lease-time 7200;
 log-facility local7;
 
 subnet 192.168.50.0 netmask 255.255.255.0 {
       host apollo {
               # 'ping target_host', 'ar
[.........]

Installazione tramite PXE 20080418 Immagine:Itflag.gif

Installazione di Ubuntu da remoto tramite PXE

Vi sarà capitato di dover installare Linux su una macchina senza CDRom, o di non averne uno a portata.

La soluzione è PXE (Preboot Execution Environment), ovvero un metodo per eseguire il boot di un computer tramite ethernet.

Per prima cosa occorre installere un server DHCP (vedi qui).

Poi aggiungiamo le seguenti righe al file di configurazione del DHCP, ovvero dhcpd.conf

 next-server 192.168.50.1;
 filename "pxelinux.0";

dove 192.168.50.1 è l'IP del server su cui stiamo lavorando.

Adesso installiamo il server TFTP (Trivial file transfer protocol) ed anche un client per fare testing:

 $ sudo apt-get install tftpd-hpa tftp-hpa

Abilitiamo il server TFTP e settiamone la directory di lavoro:

 $ sudo vim /etc/default/tftpd-hpa 
 # /etc/default/tftpd-hpa
 RUN_DAEMON="yes"
 OPTIONS="-l -s /home/pxetero/"

Aggiungiamo un utente per il servizio TFTP:

 $ sudo adduser pxetero 

Devo permettere al
[.........]

Phrack #65 Released 20080415 Immagine:Enflag.jpg

Phrack #65 RELEASED

TOC of this issue:

 0x01 Introduction                                                      TCLH
 0x02 Phrack Prophile of The UNIX Terrorist                             TCLH
 0x03 Phrack World News                                                 TCLH
 0x04 Stealth Hooking: another way to subvert the Windows kernel        mxatone,ivanlefou
 0x05 Clawing holes in NAT with UPnP                                    felinemenace
 0x06 The only laws on Internet are assembly and RFCs                   Julia
 0x07 Hacking the System Management Mode                                BSDaemon, coideloko, d0nand0n
 0x08 Mystifying the debugger for ultimate stealthness                  halfdead
 0x09 Australian Restricted Defense Networks and FISSO                  The Finn
 0x0a Phook - The PEB Hooker                                            shearer & dreg
 0x0b Hacking the $49 Wifi Finder                                       openschemes
 0x0c The art of exploitation: Samba WINS stack overflow                max_packetz
 0x0d The Underground Myth                                              anonymous
 0x0e Hacking your brain: Artificial Conciousness                       -C
 0x0f International scenes                                              various


[.........]

Controller Sitronix ST7066U ed FPGA 20080412 Immagine:Itflag.gif

Gestire il controller LCD della board FPGA Xilinx Spartan 3AN

La scheda FPGA Xilinx Spartan 3AN (o simile come il modello 3E) possiede un LCD composto da 2 linee per 16 caratteri.

Lo schermo LCD e' gestito da un controller Sitronix ST7066U, che è equivalente a:

  • Samsung S6A0069X or KS0066U
  • Hitachi HD44780
  • SMOS SED1278

Ho da poco ricevuto questa scheda e, poichè assolutamente nuovo a questo mondo, ho cominciato con qualche semplice esercizio in VHDL quali accendere led, settare interrutori etc...

Riporto qui il codice VHDL che ho implementato per la gestione del controller LCD, ritenendolo interessante ed utile per un principante
[.........]

DNS Server su Ubuntu 20080309 Immagine:Itflag.gif

Installare un server DNS su Ubuntu (o Debian)

Delle volte conviene installare sul proprio gateway, oltre ad un server DHCP (consiglio udhcp) anche un server DNS.

In questo modo potremo sia assegnare un nome di dominio alla nostra lan, sia semplificare la configurazione delle altre macchine, usando l'indirizzo del gateway anche come DNS. Chi non considera utili queste motivazioni, la semplice curiosità può bastare. Il server che usiamo è BIND9 La rete del mio esempio comprende un gateway 192.168.1.1 che chiamiamo gateway.ufficio.lan (su cui lavoriamo) e due macchine 192.168.1.10 e 192.168.1.11 che chiamiamo rispettivamente pollicino.ufficio.lan e paperino.ufficio.lan. Riassumendo:

  • 192.168.1.1 gateway.ufficio.lan
  • 192.168.1.10 pollicino.ufficio.lan
  • 192.168.1.11 paperino
    [.........]

Programmatori per chip AVR 20080224 Immagine:Itflag.gif

Scegliere un programmatore per i chip AVR

Tipi di programmatori

Esistono circa una dozzina di tipi di programmatori, ma qui esaminerò solo i 4 tipi più diffusi:

  • Programmatore semplice (Bitbang)
  • Programmatore ISP
  • Scheda di sviluppo (Development boards)
  • Nessun programmatore (Bootloader)
    [.........]

PIC vs AVR 20080224 Immagine:Enflag.jpg

PIC vs AVR

Ultimate fight!

The fight is ON!

OK, I know what you people want. You want ultimate fighting, embedded E.E. style. You want to know WHICH IS BETTER, PIC OR AVR?

Well, I know what side I'm placing my bets on (AVR of course) but for 99% of beginners, it doesn't matter too much which way you start.

Regardless, I'm tired of answering the same questions over & over, so here we go!
[.........]

WiFi Spectrum Analyser 20080220 Immagine:Enflag.jpg

DIY 2.4GHz Spectrum Analyser

This is a simple project that allows you to monitor the 2.4GHZ ISM band in your immediate vicinity.

There many wireless devices available on the market now that broadcast in the 2.4GHz spectrum including Bluetooth, 802.11a/b ethernet (WiFi), Zigbee, wireless USB, cordless phones, wireless mice and keyboards and the humble microwave oven. Depending where you live in the world your government has allocated a roughly 80MHz block for transmitting all manner of data starting at 2.4GHz. It's getting a bit crowded in this band, especially if you live in a built up urban area. With this project you can monitor what's going on and figure out what channel to change your WiFi network to in order for it to keep working when your neighbor rudely sets up their wireless network on the same channel as you (that'd be channel 6, you lazy sod).
[.........]

Pover Over Ethernet 20080220 Immagine:Enflag.jpg

Yet Another Power Over Ethernet

A friend of mine aquired a pair of DLink DWL-900APs which he wanted for a 2.5km point to point link. He wanted to replace the 486's currently in his roof cavity containing ye olde ISA Wavelan cards with something that would be less of a potential fire hazard. Understandable. And he wanted to go above 2Mbit. Even more understandble. So I undertook to make him a Power Over Ethernet kit. I found NYCWireless's POE which I used as a guide. As the DWL-900AP needs 5V to operate, I have included regulation so that the AP will get consistent power over a variety of CAT5 cable lengths.

Note that this POE IS NOT compatible with the IEEE 802.3af POE standard. See the bottom of this page for details on 802.3af.'
[.........]

Argument List Too Long 20071202 Immagine:Itflag.gif

/bin/rm: Argument List Too Long

Mi e' capitato piu' volte di voler cancellare il contenuto di una directory dove il numero dei files presenti e abbastanza grande.

Purtroppo il numero di argomenti che si puo' passare a /bin/rm e' limitato:

 utente@macchina:~$ rm /opt/unaDirectory/*.txt
 /bin/rm: Argument list too long.


[.........]

Sound With Ceres3 20071026 Immagine:Enflag.jpg

Transforming Sound With Ceres3

(da un articolo di Dave Phillips una volta su [3] ma ora quasi introvabile)

Ceres3 is a spectral domain editor for audio files. Its display represents the frequency content of a sound as it changes over time, and the program's toolkit provides the means for directly editing and transforming that content. Ceres3 is a fantastic tool for studying, editing, and creating sounds, and in this tutorial we'll take a look at what can be done with some of Ceres3's powerful Transforms.

Preparation

The examples here were made under certain conditions. I used a 29-second monaural AIFF file (Ceres3 reads and writes only mono AIFF soundfiles), and I started the program with this command sequence:

 ceres3 4096 4096 128 800 

The command options set the FFT and window sizes, the window step factor, and the display width. Higher values for the first three options will result in higher resolution analysis and a much larger analysis file
[.........]

Apache MPM Types 20070918 Immagine:Itflag.gif

Apache MPM Worker (the thread way) e PHP5

Recentente mi sono posto la domanda di cosa fossero tutte quei possibili pacchetti di installazione di Apache2 che si trovano su una Ubuntu.

# apt-cache search apache2|grep apache2-mpm
apache2-mpm-event - Event driven model for Apache HTTPD 2.1
apache2-mpm-perchild - Transitional package - please remove
apache2-mpm-prefork - Traditional model for Apache HTTPD 2.1
apache2-mpm-worker - High speed threaded model for Apache HTTPD 2.1
apache2-mpm-itk - multiuser MPM for Apache 2.2

Ho cosi' scoperto che sono delle diverse compilazioni di Apache.
[.........]

Microchip Simulation Links 20070803 Immagine:Enflag.jpg

Microchip Simulation Software

A commented list of software simulation for various microcontrollers.

PIC (Microchip)

gpsim is a full-featured software simulator for Microchip PIC microcontrollers distributed under the GNU General Public License. Linux (ported to Windows)
Program for development and simulation of software for the PIC16F84 microcontroller made by Microchip. Windows / Linux (Java)


[.........]

Chaos Communication Camp 2007 20070801 Immagine:Itflag.gif

Chaos Communication Camp 2007

Link al Wiki dell'evento

Dopo il WTH di due anni fa in Olanda, quest'anno e' la volta del congresso del piu' noto e longevo gruppo H. europeo, il CCC (Chaos Computer Club).

In due parole, un Camp e' un luogo di ritrovo all'aperto dove i migliori nel campo tengono conferenze (Speech) su argomenti di sicurezza informatica.

Il prezzo della 5 giorni e' di 150 euro, prezzo modico se consideriamo le strutture e le persone che un evento di questo genere richiede, nonchè l'altissima qualità degli speakers che intervengono
(non paragonabile nemmeno lontanamente ad alcuni di quei pseudo Hackmeeting italiani, dove la gratuità dell'ingresso è proporzionale alla vacuità dei contenuti).
[.........]

Hacking the World of Warcraft 20070724 Immagine:Enflag.jpg

Reversing World of Warcraft

Understanding the structure of protocols is essential to being able to identify potential problems or suspicious activity. But, how does one confidently identify a protocol when there is no documentation nor obvious signs? This is the challenge for us when creating our gaming filters. Gaming protocols are unique, proprietary protocols with zero documentation. In this blog entry, I will dissect the first packet in the authentication session for the popular MMO game, "World of Warcraft".

Note: If you want to test this dissection out for yourself, please note that I take no responsibility in any accounts getting banned for Terms Of Service violations. And no, I don't have an active account anymore; I '/wowquit' on my own terms long ago.
[.........]

PHRACK is back!!! 20070527 Immagine:Enflag.jpg

Phrack Is BACK !!!

"As long as there is technology, there will be hackers.

As long as there are hackers, there will be PHRACK magazine.

We look forward to the next 20 years"

Wonderfull news!!!

The best security ezine ever is back! In the last release of #63 the Phrack staff announced their final issue.

NOW I JUST DISCOVERED THE NUMBER 64 IS OUT.
[.........]

1 Rating: 2.9/5 (85 votes cast)

Strumenti personali