On 07/26/2011 05:36 AM, Gianluca Brindisi wrote:
> Hi all!
> I still have errors while trying to crack retrieved hashes :(
> 
<--snip-->
>   File "/usr/local/lib/python2.6/multiprocessing/synchronize.py", line
> 33, in <module>
>     " function, see issue 3770.")
> ImportError: This platform lacks a functioning sem_open
> implementation, therefore, the required synchronization primitives
> needed will not function, see issue 3770.

Out of curiosity, what OS are you using?

>From what info I can dig up, this is a Python bug that only seems to
affect Solaris, AIX, openBSD and FreeBSD < 7.2.

The attached patch should fix it, unfortunately by disabling
multiprocessing on those platforms. Is there any other sync mechanism
available in some other multiprocessing library? Do enough people use
those OSs to make it worth it?
-- 
 | Steven Pinkham, Security Consultant    |
 | http://www.mavensecurity.com           |
 | GPG public key ID CD31CAFB             |
Index: lib/utils/hash.py
===================================================================
--- lib/utils/hash.py	(revision 4298)
+++ lib/utils/hash.py	(working copy)
@@ -15,12 +15,13 @@
 _multiprocessing = None
 try:
     import multiprocessing
-    _multiprocessing = multiprocessing
 
     # problems on FreeBSD (Reference: http://www.velocityreviews.com/forums/t716510-freebsd-and-multiprocessing.html)
     import multiprocessing.synchronize
 except ImportError, _:
     pass
+else:
+    _multiprocessing = multiprocessing
 
 import os
 import re
------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________
sqlmap-users mailing list
sqlmap-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlmap-users

Reply via email to