Open GoogleCodeExporter opened 9 years ago
I've continued to run it and continued to get failures. I have the core dumps
for these and attached the dump for the second error in this list.
****************************************************************************
Pyrit 0.4.0 (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com
This code is distributed under the GNU General Public License v3+
Connecting to storage at 'mysql://localhost/pyrit1'... Segmentation fault
(core dumped)
****************************************************************************
Pyrit 0.4.0 (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com
This code is distributed under the GNU General Public License v3+
Connecting to storage at 'mysql://localhost/pyrit1'... connected.
44700000 lines read (566317.4 lines/s)... Segmentation fault (core dumped)
****************************************************************************
Pyrit 0.4.0 (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com
This code is distributed under the GNU General Public License v3+
Connecting to storage at 'mysql://localhost/pyrit1'... connected.
44700000 lines read (575655.4 lines/s)... Segmentation fault (core dumped)
****************************************************************************
Pyrit 0.4.0 (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com
This code is distributed under the GNU General Public License v3+
Connecting to storage at 'mysql://localhost/pyrit1'... connected.
26800000 lines read (408332.9 lines/s)... Segmentation fault (core dumped)
****************************************************************************
^This last one was importing a different wordlist than the others, note the
different number of lines after which it segfaulted.
Original comment by iAlex.R...@gmail.com
on 14 Feb 2013 at 7:33
Attachments:
I should also mention that I can successfully import the file if I break it up
into small subunits, but the failure only occurs when dealing with a very large
file.
Original comment by iAlex.R...@gmail.com
on 19 Feb 2013 at 6:15
Alright well seeing that this project a ghost town nowadays, I've put together
a hacky sort of way to solve the problem by myself. This script basically
splits a large passwordlist file into a bunch of smaller files and imports them
individually, waiting 15 seconds between each one. This seems to mitigate the
problem.
#!/bin/bash
PREFIX="temporarysplitfile-"
NUMBEROFSPLITS=200
echo "Which file would you like to import?"
read FILENAME
echo "Using file $FILENAME"
echo "Splitting file $FILENAME into $NUMBEROFSPLITS parts with prefix $PREFIX."
split -n $NUMBEROFSPLITS $FILENAME $PREFIX
echo "File successfully split."
for i in $PREFIX*
do
echo "Importing file $i"
pyrit -i $i import_passwords
echo "Waiting 15 seconds"
sleep 15
done
echo "Import complete!"
rm $PREFIX*
echo "Split files removed."
Original comment by iAlex.R...@gmail.com
on 19 Feb 2013 at 9:10
Thanks for sharing script !
Original comment by ccchurch...@gmail.com
on 12 Mar 2013 at 9:57
Great script thanks
Original comment by mar...@hempstock.it
on 30 Jul 2013 at 10:41
have the same issue. All import passwords die with the above mentioned error
once the db file reaches 10KB (exact line changes, obviously, but the output
file size is always 10KB when crashed).
Running 0.4.1-dev (svn r308)
Original comment by wat...@gmail.com
on 25 Jun 2014 at 5:15
Please confirm if this is still a problem.
This is still a problem in the latest 0.5.1 release. I have no problem beta testing for you if you still develop actively for this project.
Hello, thanks for your feedback. I've downloaded the coredumps above and will start tracing the error. Any updates please feel free to post them here, if you have different stack traces/errors that may help too.
I have also gotten an error using the script provided by GoogleCodeExporter, stack dump follows. Pyrit 0.5.1 (C) 2008-2011 Lukas Lueg - 2015 John Mora https://github.com/JPaulMora/Pyrit This code is distributed under the GNU General Public License v3+
Connecting to storage at 'mysql://localhost/mydb'... connected.
38000000 lines read (4515.9 lines/s)... Traceback (most recent call last):
File "/usr/local/bin/pyrit", line 6, in
Also, any clue why importing slows down around "19100000 lines read (0.0 lines/s)... )... " and 28000000 lines also lags.
Here is another one for you, sorry :P It was completed importing and failed during the flush.
Connecting to storage at 'mysql://localhost/mydb'... connected.
50000000 lines read. Flushing buffers....
Traceback (most recent call last):
File "/usr/local/bin/pyrit", line 6, in
thanks! will check on that and keep you posted.
Send me revisions please, I would love to help out, ill keep running the same 200 files through import using the script up there by googlecodeexporter, modified. ^ I will post my upgraded import wordlist script for people to use until the update rolls out. Is there a dev version of pyrit I can swap to?
continue.sh
#!/bin/bash
PREFIX="splitfile-"
for i in $PREFIX*
do
echo "Importing file $i"
pyrit -i $i import_passwords
if [ $? == "0" ]; then
rm $i
else
pyrit -i $i import_passwords
if [ $? == "0" ]; then
rm $i
else
echo "File $i seems to be giving Pyrit some issues. Skipping it for now, not removing. Run again later with this file alone.."
fi
fi
done
echo "Import complete!"
echo "Split files removed if imported."
split.sh
#!/bin/bash
PREFIX="splitfile-"
NUMBEROFSPLITS=200
echo "Which file would you like to import?"
read FILENAME
echo "Using file $FILENAME"
echo "Splitting file $FILENAME into $NUMBEROFSPLITS parts with prefix $PREFIX."
split -n $NUMBEROFSPLITS $FILENAME $PREFIX
echo "File successfully split."
echo "Removing $FILENAME."
rm $FILENAME
for i in $PREFIX*
do
echo "Importing file $i"
pyrit -i $i import_passwords
if [ $? == "0" ]; then
rm $i
else
pyrit -i $i import_passwords
if [ $? == "0" ]; then
rm $i
else
echo "File $i seems to be giving Pyrit some issues. Skipping it for now, not removing. Run again later with this file alone.."
fi
fi
done
echo "Import complete!"
echo "Split files removed if imported."
Another trace
Pyrit 0.5.1 (C) 2008-2011 Lukas Lueg - 2015 John Mora https://github.com/JPaulMora/Pyrit This code is distributed under the GNU General Public License v3+
Connecting to storage at 'mysql://localhost/mydb'... connected.
18800000 lines read (91829.6 lines/s)... Traceback (most recent call last):
File "/usr/local/bin/pyrit", line 6, in numElems
AS passwords_numElems
, passwords.collection_buffer AS passwords_collection_buffer \nFROM passwords \nWHERE passwords.h1 = %s'] [parameters: ('76',)]
Original issue reported on code.google.com by
iAlex.R...@gmail.com
on 13 Feb 2013 at 5:00