dwaaan / pyrit

Automatically exported from code.google.com/p/pyrit
0 stars 0 forks source link

cpyrit-cuda with GTX 460M and intel I7 + propably python compiler #257

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello,
I'm new in Linux environment, so there is a chance a make a foolish mistake 
somewhere. Please forgive my faults.

What steps will reproduce the problem?
1.installing nvidia-driver
2.installing pyrit
3.installing cpyrit-cuda
everything is up-to-date.
when i check, i see:
pyrit list_cores 
The following cores seem available...
#1:  'CUDA-Device #1 'GeForce GTX 460M''
#2:  'CPU-Core (SSE2)'
#3:  'CPU-Core (SSE2)'
#4:  'CPU-Core (SSE2)'
#5:  'CPU-Core (SSE2)'
#6:  'CPU-Core (SSE2)'
#7:  'CPU-Core (SSE2)'
#8:  'CPU-Core (SSE2)'

pyrit selftest:
Cores incorporated in the test:
#1:  'CUDA-Device #1 'GeForce GTX 460M''
#2:  'CPU-Core (SSE2)'
#3:  'CPU-Core (SSE2)'
#4:  'CPU-Core (SSE2)'
#5:  'CPU-Core (SSE2)'
#6:  'CPU-Core (SSE2)'
#7:  'CPU-Core (SSE2)'
#8:  'CPU-Core (SSE2)'

Running selftest...

All results verified. Your installation seems OK.

pyrit benchmark
Running benchmark (10037.1 PMKs/s)... \

Computed 10037.06 PMKs/s total.
#1: 'CUDA-Device #1 'GeForce GTX 460M'': 8741.6 PMKs/s (RTT 2.8)
#2: 'CPU-Core (SSE2)': 276.0 PMKs/s (RTT 3.0)
#3: 'CPU-Core (SSE2)': 274.0 PMKs/s (RTT 3.0)
#4: 'CPU-Core (SSE2)': 270.8 PMKs/s (RTT 3.0)
#5: 'CPU-Core (SSE2)': 273.4 PMKs/s (RTT 3.0)
#6: 'CPU-Core (SSE2)': 273.9 PMKs/s (RTT 3.0)
#7: 'CPU-Core (SSE2)': 274.5 PMKs/s (RTT 3.0)
#8: 'CPU-Core (SSE2)': 276.9 PMKs/s (RTT 3.0)

next when i try to test my network security:
pyrit -e xxx -i /pentest/passwords/wordlists/bt4-password.txt -r testing.cap 
attack_cowpatty

i see(What is the expected output? What do you see instead?):
Pyrit 0.3.1-dev (svn r280) (C) 2008-2010 Lukas Lueg http://pyrit.googlecode.com
This code is distributed under the GNU General Public License v3+

Traceback (most recent call last):
  File "/usr/bin/pyrit", line 6, in <module>
    pyrit_cli.Pyrit_CLI().initFromArgv()
  File "/usr/lib/python2.5/site-packages/pyrit_cli.py", line 116, in initFromArgv
    func(self, **options)
  File "/usr/lib/python2.5/site-packages/pyrit_cli.py", line 164, in new_f
    f(*args, **kwds)
  File "/usr/lib/python2.5/site-packages/pyrit_cli.py", line 1102, in attack_cowpatty
    with cpyrit.util.CowpattyFile(infile) as cowreader:
  File "/usr/lib/python2.5/site-packages/cpyrit/util.py", line 287, in __init__
    raise RuntimeError("Not a cowpatty-file.")
RuntimeError: Not a cowpatty-file.

What version of the product are you using? On what operating system?
So, I'm using Backtrack 4 RC2 on USB, on my notebook witch have Intel Core I7, 
Geforce GTX 460M Cuda 1,5GB and wieless card Atheros AR9285 witch is compatible 
with BT4 RC2. Pyrit version is 0.3.1-dev (svn r280), nvidia-driver 256.40-bt1 
Driver for nvidia graphics cards 2.6.34, cpyrit-cuda 256.40-bt1.

waiting for your help. ive found some simillar issues here but non of the had 
same error code.
respectfully
Johnny

Original issue reported on code.google.com by Jan.Bani...@gmail.com on 4 Feb 2011 at 3:38

GoogleCodeExporter commented 8 years ago
RuntimeError: Not a cowpatty-file.

testing.cap  is not a cowpatty file.

remove the cowpatty command, besides you do not need to use cowpatty to crack 
wpa with pyrit

Original comment by thefixe...@gmail.com on 4 Feb 2011 at 4:29

GoogleCodeExporter commented 8 years ago
attack_cowpatty uses Pairwise Master Keys stored in a binary file as used by 
cowpatty (e.g. generated through genpmk). If you have just a text-file with 
passwords, use attack_passthrough

Original comment by lukas.l...@gmail.com on 4 Feb 2011 at 7:34

GoogleCodeExporter commented 8 years ago
as i assume cowpatty file is *.cap or *.pcap and it is created by some program 
when someone is try to connect to his ap, yes ? so i can deauth him, he will 
try to connect again and then i will get my handshake connection ??
I have generated by genpmk hashfile with no extension witch as i suppose 
contains pmks. i have used a dictionary bt4-password.txt.
should i have handshakes before generating the hash file ?
currently i think my wireless card is a bit to weak (im getting 1-5 ivs/s) 
(waiting 1 hour and have no handshakes) so i will buy one of this (plz tell me 
witch one is the best of them): Alfa AWUS036NH or Alfa AWUS050NH ?? 

Original comment by Jan.Bani...@gmail.com on 4 Feb 2011 at 4:12

GoogleCodeExporter commented 8 years ago
cowpatty files are databases of precomputed Pairwise Master Keys, .cap or .pcap 
files are packet dumps with the data from the air.

Original comment by lukas.l...@gmail.com on 4 Feb 2011 at 7:50

GoogleCodeExporter commented 8 years ago
for generating a cowpatty file i should use genpmk, for dumping data from air i 
should use airodump-ng, thats right ??

Original comment by Jan.Bani...@gmail.com on 4 Feb 2011 at 8:04

GoogleCodeExporter commented 8 years ago
That is.

Keep in mind that the whole cowpatty functionality is in Pyrit for legacy 
reasons. Cowpatty is still a common tool, although outdated and extremely slow 
compared to Pyrit.

Original comment by lukas.l...@gmail.com on 4 Feb 2011 at 8:25

GoogleCodeExporter commented 8 years ago
i understand im just trying to learn all of pyrit attacks: cowpatty, passtrough 
and batch method. could u explain me when i recive handshake file ?? (with 
commands)

Original comment by Jan.Bani...@gmail.com on 4 Feb 2011 at 8:59