In attesa che venga sistemato pacchetto ati-driver nei repository descrivo la procedura per installare Driver Ati, Ati Stream sdk 2.3 con openCL 1.1 e CAL++ sulla Backtrack 4, R1, R2.
Requisiti
Ati Driver
ATI Stream SDK built for 32-bit Linux®
CAL++
Scaricate tutto in una cartella o sul desktop, dove volete, e aprite il terminale in tale posizione.
Procedimento
-Installazione Ati Driver
Inserire nel terminale
non modificare alcuna impostazione e cliccare "continue""agree""continue"Code:chmod +x ati-driver-installer-11-?-x86.x86_64.run ./ati-driver-installer-11-?-x86.x86_64.run
Al termine verificare che i driver appena installati siano presenti nei file di configurazione
Se NON vengono trovatiCode:aticonfig --initial=check
RiavviareCode:aticonfig --initial
Installazione completata
-Installazione ATI Stream SDK
Prima di procedere verificate se la vostra scheda video supporta Stream e Opencl
System Requirements
Scorrere fino in fondo e modificareCode:tar -xvzf ati-stream-sdk-v2.3-lnx32.tgz cp -r ati-stream-sdk-v2.3-lnx32 / nano ~/.bashrc
inCode:export LD_LIBRARY_PATH=opt/oracle/instantclient_10_2
e aggiungereCode:export LD_LIBRARY_PATH
Salvare e chiudere nano.Code:ATISTREAMSDKROOT=/ati-stream-sdk-v2.3-lnx32 ATISTREAMSDKSAMPLESROOT=/ati-stream-sdk-v2.3-lnx32/samples LD_LIBRARY_PATH=opt/oracle/instantclient_10_2:$ATISTREAMSDKROOT/lib/x86 export ATISTREAMSDKROOT export ATISTREAMSDKSAMPLESROOT
ancora da terminale
Riavviare o effettuare un logout e login.Code:cd / tar xvfz /ati-stream-sdk-v2.3-lnx32/icd-registration.tgz
Installazione completata
-CAL++
Installazione completataCode:cd apt-get install libboost-dev cmake tar xvfz calpp-*.tar.gz cd calpp-* cmake . make make install
-Pyrit con supporto a CAL++
In caso di errori potete eliminare i file installati conCode:apt-get purge pyrit svn checkout http://pyrit.googlecode.com/svn/trunk/ pyrit_svn cd pyrit_svn/pyrit ./setup.py build ./setup.py install --record ~/pyrit.txt cd ../cpyrit_calpp ./setup.py build ./setup.py install --record ~/pyritcalpp.txt
La procedura è identica per compilare pyrit con supporto per opencl, ma CAL++ risulta più performante soprattutto con la serie HD 5000.Code:cat ~/pyrit.txt | xargs rm -rf cat ~/pyritcalpp.txt | xargs rm -rf
Verificate se la scheda video viene riconosciuta con
un breve test per essere strasicuri che sia tutto okCode:root@bt:~#pyrit list_cores Pyrit 0.3.1-dev (svn r277) (C) 2008-2010 Lukas Lueg http://pyrit.googlecode.com This code is distributed under the GNU General Public License v3+ The following cores seem available... #1: 'CAL++ Device #1 'ATI RV770'' #2: 'CPU-Core (SSE2)'
Installazione completataCode:root@bt:~#pyrit selftest Pyrit 0.3.1-dev (svn r277) (C) 2008-2010 Lukas Lueg http://pyrit.googlecode.com This code is distributed under the GNU General Public License v3+ Cores incorporated in the test: #1: 'CAL++ Device #1 'ATI RV770'' #2: 'CPU-Core (SSE2)' #3: 'Network-Clients' Running selftest... All results verified. Your installation seems OK.
-Pyrit bechmark (HD4870)
--CAL++
--OPENCLCode:root@bt:~/pyrit_svn/cpyrit_calpp# pyrit benchmark Pyrit 0.3.1-dev (svn r277) (C) 2008-2010 Lukas Lueg http://pyrit.googlecode.com This code is distributed under the GNU General Public License v3+ Running benchmark (24340.4 PMKs/s)... - Computed 24340.41 PMKs/s total. #1: 'CAL++ Device #1 'ATI RV770'': 24825.2 PMKs/s (RTT 2.8) #2: 'CPU-Core (SSE2)': 759.9 PMKs/s (RTT 3.0)
-OclhashcatCode:root@bt:~/pyrit_svn/cpyrit_opencl# pyrit benchmark Pyrit 0.3.1-dev (svn r277) (C) 2008-2010 Lukas Lueg http://pyrit.googlecode.com This code is distributed under the GNU General Public License v3+ Running benchmark (17673.6 PMKs/s)... | Computed 17673.62 PMKs/s total. #1: 'OpenCL-Device 'ATI RV770'': 19407.0 PMKs/s (RTT 2.4) #2: 'CPU-Core (SSE2)': 199.1 PMKs/s (RTT 3.2)
HTHCode:root@bt:/pentest/passwords/oclhashcat# ./oclHashcat32.bin -o ~/found --output-format=2 -n 80 --gpu-loops=1024 -m 1000 ~/samdump ?l?l?l?l ?l?l?l?l oclHashcat v0.23 starting... Digests: 1 entries, 1 unique Bitmaps: 8 bits, 256 entries, 0x000000ff mask, 1024 bytes Platforms: 1 Platform #1: Advanced Micro Devices, Inc., OpenCL 1.1 ATI-Stream-v2.2 (302) (1 matched) Device #1: ATI RV770, 256MB, 0Mhz, 10MCU Device #1: Kernel kernels/4098/m1000.32.ATI RV770.kernel (238440 bytes) [s]tatus [p]ause [r]esume [h]elp [q]uit => s Threads...: 1 Mode.Left.: Mask '?l?l?l?l' (456976) Mode.Right: Mask '?l?l?l?l' (456976) Speed.GPU1: 1426.9M/s (running) Speed.GPU*: 1426.9M/s Recovered.: 0/1 Digests, 0/1 Salts Progress..: 5190451200/208827064576 (2.49%) Running...: 3 secs Estimated.: 2 mins, 22 secs


