http403 / pyrit

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

Pyrit crashes (when it does find pass?) #89

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.pyrit -e money -r ../rm.cap attack_batch
2.it tries a while and then it crashes
3.

What is the expected output? What do you see instead?

Expected output is cracked pass. 

What version of the product are you using? On what operating system?

Pyrit 0.2.4 (C) 2008, 2009 Lukas Lueg http://pyrit.googlecode.com
emerge --info
Portage 2.1.7.16 (default/linux/amd64/10.0/desktop, gcc-4.3.3, glibc-2.11-
r1, 2.6.31-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r2-x86_64-Intel-R-_Core-
TM-2_Duo_CPU_T7700_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 04 Jan 2010 01:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4, 3.1.1-r1
dev-python/pycrypto: 2.1.0
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.5, 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/
java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/
apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/
ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch 
protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans 
userfetch"
GENTOO_MIRRORS="http://ftp.fi.muni.cz/pub/linux/gentoo/ ftp://
ftp.fi.muni.cz/pub/linux/gentoo/ http://gentoo.supp.name/ http://
gentoo.mirror.web4u.cz/ ftp://gentoo.mirror.web4u.cz/ ftp://ftp.wh2.tu-
dresden.de/pub/mirrors/gentoo"
LANG="cs_CZ.UTF-8"
LC_ALL="cs_CZ.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="cs en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --
compress --force --whole-file --delete --stats --timeout=180 --exclude=/
distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/iwlwifi /usr/local/portage/
layman/pentoo /usr/local/portage/layman/gnome"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acpi alsa amd64 bash-completion berkdb 
bluetooth branding bzip2 cairo cdb cdparanoia cdr cli consolekit cracklib 
crypt cups cxx dbus dri dts dvd dvdr dvdread emboss emerald encode esd evo 
fam ffmpeg flac gcrypt gdbm gif glitz gnome gphoto2 gpm gstreamer gtk gtk2 
hal iconv jpeg jpeg2k laptop libnotify mad mikmod mmx mmxext mng modules 
mp2 mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ntpl ntplonly 
nvidia objc objc++ objc-gc ogg openal opengl openmp pam pcre pdf perl png 
ppds pppd python quicktime readline reflection rtc samba scsi sdl session 
sharedmem slang spell spl srt sse sse2 ssl ssse3 startup-notification svg 
sysfs tcpd theora threads thunar tiff truetype unicode usb vdpau vorbis 
wifi wireshark x264 xanim xcb xinerama xml xorg xulrunner xv xvid zlib" 
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 
emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m 
maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug 
file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi 
null plug rate route share shm softvol" APACHE2_MODULES="actions alias 
auth_basic authn_alias authn_anon authn_dbm authn_default authn_file 
authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user 
autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires 
ext_filter file_cache filter headers include info log_config logio 
mem_cache mime mime_magic negotiation rewrite setenvif speling status 
unique_id userdir usertrack vhost_alias" ELIBC="glibc" 
INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" 
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb 
ncurses text" LINGUAS="cs en" RUBY_TARGETS="ruby18" USERLAND="GNU" 
VIDEO_CARDS="nvidia vesa" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, 
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Please provide any additional information below.
pyrit -e money -r ../rm.cap attack_batch
WARNING: IPv6 support disabled in Python. Cannot load scapy IPv6 layers.
Pyrit 0.2.4 (C) 2008, 2009 Lukas Lueg http://pyrit.googlecode.com
This code is distributed under the GNU General Public License v3

Parsing file '../rm.cap' (1/1)...
16238 packets (16238 802.11-packets), 1 APs

Picked Access-Point 00:0d:08:08:72:db automatically...
Attacking handshake with Station 00:15:af:62:03:f5...
Exception in thread CUDA-Device #1 'Quadro NVS 130M':..
Traceback (most recent call last):
  File "/usr/lib64/python2.6/threading.py", line 525, in __bootstrap_inner
    self.run()
  File "/usr/lib64/python2.6/site-packages/cpyrit/cpyrit.py", line 78, in 
run
    res = self.solve(essid, pwlist)
SystemError: CUDA_ERROR_LAUNCH_TIMEOUT

Traceback (most recent call last):
  File "/usr/bin/pyrit", line 6, in <module>
    pyrit_cli.Pyrit_CLI().initFromArgv()
  File "/usr/lib64/python2.6/site-packages/pyrit_cli.py", line 115, in 
initFromArgv
    }.setdefault(commands[0] if len(commands) > 0 else 'help', 
self.print_help)()
  File "/usr/lib64/python2.6/site-packages/pyrit_cli.py", line 170, in 
new_f
    f(*args, **kwds)
  File "/usr/lib64/python2.6/site-packages/pyrit_cli.py", line 159, in 
new_f
    f(*args, **kwds)
  File "/usr/lib64/python2.6/site-packages/pyrit_cli.py", line 531, in 
attack_batch
    for idx, results in enumerate(dbiterator):
  File "/usr/lib64/python2.6/site-packages/cpyrit/util.py", line 122, in 
next
    self.cp.enqueue(self.essid, passwords)
  File "/usr/lib64/python2.6/site-packages/cpyrit/cpyrit.py", line 303, in 
enqueue
    self._check_cores()
  File "/usr/lib64/python2.6/site-packages/cpyrit/cpyrit.py", line 246, in 
_check_cores
    raise SystemError, "The core '%s' has died unexpectedly." % core
SystemError: The core 'CUDA-Device #1 'Quadro NVS 130M'' has died 
unexpectedly.

Original issue reported on code.google.com by bi...@seznam.cz on 5 Jan 2010 at 12:33

GoogleCodeExporter commented 9 years ago
This is actually not a bug in Pyrit. The 'Quadro NVS 130M' is simply not fast 
enough
for compute the default buffer size before the driver's timeout-killswitch 
interrupts
the call.

You can try modifying the class CUDACore in cpyrit/cpyrit.py and change
'self.buffersize = 1024' or even 512 (also modify minBufferSize in that case)

Your GPU will however most certainly be slower than the CPU.

Original comment by lukas.l...@gmail.com on 5 Jan 2010 at 2:19

GoogleCodeExporter commented 9 years ago
Yes you are right, GPU is slower than cpu, so i wanted to ask if it is possible 
to 
use only cpu.

Original comment by bi...@seznam.cz on 6 Jan 2010 at 7:41

GoogleCodeExporter commented 9 years ago
delete /usr/lib*/python2.?/site-packages/cpyrit/_cpyrit_cuda.so

Original comment by lukas.l...@gmail.com on 6 Jan 2010 at 7:53